summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/evdev.c3
1 files changed, 3 insertions, 0 deletions
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;