summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorcbbrowne2016-10-13 13:05:33 -0400
committercbbrowne2016-10-13 13:05:33 -0400
commitf74c560be853a5d6c563c73096c0d12fbfb31b6a (patch)
tree4bd39b67a0900934d60fce4991d30dd43f4d986b /readme.md
parent99ca59baf8d508f3221df5dd89158241925aca14 (diff)
parent0a9ad8f335f5b5b9d184d9e5e9ece6cda149df7e (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index f20ab41b1..80f0a3ab2 100644
--- a/readme.md
+++ b/readme.md
@@ -379,6 +379,8 @@ Instead of using `FNx` when defining `ACTION_*` functions, you can use `F(x)` -
`TG(layer)` - toggles a layer on or off. As with `MO()`, you should set this key as `KC_TRNS` in the destination layer so that tapping it again actually toggles back to the original layer. Only works upwards in the layer stack.
+`TO(layer)` - Goes to a layer. This code is special, because it lets you go either up or down the stack -- just goes directly to the layer you want. So while other codes only let you go _up_ the stack (from layer 0 to layer 3, for example), `TO(2)` is going to get you to layer 2, no matter where you activate it from -- even if you're currently on layer 5. This gets activated on keydown (as soon as the key is pressed).
+
### Fun with modifier keys