From ad5bdcb50f511b1cd3bd0118d2b1f4fe58c4ab72 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 7 Mar 2008 20:29:58 -0500 Subject: Ignore button events above BTN_TASK for now. --- src/evdev.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/evdev.c b/src/evdev.c index e21cea3..2a53ded 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -183,6 +183,9 @@ EvdevReadInput(InputInfoPtr pInfo) break; default: + if (ev.code > BTN_TASK && ev.code < KEY_OK) + break; + PostKbdEvent(pInfo, &ev, value); } break; -- cgit v1.2.3