]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Docs] Reword confusing description of `TO(layer)` (#6174)
authorlf <software@lfcode.ca>
Mon, 24 Jun 2019 07:23:27 +0000 (01:23 -0600)
committerDrashna Jaelre <drashna@live.com>
Mon, 24 Jun 2019 07:23:27 +0000 (00:23 -0700)
* Reword confusing description of `TO(layer)`

* Update docs/keycodes.md

Co-Authored-By: Drashna Jaelre <drashna@live.com>
docs/keycodes.md

index 3ff87856e488d302d7ddb4a6a6de2cf1f5370d31..bd4dd61a5b437ab8f938ae0f41153457d23e7501 100644 (file)
@@ -298,7 +298,7 @@ This is a reference only. Each group of keys links to the page documenting their
 |`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                                                      |
+|`TO(layer)`     |Turns on `layer` and turns off all other layers, except the default layer |
 |`TT(layer)`     |Normally acts like MO unless it's tapped multiple times, which toggles `layer` on |
 
 ## [Mouse Keys](feature_mouse_keys.md)