mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
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:
parent
670cc0f511
commit
060626e9c7
2 changed files with 16 additions and 16 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue