add scroll button option

This commit introduces a scroll_button option, which is intended to be
used with scroll_method. Now user can edit his sway config and add an
scroll_button option to device section.
This commit is contained in:
Robert Kubosz 2018-07-11 22:03:06 +02:00
parent 588abbb128
commit 41b80c28df
No known key found for this signature in database
GPG key ID: 781954F8F9DF3043
7 changed files with 45 additions and 0 deletions

View file

@ -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;

View file

@ -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;