hwdb: add MOUSE_WHEEL_TILT_VERTICAL/HORIZONTAL to the mouse db (#5023)
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 5 Jan 2017 09:31:51 +0000 (19:31 +1000)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Jan 2017 09:31:51 +0000 (10:31 +0100)
commit1a4132ae1dc5c7ac6eaee9b4964fd669cff9541a
tree3a39367a0acd2c9604cf5084d95e34984a2f70bf
parent6a47fd894d601f7e8e88dec4cb35dfb7d7c15eff
hwdb: add MOUSE_WHEEL_TILT_VERTICAL/HORIZONTAL to the mouse db (#5023)

Plenty of single scroll-wheel mice have the ability to tilt the wheel to
generate horizontal wheel events. They use the same evdev axis as a real
horizontal wheel (REL_HWHEEL) and are indistinguishable to userspace from the
real thing. libinput promises physical degrees for wheel events but that's not
accurate for those tilting wheels, hence mark them as tilting wheels so we can
treat them like the special snowflakes they think they are.
hwdb/70-mouse.hwdb
hwdb/parse_hwdb.py