From: notaz Date: Fri, 31 Jul 2009 22:02:05 +0000 (+0000) Subject: in_evdev: try to avoid touchscreens X-Git-Tag: v1.85~326 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1faa779b0630b22a89a9ba9481c33d7ddc5e8c2;p=picodrive.git in_evdev: try to avoid touchscreens git-svn-id: file:///home/notaz/opt/svn/PicoDrive@722 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/platform/linux/in_evdev.c b/platform/linux/in_evdev.c index 74f81c76..80038e42 100644 --- a/platform/linux/in_evdev.c +++ b/platform/linux/in_evdev.c @@ -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++; }