diff options
Diffstat (limited to 'extra/man/alacritty.5.scd')
-rw-r--r-- | extra/man/alacritty.5.scd | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd index 78884e32..f0124dbe 100644 --- a/extra/man/alacritty.5.scd +++ b/extra/man/alacritty.5.scd @@ -656,11 +656,14 @@ This section documents the *[keyboard]* table of the configuration file. *key* <string> - Identifier of the binding's key, for example: _"A"_, _"F1"_, or - _"Key0"_. - - A full list with available key codes can be found here:++ -https://docs.rs/winit/\*/winit/event/enum.VirtualKeyCode.html#variants + The regular keys like _"A"_, _"0"_, and _"Я"_ can be mapped directly + without any special syntax. Full list of named keys like _"F1"_ and the + syntax for dead keys can be found here:++ +https://docs.rs/winit/\*/winit/keyboard/enum.Key.html + + Numpad keys are prefixed by _Numpad_: "NumpadEnter" | "NumpadAdd" | + "NumpadComma" | "NumpadDivide" | "NumpadEquals" | "NumpadSubtract" | + "NumpadMultiply" | "Numpad[0-9]". The _key_ field also supports using scancodes, which are specified as a decimal number. |