summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-06 08:28:46 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-06 08:28:46 -0500
commit338a0399f8d7c0ebe9cbb989945d8fd646d8d407 (patch)
tree27c33336ef4ac608b28378e55b6a7fdeb225aa27 /include
parentMerge pull request #1498 from emersion/config (diff)
downloadsway-338a0399f8d7c0ebe9cbb989945d8fd646d8d407.tar.gz
sway-338a0399f8d7c0ebe9cbb989945d8fd646d8d407.tar.zst
sway-338a0399f8d7c0ebe9cbb989945d8fd646d8d407.zip
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 @@
1#ifndef _SWAY_INPUT_H
2#define _SWAY_INPUT_H
3#include <libinput.h>
4#include "sway/server.h"
5#include "config.h"
6#include "list.h"
7
8struct sway_input {
9 list_t *input_devices;
10};
11
12struct input_config *new_input_config(const char* identifier);
13
14char* libinput_dev_unique_id(struct libinput_device *dev);
15
16struct sway_input *sway_input_create(struct sway_server *server);
17
18#endif