aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-06 08:28:46 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-06 08:28:46 -0500
commit338a0399f8d7c0ebe9cbb989945d8fd646d8d407 (patch)
tree27c33336ef4ac608b28378e55b6a7fdeb225aa27 /include
parent3fe64482bb269a3dcceeaf1107b9d59dc60eb8d0 (diff)
input skeleton
Diffstat (limited to 'include')
-rw-r--r--include/sway/input.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/sway/input.h b/include/sway/input.h
new file mode 100644
index 00000000..21ed61c5
--- /dev/null
+++ b/include/sway/input.h
@@ -0,0 +1,18 @@
+#ifndef _SWAY_INPUT_H
+#define _SWAY_INPUT_H
+#include <libinput.h>
+#include "sway/server.h"
+#include "config.h"
+#include "list.h"
+
+struct sway_input {
+ list_t *input_devices;
+};
+
+struct input_config *new_input_config(const char* identifier);
+
+char* libinput_dev_unique_id(struct libinput_device *dev);
+
+struct sway_input *sway_input_create(struct sway_server *server);
+
+#endif