summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-cp2112.c
diff options
context:
space:
mode:
authorJamie Lentin <jm@lentin.co.uk>2015-08-11 23:40:52 +0200
committerJiri Kosina <jkosina@suse.cz>2015-08-12 14:32:31 +0200
commit3cb5ff0220e31bd1043bb18fd5765c9f86928491 (patch)
tree70369e3713cd7b5f2235e16c605566e6a083a91e /drivers/hid/hid-cp2112.c
parentHID: lenovo: Add missing return-value check (diff)
downloadlinux-3cb5ff0220e31bd1043bb18fd5765c9f86928491.tar.xz
linux-3cb5ff0220e31bd1043bb18fd5765c9f86928491.zip
HID: lenovo: Hide middle-button press until release
Don't relay a middle button press to userspace until release, and then only if there was no scroll events inbetween. This is closer to what Xorg's wheel emulation does, and avoids spurious middle-click pastes. Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-cp2112.c')
0 files changed, 0 insertions, 0 deletions