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