input: subscribe to tablet tool events from cursor

Contrary to the raw tablet events, the cursor events transform
the coordinates based on a mapped output orientation.
Otherwise those events are the same.
This commit is contained in:
Jens Peters 2024-08-08 17:46:20 +02:00 committed by Johan Malm
parent 670cc0f511
commit 060626e9c7
2 changed files with 16 additions and 16 deletions

View file

@ -23,10 +23,10 @@ struct drawing_tablet {
double slider;
double wheel_delta;
struct {
struct wl_listener proximity;
struct wl_listener axis;
struct wl_listener tip;
struct wl_listener button;
struct wl_listener tablet_tool_proximity;
struct wl_listener tablet_tool_axis;
struct wl_listener tablet_tool_tip;
struct wl_listener tablet_tool_button;
struct wl_listener destroy;
} handlers;
struct wl_list link; /* seat.tablets */