aboutsummaryrefslogtreecommitdiff
path: root/docs/keycodes.md
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-11-23 10:09:34 +0000
committerGitHub <[email protected]>2024-11-23 10:09:34 +0000
commit4a5bae51cd1f2cbca0ab8c8ae6e15262f8dc5a68 (patch)
tree6dedf92beaa32ddd33476aec43c856f6a37901ed /docs/keycodes.md
parent9e9b4acbde48acbe51fb9ff198be5dce49608ee9 (diff)
downloadqmk_firmware-4a5bae51cd1f2cbca0ab8c8ae6e15262f8dc5a68.tar.gz
qmk_firmware-4a5bae51cd1f2cbca0ab8c8ae6e15262f8dc5a68.zip
[Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#24630)
* [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#21881) * Apply suggestions from code review Co-authored-by: Nick Brassel <[email protected]> --------- Co-authored-by: Nebuleon <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'docs/keycodes.md')
-rw-r--r--docs/keycodes.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/keycodes.md b/docs/keycodes.md
index cae6418266..cf170721c8 100644
--- a/docs/keycodes.md
+++ b/docs/keycodes.md
@@ -401,7 +401,8 @@ See also: [Layer Switching](feature_layers#switching-and-toggling-layers)
|Key |Description |
|----------------|----------------------------------------------------------------------------------|
-|`DF(layer)` |Set the base (default) layer |
+|`DF(layer)` |Set the base (default) layer until the keyboard loses power |
+|`PDF(layer)` |Set the base (default) layer in EEPROM |
|`MO(layer)` |Momentarily turn on `layer` when pressed (requires `KC_TRNS` on destination layer)|
|`OSL(layer)` |Momentarily activates `layer` until a key is pressed. See [One Shot Keys](one_shot_keys) for details. |
|`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)`|