aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorMichał Winiarski <knr@hardline.pl>2016-10-25 22:03:58 +0200
committerMichał Winiarski <knr@hardline.pl>2016-10-25 22:06:23 +0200
commite8d8abfbb50a8992a0aa1a8c1e7fa99b8aae8248 (patch)
tree6becd3422c2705199ae5e639020f32a9b9f334c9 /include/sway/config.h
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 <knr@hardline.pl>
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h1
1 files changed, 1 insertions, 0 deletions
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;