aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_cursor.h5
-rw-r--r--include/wlr/types/wlr_tablet_tool.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h
index 4ba7b25f..35c2ff8e 100644
--- a/include/wlr/types/wlr_cursor.h
+++ b/include/wlr/types/wlr_cursor.h
@@ -25,6 +25,11 @@ struct wlr_cursor {
struct wl_signal touch_down;
struct wl_signal touch_motion;
struct wl_signal touch_cancel;
+
+ struct wl_signal tablet_tool_axis;
+ struct wl_signal tablet_tool_proximity;
+ struct wl_signal tablet_tool_tip;
+ struct wl_signal tablet_tool_button;
} events;
};
diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h
index dcb9c191..98fd82c0 100644
--- a/include/wlr/types/wlr_tablet_tool.h
+++ b/include/wlr/types/wlr_tablet_tool.h
@@ -32,6 +32,7 @@ enum wlr_tablet_tool_axes {
};
struct wlr_event_tablet_tool_axis {
+ struct wlr_input_device *device;
uint32_t time_sec;
uint64_t time_usec;
uint32_t updated_axes;
@@ -51,6 +52,7 @@ enum wlr_tablet_tool_proximity_state {
};
struct wlr_event_tablet_tool_proximity {
+ struct wlr_input_device *device;
uint32_t time_sec;
uint64_t time_usec;
double x, y;
@@ -64,6 +66,7 @@ enum wlr_tablet_tool_tip_state {
};
struct wlr_event_tablet_tool_tip {
+ struct wlr_input_device *device;
uint32_t time_sec;
uint64_t time_usec;
double x, y;
@@ -72,6 +75,7 @@ struct wlr_event_tablet_tool_tip {
};
struct wlr_event_tablet_tool_button {
+ struct wlr_input_device *device;
uint32_t time_sec;
uint64_t time_usec;
uint32_t button;