Filter kernel key-repeat events
These events can cause problems on some devices, like combination
touch/keyboard devices. In the device we have (Logitech TK820), we get
repeated BTN events that are really just supposed to indicate the
finger count, but end up sending events into the gesture recognizer
without new finger positions, triggering bugs.
Additionally, these events are unneeded, because X does key repeat for
Since these events have no benefit and cause issues, filter them.
TEST=TK820 keyboard touchpad doesn't exhibit jittery behavior. Also,
key repeat still works.
Reviewed-by: Dennis Kempin <firstname.lastname@example.org>
Commit-Queue: Andrew de los Reyes <email@example.com>
Tested-by: Andrew de los Reyes <firstname.lastname@example.org>
2 files changed