lkml.org 
[lkml]   [2015]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] HID: lenovo: Improve wheel emulation
Date
A collection of unrelated patches to improve support for the Thinkpad
compact keyboards. The first 2 are just cleanup patches.

The final patch alters the behaviour of the middle button so userspace
either gets wheel events or a button click, not both. This stops
browsers opening a link in a new tab as well as scrolling, for example.

This means you can no longer long-middle-click, but I don't think this
is likely to upset users as much as the current behaviour.

Tested against 4.1.2 with both Bluetooth and USB compact keyboards.

Cheers,

Jamie Lentin (3):
HID: lenovo: Use constants for axes names
HID: lenovo: Add missing return-value check
HID: lenovo: Hide middle-button press until release

drivers/hid/hid-lenovo.c | 59 +++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 56 insertions(+), 3 deletions(-)

--
2.1.4



\
 
 \ /
  Last update: 2015-08-12 00:41    [W:0.042 / U:3.840 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site