Layer Keys¶
The layers of a space cadet driver can be manipulated using these keys:
| Key | Description |
TG(layer) |
Toggle a layer. |
MO(layer) |
Momentarily enable a layer until the key is released. |
AL(layer) |
Activate a layer. |
LT(layer,key,hold_duration_ms) |
Enable a layer when held; emit a key when tapped. |
OSL(layer) |
Temporarily enable a layer until the next key is pressed + released. |
MACRO(...)- A macro key is a collection of keys that are pressed and released in order when the physical key is released.
TG(LAYER)- Toggle whether a
LAYERis turned on or off. MO(LAYER)- Enable a
LAYERwhen the key is pressed, then disable theLAYERwhen the key is released. AL(LAYER):- Activate a
LAYER. OSL(LAYER):- Enable a
LAYERwhen pressed. The layer is disabled after another key is pressed and released. QMK calls this a “one-shot-layer” - it allows you to perform temporary layer switching without having to hold down a key. LT(LAYER,KEY,HOLD_DURATION_MS):- Emit a
KEYwhen tapped (i.e. pressed and released quickly). Enable aLAYERwhen held for more thanHOLD_DURATION_MS. The layer is disabled when the held key is released.