summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorMichał Winiarski <[email protected]>2016-10-25 22:03:58 +0200
committerMichał Winiarski <[email protected]>2016-10-25 22:06:23 +0200
commite8d8abfbb50a8992a0aa1a8c1e7fa99b8aae8248 (patch)
tree6becd3422c2705199ae5e639020f32a9b9f334c9 /sway/commands.c
parent47fd53812b7cf14734be96484e4e3719f196437f (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/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 2b91c43e..3236ff6c 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -265,6 +265,7 @@ static struct cmd_handler input_handlers[] = {
{ "drag_lock", input_cmd_drag_lock },
{ "dwt", input_cmd_dwt },
{ "events", input_cmd_events },
+ { "left_handed", input_cmd_left_handed },
{ "middle_emulation", input_cmd_middle_emulation },
{ "natural_scroll", input_cmd_natural_scroll },
{ "pointer_accel", input_cmd_pointer_accel },