aboutsummaryrefslogtreecommitdiff
path: root/hid_linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hid_linux.c')
-rw-r--r--hid_linux.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/hid_linux.c b/hid_linux.c
index 94a400b..7f9261e 100644
--- a/hid_linux.c
+++ b/hid_linux.c
@@ -1,15 +1,13 @@
#ifdef __linux__
+
#include <linux/input.h>
+#include <sys/ioctl.h>
#define DEBUG(x)
//#define DEBUG(x) x
-
-
-
-
/*------------------------------------------------------------------------------
* from evtest.c from the ff-utils package
*/
@@ -23,5 +21,11 @@
+/* The application reading the device is supposed to queue all events up to */
+/* the SYN_REPORT event, and then process them, so that a mouse pointer */
+/* will move diagonally instead of following the sides of a rectangle, */
+/* which would be very annoying. */
+
#endif /* #ifdef __linux__ */
+