mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 04:08:03 +02:00
tools: print the wheel axis delta, not the axis value
The axis value for a rel wheel is always 0 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c7533b753d
commit
0c6f505ae6
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ print_tablet_axes(struct libinput_event_tablet_tool *t)
|
|||
}
|
||||
|
||||
if (libinput_tablet_tool_has_axis(tool, LIBINPUT_TABLET_TOOL_AXIS_REL_WHEEL)) {
|
||||
wheel = libinput_event_tablet_tool_get_axis_value(t,
|
||||
wheel = libinput_event_tablet_tool_get_axis_delta(t,
|
||||
LIBINPUT_TABLET_TOOL_AXIS_REL_WHEEL);
|
||||
delta = libinput_event_tablet_tool_get_axis_delta_discrete(t,
|
||||
LIBINPUT_TABLET_TOOL_AXIS_REL_WHEEL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue