mirror of
https://github.com/labwc/labwc.git
synced 2026-03-07 04:33:54 -05:00
docs: update supported keybind and mousebind modifiers
This commit is contained in:
parent
3e2baa3f05
commit
d00f76e562
1 changed files with 18 additions and 7 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue