diff options
author | Drew DeVault <[email protected]> | 2017-10-22 11:38:30 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2017-11-11 09:09:17 -0500 |
commit | 0f45fad18cf56910aa339c7c6ad1a661e96cfb0d (patch) | |
tree | 1ecf1d65177844ec0dc9ed3e1a8b55382e648be0 /include/sway/input.h | |
parent | 7414d9232751d378ff2840b7fb45e711b7f69477 (diff) |
Establish sway input submodule
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 @@ #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); -/** - * Global input device list. - */ -extern list_t *input_devices; +struct sway_input *sway_input_create(struct sway_server *server); /** * Pointer used when reading input blocked. |