diff options
author | Adam Jackson <ajax@redhat.com> | 2008-03-07 20:29:58 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-03-07 20:29:58 -0500 |
commit | ad5bdcb50f511b1cd3bd0118d2b1f4fe58c4ab72 (patch) | |
tree | d592a2d260d127e6f530e663bb4ee0bded685876 | |
parent | bb36ca65c64d1d863f8fa4e6f058a384fbc80eb0 (diff) |
Ignore button events above BTN_TASK for now.
-rw-r--r-- | src/evdev.c | 3 |
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; |