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
parent c9b4da2ce2
commit fbf47ddd29
No known key found for this signature in database

View file

@ -431,8 +431,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;