docs: update supported keybind and mousebind modifiers

This commit is contained in:
Consolatis 2023-10-09 07:11:34 +02:00 committed by Johan Malm
parent 3e2baa3f05
commit d00f76e562

View file

@ -278,10 +278,20 @@ this is for compatibility with Openbox.
*<keyboard><keybind key="" layoutDependent="">* *<keyboard><keybind key="" layoutDependent="">*
Define a *key* binding in the format *modifier-key*, where supported Define a *key* binding in the format *modifier-key*, where supported
modifiers include S (shift); C (control); A (alt); W (super). Unlike modifiers are:
Openbox, multiple space-separated key combinations and key-chains are - S (shift)
not supported. The application "wev" (wayland event viewer) is packaged - C (control)
in a lot of distributions and can be used to view all available - A or Mod1 (alt)
- H or Mod3 (hyper)
- W or Mod4 (super / logo)
- M or Mod5 (meta)
Multiple modifiers can be combined like *A-S-f* for Alt-Shift-f.
The key itself can be any unicode character or a keyname like *Return*.
Unlike Openbox, multiple space-separated key combinations and key-chains
are not supported. The application "wev" (wayland event viewer) is
packaged in a lot of distributions and can be used to view all available
keynames. keynames.
*layoutDependent* [yes|no] *layoutDependent* [yes|no]
@ -365,15 +375,16 @@ this is for compatibility with Openbox.
- Middle - Middle
- Right - Right
Mouse buttons can be combined with modifier-keys (shift, super, control and alt), for example:
<mousebind button="A-Right" action="Press">
Supported scroll *directions* are: Supported scroll *directions* are:
- Up - Up
- Down - Down
- Left - Left
- Right - Right
Mouse buttons and directions can be combined with modifier-keys (shift (S),
super/logo (W), control (C), alt (A), meta (M) and hyper (H)), for example:
<mousebind button="A-Right" action="Press">
Supported mouse *actions* include: Supported mouse *actions* include:
- Press: Pressing the specified button down in the context. - Press: Pressing the specified button down in the context.
- Release: Releasing the specified button in the context. - Release: Releasing the specified button in the context.