mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-05 12:10:28 +01:00
tablet: move the axis transforms to the end
No functional changes, part of the grouping of tablet axis manipulation vs. processing of that manipulated state. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pingc@wacom.com>
This commit is contained in:
parent
f8aa49b619
commit
1e113f6283
1 changed files with 3 additions and 3 deletions
|
|
@ -423,9 +423,6 @@ tablet_handle_xy(struct tablet_dispatch *tablet,
|
|||
}
|
||||
point.y = tablet->axes.point.y;
|
||||
|
||||
evdev_transform_absolute(device, &point);
|
||||
evdev_transform_relative(device, &delta);
|
||||
|
||||
*delta_out = delta;
|
||||
*point_out = point;
|
||||
}
|
||||
|
|
@ -619,6 +616,9 @@ tablet_check_notify_axes(struct tablet_dispatch *tablet,
|
|||
|
||||
axes.wheel = tablet_handle_wheel(tablet, device, &axes.wheel_discrete);
|
||||
|
||||
evdev_transform_absolute(device, &axes.point);
|
||||
evdev_transform_relative(device, &delta);
|
||||
|
||||
axes.delta = tool_process_delta(tool, device, &delta, time);
|
||||
|
||||
*axes_out = axes;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue