summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-input.c
diff options
context:
space:
mode:
authorJamie Lentin2014-12-16 22:26:46 +0100
committerJiri Kosina2014-12-17 09:00:16 +0100
commit94eefa27132358434735060c6bbdf61c669bb0ab (patch)
tree00f6a4d763d52223c19a992d1b9c8a4c150ba7a7 /drivers/hid/hid-input.c
parentHID: lenovo: Add sensitivity control to compact keyboards (diff)
downloadkernel-qcow2-linux-94eefa27132358434735060c6bbdf61c669bb0ab.tar.gz
kernel-qcow2-linux-94eefa27132358434735060c6bbdf61c669bb0ab.tar.xz
kernel-qcow2-linux-94eefa27132358434735060c6bbdf61c669bb0ab.zip
HID: lenovo: Use native middle-button mode for compact keyboards
By default the middle button is in a compatibility mode, and generates standard wheel events when dragging with the middle trackpoint button. Unfortunately this is buggy: * The middle button comes up before starting wheel events, causing a middle click on whatever the mouse cursor was sitting on * The USB keyboard always generates the "native" horizontal wheel event, regardless of mode. Instead, enable the "native" mode the Windows driver uses, and add support for the custom events this generates. This fixes the USB keyboard wheel events, and the middle-click up event comes after the wheel events. Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-input.c')
0 files changed, 0 insertions, 0 deletions