(feature) Add &to keycode/behavior (#489)

feat(behaviors): Add `&to` behavior to switch to a layer.
This commit is contained in:
KemoNine
2020-12-29 11:57:49 -05:00
committed by GitHub
parent 43f6d798be
commit d207c3c30f
12 changed files with 183 additions and 10 deletions

View File

@@ -57,6 +57,21 @@ Example:
&lt LOWER SPACE
```
## To Layer
The "to layer" behavior enables a layer and disables _all_ other layers _except_ the default layer.
### Behavior Binding
- Reference: `&to`
- Parameter: The layer number to enable, e.g. `1`
Example:
```
&to 3
```
## Toggle Layer
The "toggle layer" behavior enables a layer until the layer is manually disabled.