summaryrefslogtreecommitdiff
path: root/include/sway/input.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-09-01 08:18:37 -0400
committerDrew DeVault <[email protected]>2016-09-01 08:18:37 -0400
commit416417a54c5875abcdc257b6ad10ff086c35eefc (patch)
tree00f20884a05d05e620a4a24bba8595557cd41405 /include/sway/input.h
parent729fdf7d9186ceba0f84b87edfd473642964227f (diff)
Reorganize includes
Diffstat (limited to 'include/sway/input.h')
-rw-r--r--include/sway/input.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/sway/input.h b/include/sway/input.h
new file mode 100644
index 00000000..4ed9bffe
--- /dev/null
+++ b/include/sway/input.h
@@ -0,0 +1,23 @@
+#ifndef _SWAY_INPUT_H
+#define _SWAY_INPUT_H
+
+#include <libinput.h>
+#include "config.h"
+#include "list.h"
+
+struct input_config *new_input_config(const char* identifier);
+
+char* libinput_dev_unique_id(struct libinput_device *dev);
+
+/**
+ * Global input device list.
+ */
+extern list_t *input_devices;
+
+/**
+ * Pointer used when reading input blocked.
+ * Shared so that it can be cleared from commands.c when closing the block
+ */
+extern struct input_config *current_input_config;
+
+#endif