mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
input: track tablets and tablet-pads at seat
This commit is contained in:
parent
ca317506c0
commit
61e5e0e4d9
6 changed files with 10 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ struct drawing_tablet_pad {
|
|||
struct wl_listener button;
|
||||
struct wl_listener destroy;
|
||||
} handlers;
|
||||
struct wl_list link; /* seat.tablet_pads */
|
||||
};
|
||||
|
||||
void tablet_pad_init(struct seat *seat, struct wlr_input_device *wlr_input_device);
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ struct drawing_tablet {
|
|||
struct wl_listener button;
|
||||
struct wl_listener destroy;
|
||||
} handlers;
|
||||
struct wl_list link; /* seat.tablets */
|
||||
};
|
||||
|
||||
void tablet_init(struct seat *seat, struct wlr_input_device *wlr_input_device);
|
||||
|
|
|
|||
|
|
@ -193,7 +193,9 @@ struct seat {
|
|||
struct wl_listener touch_motion;
|
||||
struct wl_listener touch_frame;
|
||||
|
||||
struct wl_list tablets;
|
||||
struct wl_list tablet_tools;
|
||||
struct wl_list tablet_pads;
|
||||
|
||||
struct wl_listener constraint_commit;
|
||||
struct wl_listener pressed_surface_destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue