mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-30 15:05:50 +00:00
0cb7133e0d
* Update feature_advanced_keycodes.md * Update mod_tap.md
2.7 KiB
2.7 KiB
Modifier Keys :id=modifier-keys
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.
Key | Aliases | Description |
---|---|---|
LCTL(kc) |
C(kc) |
Hold Left Control and press kc |
LSFT(kc) |
S(kc) |
Hold Left Shift and press kc |
LALT(kc) |
A(kc) , LOPT(kc) |
Hold Left Alt and press kc |
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 |
|
RALT(kc) |
ROPT(kc) , ALGR(kc) |
Hold Right Alt and press kc |
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 |
|
LSA(kc) |
Hold Left Shift and Left Alt and press kc |
|
RSA(kc) |
SAGR(kc) |
Hold Right Shift and Right Alt (AltGr) and press kc |
RCS(kc) |
Hold Right Control and Right Shift 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 |
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.
Legacy Content :id=legacy-content
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.