diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2021-06-22 10:41:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 12:41:57 +1000 |
commit | 92dd1b977b160ebb876604e12a64a703dcf6b447 (patch) | |
tree | e64370ae4fe18e6c3c56588d3470ceab7b8f1b55 /docs/feature_advanced_keycodes.md | |
parent | d7f352de98409803d3840ccead8cd4c67e848b0d (diff) | |
download | qmk_firmware-92dd1b977b160ebb876604e12a64a703dcf6b447.tar.gz qmk_firmware-92dd1b977b160ebb876604e12a64a703dcf6b447.zip |
Additional documentation for GUI mod combo (#13266)
Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'docs/feature_advanced_keycodes.md')
-rw-r--r-- | docs/feature_advanced_keycodes.md | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/docs/feature_advanced_keycodes.md b/docs/feature_advanced_keycodes.md index 75b7fef89..36b81a4e8 100644 --- a/docs/feature_advanced_keycodes.md +++ b/docs/feature_advanced_keycodes.md | |||
@@ -2,24 +2,27 @@ | |||
2 | 2 | ||
3 | These allow you to combine a modifier with a keycode. When pressed, the keydown event for the modifier, then `kc` will be sent. On release, the keyup event for `kc`, then the modifier will be sent. | 3 | These allow you to combine a modifier with a keycode. When pressed, the keydown event for the modifier, then `kc` will be sent. On release, the keyup event for `kc`, then the modifier will be sent. |
4 | 4 | ||
5 | |Key |Aliases |Description | | 5 | |Key |Aliases |Description | |
6 | |----------|-------------------------------|------------------------------------------------------| | 6 | |----------|----------------------------------|------------------------------------------------------| |
7 | |`LCTL(kc)`|`C(kc)` |Hold Left Control and press `kc` | | 7 | |`LCTL(kc)`|`C(kc)` |Hold Left Control and press `kc` | |
8 | |`LSFT(kc)`|`S(kc)` |Hold Left Shift and press `kc` | | 8 | |`LSFT(kc)`|`S(kc)` |Hold Left Shift and press `kc` | |
9 | |`LALT(kc)`|`A(kc)`, `LOPT(kc)` |Hold Left Alt and press `kc` | | 9 | |`LALT(kc)`|`A(kc)`, `LOPT(kc)` |Hold Left Alt and press `kc` | |
10 | |`LGUI(kc)`|`G(kc)`, `LCMD(kc)`, `LWIN(kc)`|Hold Left GUI and press `kc` | | 10 | |`LGUI(kc)`|`G(kc)`, `LCMD(kc)`, `LWIN(kc)` |Hold Left GUI and press `kc` | |
11 | |`RCTL(kc)`| |Hold Right Control and press `kc` | | 11 | |`RCTL(kc)`| |Hold Right Control and press `kc` | |
12 | |`RSFT(kc)`| |Hold Right Shift and press `kc` | | 12 | |`RSFT(kc)`| |Hold Right Shift and press `kc` | |
13 | |`RALT(kc)`|`ROPT(kc)`, `ALGR(kc)` |Hold Right Alt and press `kc` | | 13 | |`RALT(kc)`|`ROPT(kc)`, `ALGR(kc)` |Hold Right Alt and press `kc` | |
14 | |`RGUI(kc)`|`RCMD(kc)`, `LWIN(kc)` |Hold Right GUI and press `kc` | | 14 | |`RGUI(kc)`|`RCMD(kc)`, `LWIN(kc)` |Hold Right GUI and press `kc` | |
15 | |`SGUI(kc)`|`SCMD(kc)`, `SWIN(kc)` |Hold Left Shift and GUI and press `kc` | | 15 | |`LSG(kc)` |`SGUI(kc)`, `SCMD(kc)`, `SWIN(kc)`|Hold Left Shift and GUI and press `kc` | |
16 | |`LCA(kc)` | |Hold Left Control and Alt and press `kc` | | 16 | |`LAG(kc)` | |Hold Left Alt and Left GUI and press `kc` | |
17 | |`LSA(kc)` | |Hold Left Shift and Left Alt and press `kc` | | 17 | |`RSG(kc)` | |Hold Right Shift and Right GUI and press `kc` | |
18 | |`RSA(kc)` |`SAGR(kc)` |Hold Right Shift and Right Alt (AltGr) and press `kc` | | 18 | |`RAG(kc)` | |Hold Right Alt and Right GUI and press `kc` | |
19 | |`RCS(kc)` | |Hold Right Control and Right Shift and press `kc` | | 19 | |`LCA(kc)` | |Hold Left Control and Alt and press `kc` | |
20 | |`LCAG(kc)`| |Hold Left Control, Alt and GUI and press `kc` | | 20 | |`LSA(kc)` | |Hold Left Shift and Left Alt and press `kc` | |
21 | |`MEH(kc)` | |Hold Left Control, Shift and Alt and press `kc` | | 21 | |`RSA(kc)` |`SAGR(kc)` |Hold Right Shift and Right Alt (AltGr) and press `kc` | |
22 | |`HYPR(kc)`| |Hold Left Control, Shift, Alt and GUI and press `kc` | | 22 | |`RCS(kc)` | |Hold Right Control and Right Shift and press `kc` | |
23 | |`LCAG(kc)`| |Hold Left Control, Alt and GUI and press `kc` | | ||
24 | |`MEH(kc)` | |Hold Left Control, Shift and Alt and press `kc` | | ||
25 | |`HYPR(kc)`| |Hold Left Control, Shift, Alt and GUI and press `kc` | | ||
23 | 26 | ||
24 | You can also chain them, for example `LCTL(LALT(KC_DEL))` or `C(A(KC_DEL))` makes a key that sends Control+Alt+Delete with a single keypress. | 27 | You can also chain them, for example `LCTL(LALT(KC_DEL))` or `C(A(KC_DEL))` makes a key that sends Control+Alt+Delete with a single keypress. |
25 | 28 | ||