aboutsummaryrefslogtreecommitdiff
path: root/examples/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/config.h')
-rw-r--r--examples/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/config.h b/examples/config.h
index 93cf08c8..e26531c2 100644
--- a/examples/config.h
+++ b/examples/config.h
@@ -5,6 +5,8 @@
#endif
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_input_device.h>
+#include <wlr/types/wlr_cursor.h>
+#include "shared.h"
struct output_config {
char *name;
@@ -49,4 +51,10 @@ struct output_config *example_config_get_output(struct example_config *config,
struct device_config *example_config_get_device(struct example_config *config,
struct wlr_input_device *device);
+/**
+ * Configure cursor device mappings.
+ */
+void example_config_configure_cursor(struct example_config *config,
+ struct wlr_cursor *cursor, struct compositor_state *state);
+
#endif