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 --- sway/input.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/input.c') 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; } -- cgit v1.2.3-54-g00ecf