commit | 5dddd411d6d8587267529d0478c5dc68e9521047 | [log] [tgz] |
---|---|---|
author | Peter Hutterer <peter.hutterer@who-t.net> | Thu Jan 15 13:14:43 2015 +1000 |
committer | Jonas Ådahl <jadahl@gmail.com> | Thu Jan 15 14:41:56 2015 +0800 |
tree | ff30e5973628b9bc83d541e62487fd28aca34233 | |
parent | c54f23d8df4e758f097d127df4d44d7a00059cef [diff] |
libinput-device: use the discrete axis value for wheel events libinput < 0.8 sent wheel click events with value 10. Since 0.8 the value is the angle of the click in degrees but it now provides the click count as separate value. To keep backwards-compat with existing clients, we just send multiples of the click count. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>