diff options
author | 2016-01-19 10:08:44 -0500 | |
---|---|---|
committer | 2016-01-19 10:08:44 -0500 | |
commit | b72a62b02b601d98ca89919f42e7ddec4e8ab2b2 (patch) | |
tree | 6b7412f626f5d9f10dba8920a2543dfd3c5a662e /include/input.h | |
parent | Add ffmpeg/imagemagick to depenency list (diff) | |
parent | libinput (diff) | |
download | sway-b72a62b02b601d98ca89919f42e7ddec4e8ab2b2.tar.gz sway-b72a62b02b601d98ca89919f42e7ddec4e8ab2b2.tar.zst sway-b72a62b02b601d98ca89919f42e7ddec4e8ab2b2.zip |
Merge pull request #448 from colemickens/libinput
libinput configuration
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h new file mode 100644 index 00000000..4ed9bffe --- /dev/null +++ b/include/input.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef _SWAY_INPUT_H | ||
2 | #define _SWAY_INPUT_H | ||
3 | |||
4 | #include <libinput.h> | ||
5 | #include "config.h" | ||
6 | #include "list.h" | ||
7 | |||
8 | struct input_config *new_input_config(const char* identifier); | ||
9 | |||
10 | char* libinput_dev_unique_id(struct libinput_device *dev); | ||
11 | |||
12 | /** | ||
13 | * Global input device list. | ||
14 | */ | ||
15 | extern list_t *input_devices; | ||
16 | |||
17 | /** | ||
18 | * Pointer used when reading input blocked. | ||
19 | * Shared so that it can be cleared from commands.c when closing the block | ||
20 | */ | ||
21 | extern struct input_config *current_input_config; | ||
22 | |||
23 | #endif | ||