aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd9
1 files changed, 5 insertions, 4 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index c54babaa..7d1a7169 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -108,10 +108,11 @@ The following commands may only be used in the configuration file.
*input* <identifier> repeat\_rate <characters per second>
Sets the frequency of key repeats once the repeat\_delay has passed.
-*input* <identifier> scroll\_button <button\_identifier>
- Sets button used for scroll\_method on\_button\_down. The button identifier
- can be obtained from `libinput debug-events`.
- If set to 0, it disables the scroll\_button on\_button\_down.
+*input* <identifier> scroll\_button disable|button[1-3,8,9]|<event-code-or-name>
+ Sets the button used for scroll\_method on\_button\_down. The button can
+ be given as an event name or code, which can be obtained from `libinput
+ debug-events`, or as a x11 mouse button (button[1-3,8,9]). If set to
+ _disable_, it disables the scroll\_method on\_button\_down.
*input* <identifier> scroll\_factor <floating point value>
Changes the scroll factor for the specified input device. Scroll speed will