diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-07-18 01:06:25 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-07-23 20:45:46 +0300 |
commit | 1a16262903dce09a60f94698afa96c1b2c91c264 (patch) | |
tree | 5232ce26dccf8008bcc2cb0cda95dcde382e1c39 /include/sway/input/libinput.h | |
parent | ipc: add an input event (diff) | |
download | sway-1a16262903dce09a60f94698afa96c1b2c91c264.tar.gz sway-1a16262903dce09a60f94698afa96c1b2c91c264.tar.zst sway-1a16262903dce09a60f94698afa96c1b2c91c264.zip |
ipc: add input::libinput_config event
This adds a libinput_config change type to the input event for when
the libinput config for a device changes
In order for this to be possible to track, the libinput config code
had to be refactored. It is now extracted into a separate file to
isolate it from the rest of the input management code.
Diffstat (limited to 'include/sway/input/libinput.h')
-rw-r--r-- | include/sway/input/libinput.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/input/libinput.h b/include/sway/input/libinput.h new file mode 100644 index 00000000..de019976 --- /dev/null +++ b/include/sway/input/libinput.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #ifndef _SWAY_INPUT_LIBINPUT_H | ||
2 | #define _SWAY_INPUT_LIBINPUT_H | ||
3 | #include "sway/input/input-manager.h" | ||
4 | |||
5 | void sway_input_configure_libinput_device(struct sway_input_device *device); | ||
6 | |||
7 | void sway_input_reset_libinput_device(struct sway_input_device *device); | ||
8 | |||
9 | #endif | ||