input: fix tablet tool tilt motion

Tilt axis are not relative.
This commit is contained in:
Jens Peters 2026-04-04 07:14:37 +02:00 committed by Consolatis
parent 541cb1b15a
commit 6351e832ea

View file

@ -402,8 +402,6 @@ handle_tablet_tool_axis(struct wl_listener *listener, void *data)
*/
tool->dx = 0;
tool->dy = 0;
tool->tilt_x = 0;
tool->tilt_y = 0;
if (ev->updated_axes & WLR_TABLET_TOOL_AXIS_X) {
tool->x = ev->x;