diff options
Diffstat (limited to 'include/sway/input.h')
-rw-r--r-- | include/sway/input.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/sway/input.h b/include/sway/input.h index 4ed9bffe..eb92e470 100644 --- a/include/sway/input.h +++ b/include/sway/input.h | |||
@@ -1,18 +1,19 @@ | |||
1 | #ifndef _SWAY_INPUT_H | 1 | #ifndef _SWAY_INPUT_H |
2 | #define _SWAY_INPUT_H | 2 | #define _SWAY_INPUT_H |
3 | |||
4 | #include <libinput.h> | 3 | #include <libinput.h> |
4 | #include "sway/server.h" | ||
5 | #include "config.h" | 5 | #include "config.h" |
6 | #include "list.h" | 6 | #include "list.h" |
7 | 7 | ||
8 | struct sway_input { | ||
9 | list_t *input_devices; | ||
10 | }; | ||
11 | |||
8 | struct input_config *new_input_config(const char* identifier); | 12 | struct input_config *new_input_config(const char* identifier); |
9 | 13 | ||
10 | char* libinput_dev_unique_id(struct libinput_device *dev); | 14 | char* libinput_dev_unique_id(struct libinput_device *dev); |
11 | 15 | ||
12 | /** | 16 | struct sway_input *sway_input_create(struct sway_server *server); |
13 | * Global input device list. | ||
14 | */ | ||
15 | extern list_t *input_devices; | ||
16 | 17 | ||
17 | /** | 18 | /** |
18 | * Pointer used when reading input blocked. | 19 | * Pointer used when reading input blocked. |