aboutsummaryrefslogtreecommitdiff
path: root/hid_linux.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-10-23 03:40:39 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-10-23 03:40:39 +0000
commita31c391dc384912d8eb511feb62a12aae0ce7005 (patch)
tree8323dbe6985690233d2642aea4682d573bdb9e6f /hid_linux.c
parent9554c20806f8da1482790543f2ec5a3c91b363d0 (diff)
got everything running under GNU/Linux again, time to switch back to MacOS X
svn path=/trunk/externals/hcs/hid/; revision=2144
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__ */
+