summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-17 00:47:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-17 00:47:55 +0200
commitb2dcd14ef0a12803c82b7aaf374d3f88098ad4e8 (patch)
treea30a5d96243d69e03ef402e2861d08d455a4946c
parent46029fe376e358a6a3ab021cfd8252945460d84a (diff)
Take a peek on how uglyDwarf doesIt
-rw-r--r--ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
index 80b075d6..60922967 100644
--- a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
+++ b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
@@ -46,9 +46,10 @@ FTNoIR_Protocol::FTNoIR_Protocol() : dev(NULL), uidev(NULL)
CHECK_LIBEVDEV(libevdev_enable_event_code(dev, EV_ABS, ABS_RZ, &absinfo));
- /* do not remove next 2 lines or udev scripts won't assign 0664 permissions -sh */
+ /* do not remove next 3 lines or udev scripts won't assign 0664 permissions -sh */
CHECK_LIBEVDEV(libevdev_enable_event_type(dev, EV_KEY));
CHECK_LIBEVDEV(libevdev_enable_event_code(dev, EV_KEY, BTN_JOYSTICK, NULL));
+ CHECK_LIBEVDEV(libevdev_enable_event_code(dev, EV_KEY, BTN_TRIGGER, NULL));
CHECK_LIBEVDEV(libevdev_uinput_create_from_device(dev, LIBEVDEV_UINPUT_OPEN_MANAGED, &uidev));