aboutsummaryrefslogtreecommitdiff
path: root/docs/keycodes.md
diff options
context:
space:
mode:
authornopunin10did <w.alex.ronke@gmail.com>2020-08-17 05:08:15 -0400
committerGitHub <noreply@github.com>2020-08-17 02:08:15 -0700
commitb4ae7badd46cb468cb8bef9be99dcf73f4a1e642 (patch)
treed989114571825a5c40f5e161bff58941d6ac7c0c /docs/keycodes.md
parent2ddcd810201903836404724d27b8d5a628930a22 (diff)
downloadqmk_firmware-b4ae7badd46cb468cb8bef9be99dcf73f4a1e642.tar.gz
qmk_firmware-b4ae7badd46cb468cb8bef9be99dcf73f4a1e642.zip
Issue 9942: Add LSA, RSA, RCS, LSA_T, RSA_T, and RCS_T (#9943)
* Issue 9942: Add Quantum defines Add codes to quantum_keycodes for LSA, RSA, RCS, and their corresponding _T macros * 9942: Add documentation for new defines Add documentation for new defines in feature request 9942. Also define SAGR and SAGR_T as aliases for RSA and RSA_T. * Update quantum/quantum_keycodes.h * Update docs/keycodes.md * Update docs/keycodes.md * Update docs/keycodes.md * Update docs/keycodes.md
Diffstat (limited to 'docs/keycodes.md')
-rw-r--r--docs/keycodes.md74
1 files changed, 40 insertions, 34 deletions
diff --git a/docs/keycodes.md b/docs/keycodes.md
index 5fbc8f4fa..c6403c80b 100644
--- a/docs/keycodes.md
+++ b/docs/keycodes.md
@@ -381,45 +381,51 @@ See also: [Mouse Keys](feature_mouse_keys.md)
381 381
382See also: [Modifier Keys](feature_advanced_keycodes.md#modifier-keys) 382See also: [Modifier Keys](feature_advanced_keycodes.md#modifier-keys)
383 383
384|Key |Aliases |Description | 384|Key |Aliases |Description |
385|----------|-------------------------------|----------------------------------------------------| 385|----------|-------------------------------|------------------------------------------------------|
386|`LCTL(kc)`|`C(kc)` |Hold Left Control and press `kc` | 386|`LCTL(kc)`|`C(kc)` |Hold Left Control and press `kc` |
387|`LSFT(kc)`|`S(kc)` |Hold Left Shift and press `kc` | 387|`LSFT(kc)`|`S(kc)` |Hold Left Shift and press `kc` |
388|`LALT(kc)`|`A(kc)`, `LOPT(kc)` |Hold Left Alt and press `kc` | 388|`LALT(kc)`|`A(kc)`, `LOPT(kc)` |Hold Left Alt and press `kc` |
389|`LGUI(kc)`|`G(kc)`, `LCMD(kc)`, `LWIN(kc)`|Hold Left GUI and press `kc` | 389|`LGUI(kc)`|`G(kc)`, `LCMD(kc)`, `LWIN(kc)`|Hold Left GUI and press `kc` |
390|`RCTL(kc)`| |Hold Right Control and press `kc` | 390|`RCTL(kc)`| |Hold Right Control and press `kc` |
391|`RSFT(kc)`| |Hold Right Shift and press `kc` | 391|`RSFT(kc)`| |Hold Right Shift and press `kc` |
392|`RALT(kc)`|`ROPT(kc)`, `ALGR(kc)` |Hold Right Alt and press `kc` | 392|`RALT(kc)`|`ROPT(kc)`, `ALGR(kc)` |Hold Right Alt (AltGr) and press `kc` |
393|`RGUI(kc)`|`RCMD(kc)`, `LWIN(kc)` |Hold Right GUI and press `kc` | 393|`RGUI(kc)`|`RCMD(kc)`, `LWIN(kc)` |Hold Right GUI and press `kc` |
394|`SGUI(kc)`|`SCMD(kc)`, `SWIN(kc)` |Hold Left Shift and GUI and press `kc` | 394|`SGUI(kc)`|`SCMD(kc)`, `SWIN(kc)` |Hold Left Shift and GUI and press `kc` |
395|`LCA(kc)` | |Hold Left Control and Alt and press `kc` | 395|`LCA(kc)` | |Hold Left Control and Alt and press `kc` |
396|`LCAG(kc)`| |Hold Left Control, Alt and GUI and press `kc` | 396|`LSA(kc)` | |Hold Left Shift and Left Alt and press `kc` |
397|`MEH(kc)` | |Hold Left Control, Shift and Alt and press `kc` | 397|`RSA(kc)` |`SAGR(kc)` |Hold Right Shift and Right Alt (AltGr) and press `kc` |
398|`HYPR(kc)`| |Hold Left Control, Shift, Alt and GUI and press `kc`| 398|`RCS(kc)` | |Hold Right Control and Right Shift and press `kc` |
399|`KC_MEH` | |Left Control, Shift and Alt | 399|`LCAG(kc)`| |Hold Left Control, Alt and GUI and press `kc` |
400|`KC_HYPR` | |Left Control, Shift, Alt and GUI | 400|`MEH(kc)` | |Hold Left Control, Shift and Alt and press `kc` |
401|`HYPR(kc)`| |Hold Left Control, Shift, Alt and GUI and press `kc` |
402|`KC_MEH` | |Left Control, Shift and Alt |
403|`KC_HYPR` | |Left Control, Shift, Alt and GUI |
401 404
402## Mod-Tap Keys :id=mod-tap-keys 405## Mod-Tap Keys :id=mod-tap-keys
403 406
404See also: [Mod-Tap](mod_tap.md) 407See also: [Mod-Tap](mod_tap.md)
405 408
406|Key |Aliases |Description | 409|Key |Aliases |Description |
407|-------------|-----------------------------------------------------------------|-------------------------------------------------------| 410|-------------|-----------------------------------------------------------------|--------------------------------------------------------------|
408|`MT(mod, kc)`| |`mod` when held, `kc` when tapped | 411|`MT(mod, kc)`| |`mod` when held, `kc` when tapped |
409|`LCTL_T(kc)` |`CTL_T(kc)` |Left Control when held, `kc` when tapped | 412|`LCTL_T(kc)` |`CTL_T(kc)` |Left Control when held, `kc` when tapped |
410|`LSFT_T(kc)` |`SFT_T(kc)` |Left Shift when held, `kc` when tapped | 413|`LSFT_T(kc)` |`SFT_T(kc)` |Left Shift when held, `kc` when tapped |
411|`LALT_T(kc)` |`LOPT_T(kc)`, `ALT_T(kc)`, `OPT_T(kc)` |Left Alt when held, `kc` when tapped | 414|`LALT_T(kc)` |`LOPT_T(kc)`, `ALT_T(kc)`, `OPT_T(kc)` |Left Alt when held, `kc` when tapped |
412|`LGUI_T(kc)` |`LCMD_T(kc)`, `LWIN_T(kc)`, `GUI_T(kc)`, `CMD_T(kc)`, `WIN_T(kc)`|Left GUI when held, `kc` when tapped | 415|`LGUI_T(kc)` |`LCMD_T(kc)`, `LWIN_T(kc)`, `GUI_T(kc)`, `CMD_T(kc)`, `WIN_T(kc)`|Left GUI when held, `kc` when tapped |
413|`RCTL_T(kc)` | |Right Control when held, `kc` when tapped | 416|`RCTL_T(kc)` | |Right Control when held, `kc` when tapped |
414|`RSFT_T(kc)` | |Right Shift when held, `kc` when tapped | 417|`RSFT_T(kc)` | |Right Shift when held, `kc` when tapped |
415|`RALT_T(kc)` |`ROPT_T(kc)`, `ALGR_T(kc)` |Right Alt when held, `kc` when tapped | 418|`RALT_T(kc)` |`ROPT_T(kc)`, `ALGR_T(kc)` |Right Alt (AltGr) when held, `kc` when tapped |
416|`RGUI_T(kc)` |`RCMD_T(kc)`, `RWIN_T(kc)` |Right GUI when held, `kc` when tapped | 419|`RGUI_T(kc)` |`RCMD_T(kc)`, `RWIN_T(kc)` |Right GUI when held, `kc` when tapped |
417|`SGUI_T(kc)` |`SCMD_T(kc)`, `SWIN_T(kc)` |Left Shift and GUI when held, `kc` when tapped | 420|`SGUI_T(kc)` |`SCMD_T(kc)`, `SWIN_T(kc)` |Left Shift and GUI when held, `kc` when tapped |
418|`LCA_T(kc)` | |Left Control and Alt when held, `kc` when tapped | 421|`LCA_T(kc)` | |Left Control and Alt when held, `kc` when tapped |
419|`LCAG_T(kc)` | |Left Control, Alt and GUI when held, `kc` when tapped | 422|`LSA_T(kc)` | |Left Shift and Left Alt when held, `kc` when tapped |
420|`RCAG_T(kc)` | |Right Control, Alt and GUI when held, `kc` when tapped | 423|`RSA_T(kc)` |`SAGR_T(kc)` |Right Shift and Right Alt (AltGr) when held, `kc` when tapped |
421|`C_S_T(kc)` | |Left Control and Shift when held, `kc` when tapped | 424|`RCS_T(kc)` | |Right Control and Right Shift when held, `kc` when tapped |
422|`MEH_T(kc)` | |Left Control, Shift and Alt when held, `kc` when tapped| 425|`LCAG_T(kc)` | |Left Control, Alt and GUI when held, `kc` when tapped |
426|`RCAG_T(kc)` | |Right Control, Alt and GUI when held, `kc` when tapped |
427|`C_S_T(kc)` | |Left Control and Shift when held, `kc` when tapped |
428|`MEH_T(kc)` | |Left Control, Shift and Alt when held, `kc` when tapped |
423|`HYPR_T(kc)` |`ALL_T(kc)` |Left Control, Shift, Alt and GUI when held, `kc` when tapped - more info [here](http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/)| 429|`HYPR_T(kc)` |`ALL_T(kc)` |Left Control, Shift, Alt and GUI when held, `kc` when tapped - more info [here](http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/)|
424 430
425## RGB Lighting :id=rgb-lighting 431## RGB Lighting :id=rgb-lighting