diff options
Diffstat (limited to 'include/sway/input/input-manager.h')
-rw-r--r-- | include/sway/input/input-manager.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h new file mode 100644 index 00000000..5dc75ba7 --- /dev/null +++ b/include/sway/input/input-manager.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef _SWAY_INPUT_MANAGER_H | ||
2 | #define _SWAY_INPUT_MANAGER_H | ||
3 | #include <libinput.h> | ||
4 | #include "sway/server.h" | ||
5 | #include "sway/config.h" | ||
6 | #include "list.h" | ||
7 | |||
8 | struct sway_input_manager { | ||
9 | struct wl_listener input_add; | ||
10 | struct wl_listener input_remove; | ||
11 | struct sway_server *server; | ||
12 | list_t *seats; | ||
13 | }; | ||
14 | |||
15 | struct input_config *new_input_config(const char* identifier); | ||
16 | |||
17 | char* libinput_dev_unique_id(struct libinput_device *dev); | ||
18 | |||
19 | struct sway_input_manager *sway_input_manager_create( | ||
20 | struct sway_server *server); | ||
21 | |||
22 | #endif | ||