diff options
author | 2017-12-06 08:28:46 -0500 | |
---|---|---|
committer | 2017-12-06 08:28:46 -0500 | |
commit | 338a0399f8d7c0ebe9cbb989945d8fd646d8d407 (patch) | |
tree | 27c33336ef4ac608b28378e55b6a7fdeb225aa27 /include/sway | |
parent | Merge pull request #1498 from emersion/config (diff) | |
download | sway-338a0399f8d7c0ebe9cbb989945d8fd646d8d407.tar.gz sway-338a0399f8d7c0ebe9cbb989945d8fd646d8d407.tar.zst sway-338a0399f8d7c0ebe9cbb989945d8fd646d8d407.zip |
input skeleton
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/input.h | 18 |
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 | |||
8 | struct sway_input { | ||
9 | list_t *input_devices; | ||
10 | }; | ||
11 | |||
12 | struct input_config *new_input_config(const char* identifier); | ||
13 | |||
14 | char* libinput_dev_unique_id(struct libinput_device *dev); | ||
15 | |||
16 | struct sway_input *sway_input_create(struct sway_server *server); | ||
17 | |||
18 | #endif | ||