aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-13 04:07:11 -0700
committerGitHub <noreply@github.com>2018-07-13 04:07:11 -0700
commitbcdf04d79c28866d971dc968a2497f7d95ec1aae (patch)
tree874386abb337c953b60ee2efe0a799d9dfb010ee /include/sway
parent683a307151764f7cad38ff12c4175e8e0cf94226 (diff)
parentf8bc928b2d3f5166e8d51422c07bc16ca35b0b83 (diff)
downloadsway-bcdf04d79c28866d971dc968a2497f7d95ec1aae.tar.xz
Merge pull request #2252 from rkubosz/scroll-button-option
feature: scroll button option for input devices
Diffstat (limited to 'include/sway')
-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 dda0606a..32d6cefd 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -207,6 +207,7 @@ sway_cmd input_cmd_natural_scroll;
sway_cmd input_cmd_pointer_accel;
sway_cmd input_cmd_repeat_delay;
sway_cmd input_cmd_repeat_rate;
+sway_cmd input_cmd_scroll_button;
sway_cmd input_cmd_scroll_method;
sway_cmd input_cmd_tap;
sway_cmd input_cmd_xkb_layout;
diff --git a/include/sway/config.h b/include/sway/config.h
index 99575274..75acd4f2 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -75,6 +75,7 @@ struct input_config {
float pointer_accel;
int repeat_delay;
int repeat_rate;
+ int scroll_button;
int scroll_method;
int send_events;
int tap;