diff options
author | Michał Winiarski <[email protected]> | 2016-10-25 22:03:58 +0200 |
---|---|---|
committer | Michał Winiarski <[email protected]> | 2016-10-25 22:06:23 +0200 |
commit | e8d8abfbb50a8992a0aa1a8c1e7fa99b8aae8248 (patch) | |
tree | 6becd3422c2705199ae5e639020f32a9b9f334c9 /sway/input.c | |
parent | 47fd53812b7cf14734be96484e4e3719f196437f (diff) |
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 <[email protected]>
Diffstat (limited to 'sway/input.c')
-rw-r--r-- | sway/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input.c b/sway/input.c index ae24cb49..acd69a6b 100644 --- a/sway/input.c +++ b/sway/input.c @@ -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; } |