aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-10-25 16:24:32 -0400
committerGitHub <noreply@github.com>2016-10-25 16:24:32 -0400
commitde074b9347b21ae0cd27afa5dfafac92707cf0d1 (patch)
tree6becd3422c2705199ae5e639020f32a9b9f334c9 /include
parent47fd53812b7cf14734be96484e4e3719f196437f (diff)
parente8d8abfbb50a8992a0aa1a8c1e7fa99b8aae8248 (diff)
Merge pull request #961 from t3hknr/master
Add left_handed support for input devices
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/config.h1
2 files changed, 2 insertions, 0 deletions
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;