doc: footrc: document modifiers in mouse bindings

This commit is contained in:
Daniel Eklöf 2020-08-10 19:41:27 +02:00
parent 704d182c88
commit b783e4c6ea
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -362,9 +362,11 @@ scrollback search mode. The syntax is exactly the same as the regular
This section lets you override the default mouse bindings. This section lets you override the default mouse bindings.
The general format is _action=BTN\_<name>_, where _BTN\_<name>_ is The general format is _action=combo1...comboN_. That is, each action
the name of the event code (e.g. *BTN\_LEFT*, *BTN\_RIGHT*). You can may have one or more key combinations, space separated. Each
find the event names using *libinput debug-events*. combination is on the form _mod1+mod2+BTN\_<name>_. The names of the
modifiers and the key *must* be valid XKB key names. You can find the
button names using *libinput debug-events*.
A button can only be mapped to *one* action. Lets say you want to bind A button can only be mapped to *one* action. Lets say you want to bind
*BTN\_MIDDLE* to *fullscreen*. Since *BTN\_MIDDLE* is the default *BTN\_MIDDLE* to *fullscreen*. Since *BTN\_MIDDLE* is the default