diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-14 05:38:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-14 05:38:05 +0000 |
| commit | d940815f6dce1b1fe75d93783a66fcc00dd22dcc (patch) | |
| tree | ac02bbfe33435c3d923ab5f796dc1ab11b3227eb /doc | |
| parent | Merge branch 'modifiers-in-mouse-bindings' into master (diff) | |
| parent | changelog: click count in mouse bindings (diff) | |
Merge branch 'click-count-in-mouse-bindings' into master
Closes #78
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/footrc.5.scd | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/footrc.5.scd b/doc/footrc.5.scd index 12fb2ded..5f39f72d 100644 --- a/doc/footrc.5.scd +++ b/doc/footrc.5.scd @@ -364,9 +364,18 @@ This section lets you override the default mouse bindings. 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*. +combination is on the form _mod1+mod2+BTN\_<name>_[-COUNT]. The names +of the modifiers and the key *must* be valid XKB key names. You can +find the button names using *libinput debug-events*. + +The trailing *COUNT* is optional and specifies the click count +required to trigger the binding. The default is *COUNT* is omitted is +_1_. + +Example: *primary-paste=Control+BTN_LEFT-2* + +Trigger _primary-paste_ when *ctrl* is pressed, and the left mouse +button is double clicked. 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 |
