This patch makes the usb-xboxir driver ignore the
auto-repeated events produced by the hardware, and it
has a 120ms timer delay to produce the key-release events.
So if you start "xev" and hold down a key on the remote
control it will report exactly one KeyPress event, and
when you release the key, "xev" will report exactly one
KeyRelease event (within 120ms or less). No more keys
that are stuck and/or repeating.
Submitted by Bjorn Danielsson <sf-sub2@dax.nu>
Patch for usb-xboxir.h and usb-xboxir.c