diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-01-09 09:51:40 +1000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-01-17 08:43:13 -0500 |
commit | 9cf4514e0197dc2ab06fb039e39ee3a21fb5cefc (patch) | |
tree | 6cb2bb3816fb7fb3b7f1fda8e3c2b78ad80e5513 /autogen.sh | |
parent | 8f2b1bb6ddcf95815216c89495ffe122aefc77ea (diff) |
hwdb: add MOUSE_WHEEL_CLICK_ANGLE as property
Most mice have a wheel click angle of 15 degrees, i.e. 24 clicks per full
wheel rotation. Some mice, like the Logitech M325 have a larger angle. To
allow userspace to make use of that knowledge, add a property to the hwdb.
This allows for better predictive scrolling. e.g. a mouse that has a smaller
click angle will scroll faster, with this value you can accommodate this
where needed. Likewise, using "half turn of the wheel" or "full turn of the
wheel" as a UI element becomes possible.
This addition is mainly driven by libinput 0.8, having the angle enables
libinput to provide an API that distinguishes between a physical distance
(like touchpad scrolling does) and discrete steps (wheel clicks).
Callers can choose what they prefer based on the device.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions