aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/pointer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston/pointer.h')
-rw-r--r--include/rootston/pointer.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/rootston/pointer.h b/include/rootston/pointer.h
new file mode 100644
index 00000000..b3fc8c3a
--- /dev/null
+++ b/include/rootston/pointer.h
@@ -0,0 +1,16 @@
+#ifndef _ROOTSTON_POINTER_H
+#define _ROOTSTON_POINTER_H
+
+#include <wayland-server.h>
+#include <wlr/types/wlr_input_device.h>
+
+struct roots_pointer {
+ struct roots_input *input;
+ struct wlr_input_device *device;
+ struct wl_list link;
+};
+
+void pointer_add(struct wlr_input_device *device, struct roots_input *input);
+void pointer_remove(struct wlr_input_device *device, struct roots_input *input);
+
+#endif