summaryrefslogtreecommitdiff
path: root/docs/keycodes.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/keycodes.md')
-rw-r--r--docs/keycodes.md43
1 files changed, 35 insertions, 8 deletions
diff --git a/docs/keycodes.md b/docs/keycodes.md
index 5d983e347e..33014a54a5 100644
--- a/docs/keycodes.md
+++ b/docs/keycodes.md
@@ -404,7 +404,6 @@ See also: [Layer Switching](feature_layers#switching-and-toggling-layers)
404|`DF(layer)` |Set the base (default) layer until the keyboard loses power | 404|`DF(layer)` |Set the base (default) layer until the keyboard loses power |
405|`PDF(layer)` |Set the base (default) layer in EEPROM | 405|`PDF(layer)` |Set the base (default) layer in EEPROM |
406|`MO(layer)` |Momentarily turn on `layer` when pressed (requires `KC_TRNS` on destination layer)| 406|`MO(layer)` |Momentarily turn on `layer` when pressed (requires `KC_TRNS` on destination layer)|
407|`OSL(layer)` |Momentarily activates `layer` until a key is pressed. See [One Shot Keys](one_shot_keys) for details. |
408|`LM(layer, mod)`|Momentarily turn on `layer` (like MO) with `mod` active as well. Where `mod` is a mods_bit. Mods can be viewed [here](mod_tap). Example Implementation: `LM(LAYER_1, MOD_LALT)`| 407|`LM(layer, mod)`|Momentarily turn on `layer` (like MO) with `mod` active as well. Where `mod` is a mods_bit. Mods can be viewed [here](mod_tap). Example Implementation: `LM(LAYER_1, MOD_LALT)`|
409|`LT(layer, kc)` |Turn on `layer` when held, `kc` when tapped | 408|`LT(layer, kc)` |Turn on `layer` when held, `kc` when tapped |
410|`TG(layer)` |Toggle `layer` on or off | 409|`TG(layer)` |Toggle `layer` on or off |
@@ -817,13 +816,41 @@ See also: [US ANSI Shifted Symbols](keycodes_us_ansi_shifted)
817 816
818See also: [One Shot Keys](one_shot_keys) 817See also: [One Shot Keys](one_shot_keys)
819 818
820|Key |Aliases |Description | 819|Key |Aliases |Description |
821|--------------------|---------|----------------------------------| 820|--------------------|---------|---------------------------------------------------------------------|
822|`OSM(mod)` | |Hold `mod` for one keypress | 821|`QK_ONE_SHOT_TOGGLE`|`OS_TOGG`|Toggles One Shot keys status |
823|`OSL(layer)` | |Switch to `layer` for one keypress| 822|`QK_ONE_SHOT_ON` |`OS_ON` |Turns One Shot keys on |
824|`QK_ONE_SHOT_TOGGLE`|`OS_TOGG`|Toggles One Shot keys status | 823|`QK_ONE_SHOT_OFF` |`OS_OFF` |Turns One Shot keys off |
825|`QK_ONE_SHOT_ON` |`OS_ON` |Turns One Shot keys on | 824|`OSL(layer)` | |Switch to `layer` for one keypress |
826|`QK_ONE_SHOT_OFF` |`OS_OFF` |Turns One Shot keys off | 825|`OSM(mod)` | |Hold `mod` for one keypress |
826|`OS_LCTL` | |Hold Left Control for one keypress |
827|`OS_LSFT` | |Hold Left Shift for one keypress |
828|`OS_LALT` | |Hold Left Alt for one keypress |
829|`OS_LGUI` | |Hold Left GUI for one keypress |
830|`OS_LCS` | |Hold Left Control and Left Shift for one keypress |
831|`OS_LCA` | |Hold Left Control and left Alt for one keypress |
832|`OS_LCG` | |Hold Left Control and Left GUI for one keypress |
833|`OS_LSA` | |Hold Left Shift and Left Alt for one keypress |
834|`OS_LSG` | |Hold Left Shift and Left GUI for one keypress |
835|`OS_LAG` | |Hold Left Alt and Left GUI for one keypress |
836|`OS_LCSG` | |Hold Left Control, Left Shift and Left GUI for one keypress |
837|`OS_LCAG` | |Hold Left Control, Left Alt and Left GUI for one keypress |
838|`OS_LSAG` | |Hold Left Shift, Left Alt and Left GUI for one keypress |
839|`OS_RCTL` | |Hold Right Control for one keypress |
840|`OS_RSFT` | |Hold Right Shift for one keypress |
841|`OS_RALT` | |Hold Right Alt for one keypress |
842|`OS_RGUI` | |Hold Right GUI for one keypress |
843|`OS_RCS` | |Hold Right Control and Right Shift for one keypress |
844|`OS_RCA` | |Hold Right Control and Right Alt for one keypress |
845|`OS_RCG` | |Hold Right Control and Right GUI for one keypress |
846|`OS_RSA` | |Hold Right Shift and Right Alt for one keypress |
847|`OS_RSG` | |Hold Right Shift and Right GUI for one keypress |
848|`OS_RAG` | |Hold Right Alt and Right GUI for one keypress |
849|`OS_RCSG` | |Hold Right Control, Right Shift and Right GUI for one keypress |
850|`OS_RCAG` | |Hold Right Control, Right Alt and Right GUI for one keypress |
851|`OS_RSAG` | |Hold Right Shift, Right Alt and Right GUI for one keypress |
852|`OS_MEH` | |Hold Left Control, Left Shift and Left Alt for one keypress |
853|`OS_HYPR` | |Hold Left Control, Left Shift, Left Alt and Left GUI for one keypress|
827 854
828## Programmable Button Support {#programmable-button} 855## Programmable Button Support {#programmable-button}
829 856