mirror of
https://github.com/swaywm/sway.git
synced 2026-04-06 07:15:44 -04:00
Add left_handed support for input devices
Some users may want to switch buttons on their input devices, turns out libinput already supports it. Let's add a support for it in our config. Signed-off-by: Michał Winiarski <knr@hardline.pl>
This commit is contained in:
parent
47fd53812b
commit
e8d8abfbb5
8 changed files with 38 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ struct input_config *new_input_config(const char* identifier) {
|
|||
input->accel_profile = INT_MIN;
|
||||
input->pointer_accel = FLT_MIN;
|
||||
input->scroll_method = INT_MIN;
|
||||
input->left_handed = INT_MIN;
|
||||
|
||||
return input;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue