mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
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.
This commit is contained in:
parent
6effca7b61
commit
1a16262903
5 changed files with 400 additions and 432 deletions
9
include/sway/input/libinput.h
Normal file
9
include/sway/input/libinput.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef _SWAY_INPUT_LIBINPUT_H
|
||||
#define _SWAY_INPUT_LIBINPUT_H
|
||||
#include "sway/input/input-manager.h"
|
||||
|
||||
void sway_input_configure_libinput_device(struct sway_input_device *device);
|
||||
|
||||
void sway_input_reset_libinput_device(struct sway_input_device *device);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue