aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-14 05:36:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-14 05:36:34 +0000
commit9b65531d6a7f540b67ad87face1c911bb912a66c (patch)
tree55d0c2580e05831e441622647e105ae40585552c /doc
parentinput: don't crash on mouse motion events on the render timer surface (diff)
parentdoc: footrc: document modifiers in mouse bindings (diff)
Merge branch 'modifiers-in-mouse-bindings' into master
Diffstat (limited to 'doc')
-rw-r--r--doc/footrc.5.scd8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/footrc.5.scd b/doc/footrc.5.scd
index 853b0583..12fb2ded 100644
--- a/doc/footrc.5.scd
+++ b/doc/footrc.5.scd
@@ -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.
-The general format is _action=BTN\_<name>_, where _BTN\_<name>_ is
-the name of the event code (e.g. *BTN\_LEFT*, *BTN\_RIGHT*). You can
-find the event names using *libinput debug-events*.
+The general format is _action=combo1...comboN_. That is, each action
+may have one or more key combinations, space separated. Each
+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
*BTN\_MIDDLE* to *fullscreen*. Since *BTN\_MIDDLE* is the default