summaryrefslogtreecommitdiffstats
path: root/docs/keycodes.md
diff options
context:
space:
mode:
authorDave Brown <davebrown.dev@gmail.com>2019-01-25 15:00:04 -0500
committerDrashna Jaelre <drashna@live.com>2019-01-25 12:00:04 -0800
commitb4ae07cbb1a07517d1490359e73916da4fc618cc (patch)
tree40872deae259ce88466dae8c0107b9b24d6408f8 /docs/keycodes.md
parent8e47f64888b4b9edfcf6038d2dac0ec7d95623c1 (diff)
Adding documentation for the LM layer modifier. (#3617)
* Adding documentation for the LM layer modifier. This will hopefully clear up some of the confusion around adding this layer modifier. I struggled with this a bit as well at first. * Removing duplicate table. * Changed section title to `Changing Layers` * Retain name
Diffstat (limited to 'docs/keycodes.md')
-rw-r--r--docs/keycodes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/keycodes.md b/docs/keycodes.md
index 165c3c4d16..7fd772091f 100644
--- a/docs/keycodes.md
+++ b/docs/keycodes.md
@@ -290,7 +290,7 @@ This is a reference only. Each group of keys links to the page documenting their
|`DF(layer)` |Set the base (default) layer |
|`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](https://docs.qmk.fm/#/feature_advanced_keycodes?id=one-shot-keys) for details. |
-|`LM(layer, mod)`|Momentarily turn on `layer` (like MO) with `mod` active as well.
+|`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](https://docs.qmk.fm/#/feature_advanced_keycodes?id=mod-tap). Example Implementation: `LM(LAYER_1, MOD_LALT)`|
|`LT(layer, kc)` |Turn on `layer` when held, `kc` when tapped |
|`TG(layer)` |Toggle `layer` on or off |
|`TO(layer)` |Turn on `layer` when pressed |