mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-27 20:50:07 +01:00
tablet: copy distance axis for the mouse/lens cursor devices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
parent
123bc4024a
commit
3dc370cf63
1 changed files with 1 additions and 0 deletions
|
|
@ -639,6 +639,7 @@ tool_set_bits_from_libwacom(const struct tablet_dispatch *tablet,
|
|||
break;
|
||||
case WSTYLUS_PUCK:
|
||||
copy_axis_cap(tablet, tool, LIBINPUT_TABLET_AXIS_ROTATION_Z);
|
||||
copy_axis_cap(tablet, tool, LIBINPUT_TABLET_AXIS_DISTANCE);
|
||||
/* lens cursors don't have a wheel */
|
||||
if (!libwacom_stylus_has_lens(s))
|
||||
copy_axis_cap(tablet,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue