2020-02-28 10:53:50 +06:00
# Modifier Keys :id=modifier-keys
2017-08-06 22:36:15 +06:00
2018-08-30 22:37:05 +06:00
These allow you to combine a modifier with a keycode. When pressed, the keydown event for the modifier, then `kc` will be sent. On release, the keyup event for `kc` , then the modifier will be sent.
2019-01-26 03:12:48 +06:00
|Key |Aliases |Description |
|----------|-------------------------------|----------------------------------------------------|
|`LCTL(kc)`|`C(kc)` |Hold Left Control and press `kc` |
|`LSFT(kc)`|`S(kc)` |Hold Left Shift and press `kc` |
2020-04-13 00:37:55 +06:00
|`LALT(kc)`|`A(kc)`, `LOPT(kc)` |Hold Left Alt and press `kc` |
2019-01-26 03:12:48 +06:00
|`LGUI(kc)`|`G(kc)`, `LCMD(kc)` , `LWIN(kc)` |Hold Left GUI and press `kc` |
|`RCTL(kc)`| |Hold Right Control and press `kc` |
|`RSFT(kc)`| |Hold Right Shift and press `kc` |
2020-04-13 00:37:55 +06:00
|`RALT(kc)`|`ROPT(kc)`, `ALGR(kc)` |Hold Right Alt and press `kc` |
2019-01-26 03:12:48 +06:00
|`RGUI(kc)`|`RCMD(kc)`, `LWIN(kc)` |Hold Right GUI and press `kc` |
|`SGUI(kc)`|`SCMD(kc)`, `SWIN(kc)` |Hold Left Shift and GUI and press `kc` |
|`LCA(kc)` | |Hold Left Control and Alt and press `kc` |
|`LCAG(kc)`| |Hold Left Control, Alt and GUI and press `kc` |
|`MEH(kc)` | |Hold Left Control, Shift and Alt and press `kc` |
|`HYPR(kc)`| |Hold Left Control, Shift, Alt and GUI and press `kc` |
2018-08-30 22:37:05 +06:00
2020-04-13 00:37:55 +06:00
You can also chain them, for example `LCTL(LALT(KC_DEL))` or `C(A(KC_DEL))` makes a key that sends Control+Alt+Delete with a single keypress.
2020-03-01 22:57:26 +06:00
2020-03-21 23:17:02 +06:00
# Legacy Content :id=legacy-content
2020-03-01 22:57:26 +06:00
This page used to encompass a large set of features. We have moved many sections that used to be part of this page to their own pages. Everything below this point is simply a redirect so that people following old links on the web find what they're looking for.
2020-03-21 23:17:02 +06:00
## Layers :id=switching-and-toggling-layers
* [Layers ](feature_layers.md )
2020-03-01 22:57:26 +06:00
## Mod-Tap :id=mod-tap
* [Mod-Tap ](mod_tap.md )
## One Shot Keys :id=one-shot-keys
* [One Shot Keys ](one_shot_keys.md )
## Tap-Hold Configuration Options :id=tap-hold-configuration-options
* [Tap-Hold Configuration Options ](tap_hold.md )