]> git.ipfire.org Git - thirdparty/systemd.git/commit - hwdb/70-mouse.hwdb
hwdb: add MOUSE_WHEEL_CLICK_COUNT for non-integer click angles (#4440)
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 21 Oct 2016 10:31:32 +0000 (20:31 +1000)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Oct 2016 10:31:32 +0000 (12:31 +0200)
commit9107a337771a95c4ac7d4b1279f5a9ba73f6c893
tree1ef2ab50c40b14828959082153f0e04369a3b93b
parent0a12bb1eaa097dc83018aa034faef113a91e6014
hwdb: add MOUSE_WHEEL_CLICK_COUNT for non-integer click angles (#4440)

MOUSE_WHEEL_CLICK_ANGLE has been an integer, and at least libinput (probably
the only user) parses it as strict integer. For backwards compatibility, we
cannot change it to a decimal number now.

Add a new property to list the number of clicks for a full 360 degree
rotation, to be specified in addition to the old click angle property. Clients
can prefer the new one where available and calculate the decimal value to
whatever precision they want.
hwdb/70-mouse.hwdb
hwdb/parse_hwdb.py