From d1faa779b0630b22a89a9ba9481c33d7ddc5e8c2 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 31 Jul 2009 22:02:05 +0000 Subject: [PATCH] in_evdev: try to avoid touchscreens git-svn-id: file:///home/notaz/opt/svn/PicoDrive@722 be3aeb3a-fb24-0410-a615-afba39da0efa --- platform/linux/in_evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- 2.39.5