]> git.baikalelectronics.ru Git - kernel.git/commit
HID: lenovo: Don't set EV_REP to avoid repeating mice buttons
authorJamie Lentin <jm@lentin.co.uk>
Sun, 9 Nov 2014 07:54:30 +0000 (07:54 +0000)
committerJiri Kosina <jkosina@suse.cz>
Tue, 11 Nov 2014 10:46:33 +0000 (11:46 +0100)
commitf96e6f88184c34cca93072b33b750fbbe7fd5d39
tree1d486afd1f5e91b6632d321bbdb5d9d2cc038e67
parent5129c69f0ae8481ec664a06f913745c7e59090ac
HID: lenovo: Don't set EV_REP to avoid repeating mice buttons

On the USB keyboard, the VENDOR hotkeys share the same device as the
mouse. Setting EV_REP also affects mouse buttons, so leave it off.

The bluetooth keyboard still has autorepeating mouse buttons, as it
only has one device and is set by the KEYBOARD pages.

Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo.c