diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-13 20:40:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 20:40:00 -0500 |
commit | db1631b67dd463f6516275ac4387712e39f9a384 (patch) | |
tree | 4dfb666777353f2d6bc77ec24d1a1b2b808925e0 /sway/sway-input.5.scd | |
parent | Merge pull request #3402 from RyanDwyer/refactor-seatops (diff) | |
parent | input_cmd_scroll_button: utilize mouse btn helpers (diff) | |
download | sway-db1631b67dd463f6516275ac4387712e39f9a384.tar.gz sway-db1631b67dd463f6516275ac4387712e39f9a384.tar.zst sway-db1631b67dd463f6516275ac4387712e39f9a384.zip |
Merge pull request #3342 from RedSoxFan/scroll-buttons-improved
Improve mouse button parsing: input scroll_button
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r-- | sway/sway-input.5.scd | 9 |
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. | |||
108 | *input* <identifier> repeat\_rate <characters per second> | 108 | *input* <identifier> repeat\_rate <characters per second> |
109 | Sets the frequency of key repeats once the repeat\_delay has passed. | 109 | Sets the frequency of key repeats once the repeat\_delay has passed. |
110 | 110 | ||
111 | *input* <identifier> scroll\_button <button\_identifier> | 111 | *input* <identifier> scroll\_button disable|button[1-3,8,9]|<event-code-or-name> |
112 | Sets button used for scroll\_method on\_button\_down. The button identifier | 112 | Sets the button used for scroll\_method on\_button\_down. The button can |
113 | can be obtained from `libinput debug-events`. | 113 | be given as an event name or code, which can be obtained from `libinput |
114 | If set to 0, it disables the scroll\_button on\_button\_down. | 114 | debug-events`, or as a x11 mouse button (button[1-3,8,9]). If set to |
115 | _disable_, it disables the scroll\_method on\_button\_down. | ||
115 | 116 | ||
116 | *input* <identifier> scroll\_factor <floating point value> | 117 | *input* <identifier> scroll\_factor <floating point value> |
117 | Changes the scroll factor for the specified input device. Scroll speed will | 118 | Changes the scroll factor for the specified input device. Scroll speed will |