From e8d8abfbb50a8992a0aa1a8c1e7fa99b8aae8248 Mon Sep 17 00:00:00 2001 From: Michał Winiarski Date: Tue, 25 Oct 2016 22:03:58 +0200 Subject: Add left_handed support for input devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/sway/commands.h | 1 + include/sway/config.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/sway/commands.h b/include/sway/commands.h index fe67c58c..a46f41a3 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -173,6 +173,7 @@ sway_cmd input_cmd_click_method; sway_cmd input_cmd_drag_lock; sway_cmd input_cmd_dwt; sway_cmd input_cmd_events; +sway_cmd input_cmd_left_handed; sway_cmd input_cmd_middle_emulation; sway_cmd input_cmd_natural_scroll; sway_cmd input_cmd_pointer_accel; diff --git a/include/sway/config.h b/include/sway/config.h index b29fe6c5..a14b7e48 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -60,6 +60,7 @@ struct input_config { int click_method; int drag_lock; int dwt; + int left_handed; int middle_emulation; int natural_scroll; float pointer_accel; -- cgit v1.2.3