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)
commitc87d92b30208826a656d3cd63e6c96c56cf516a4
tree1d486afd1f5e91b6632d321bbdb5d9d2cc038e67
parent5556eb14b4cbf5dce840194ab591027322cbdb1f
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