in_evdev: try to avoid touchscreens
authornotaz <notasas@gmail.com>
Fri, 31 Jul 2009 22:02:05 +0000 (22:02 +0000)
committernotaz <notasas@gmail.com>
Fri, 31 Jul 2009 22:02:05 +0000 (22:02 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@722 be3aeb3a-fb24-0410-a615-afba39da0efa

platform/linux/in_evdev.c

index 74f81c7..80038e4 100644 (file)
@@ -158,7 +158,7 @@ static void in_evdev_probe(void)
 
                /* check for interesting keys */
                for (u = 0; u < KEY_CNT; u++) {
-                       if (KEYBITS_BIT(u) && u != KEY_POWER && u != KEY_SLEEP)
+                       if (KEYBITS_BIT(u) && u != KEY_POWER && u != KEY_SLEEP && u != BTN_TOUCH)
                                count++;
                }