diff options
Diffstat (limited to 'include/sway/input/tablet.h')
-rw-r--r-- | include/sway/input/tablet.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/input/tablet.h b/include/sway/input/tablet.h index f30e232a..d7e4c242 100644 --- a/include/sway/input/tablet.h +++ b/include/sway/input/tablet.h | |||
@@ -11,11 +11,17 @@ struct sway_tablet { | |||
11 | struct wlr_tablet_v2_tablet *tablet_v2; | 11 | struct wlr_tablet_v2_tablet *tablet_v2; |
12 | }; | 12 | }; |
13 | 13 | ||
14 | enum sway_tablet_tool_mode { | ||
15 | SWAY_TABLET_TOOL_MODE_ABSOLUTE, | ||
16 | SWAY_TABLET_TOOL_MODE_RELATIVE, | ||
17 | }; | ||
18 | |||
14 | struct sway_tablet_tool { | 19 | struct sway_tablet_tool { |
15 | struct sway_seat *seat; | 20 | struct sway_seat *seat; |
16 | struct sway_tablet *tablet; | 21 | struct sway_tablet *tablet; |
17 | struct wlr_tablet_v2_tablet_tool *tablet_v2_tool; | 22 | struct wlr_tablet_v2_tablet_tool *tablet_v2_tool; |
18 | 23 | ||
24 | enum sway_tablet_tool_mode mode; | ||
19 | double tilt_x, tilt_y; | 25 | double tilt_x, tilt_y; |
20 | 26 | ||
21 | struct wl_listener set_cursor; | 27 | struct wl_listener set_cursor; |