diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-10-21 20:31:32 +1000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-10-21 12:31:32 +0200 |
commit | 9107a337771a95c4ac7d4b1279f5a9ba73f6c893 (patch) | |
tree | 1ef2ab50c40b14828959082153f0e04369a3b93b /src/libudev/libudev-device-private.c | |
parent | 0a12bb1eaa097dc83018aa034faef113a91e6014 (diff) |
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.
Diffstat (limited to 'src/libudev/libudev-device-private.c')
0 files changed, 0 insertions, 0 deletions