mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Only reconfigure input mappings on output change
Fully reconfiguring all input devices on output change takes a loooong time. Let's just reconfigure what we need: only mappings depend on outputs.
This commit is contained in:
parent
caa92ddee8
commit
7036769bea
6 changed files with 38 additions and 5 deletions
|
|
@ -47,6 +47,8 @@ void input_manager_apply_input_config(struct input_config *input_config);
|
|||
|
||||
void input_manager_configure_all_inputs(void);
|
||||
|
||||
void input_manager_configure_all_input_mappings(void);
|
||||
|
||||
void input_manager_reset_input(struct sway_input_device *input_device);
|
||||
|
||||
void input_manager_reset_all_inputs(void);
|
||||
|
|
|
|||
|
|
@ -168,6 +168,9 @@ void seat_add_device(struct sway_seat *seat,
|
|||
void seat_configure_device(struct sway_seat *seat,
|
||||
struct sway_input_device *device);
|
||||
|
||||
void seat_configure_device_mapping(struct sway_seat *seat,
|
||||
struct sway_input_device *input_device);
|
||||
|
||||
void seat_reset_device(struct sway_seat *seat,
|
||||
struct sway_input_device *input_device);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue