Merge pull request #5 from Maartenwut/patch-1

Mention that TT needs 5 taps by default.
This commit is contained in:
Jack Humbert 2017-05-27 11:03:34 -04:00 committed by GitHub
commit e229dcadb5
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ Instead of using `FNx` when defining `ACTION_*` functions, you can use `F(x)` -
`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).
`TT(layer)` - Layer Tap-Toggle. If you hold the key down, the layer becomes active, and then deactivates when you let go. And if you tap it, the layer simply becomes active (toggles on).
`TT(layer)` - Layer Tap-Toggle. If you hold the key down, the layer becomes active, and then deactivates when you let go. And if you tap it, the layer simply becomes active (toggles on). It needs 5 taps by default, but you can set it by defining `TAPPING_TOGGLE`, for example, `#define TAPPING_TOGGLE 1` for just one tap.
### Fun with modifier keys