diff options
author | Lukas Stiebig <lukstie@hotmail.de> | 2017-03-08 20:41:35 +0100 |
---|---|---|
committer | Lukas Stiebig <lukstie@hotmail.de> | 2017-03-08 20:41:35 +0100 |
commit | 2aa079d93e31403debd467fb4eed98fb98cced0f (patch) | |
tree | 68193e8a961573cdba5b2c1b6a377ead3938254d /quantum | |
parent | 615bfc4eca8204b73c592a076ca02aeaeceb7e1e (diff) | |
download | qmk_firmware-2aa079d93e31403debd467fb4eed98fb98cced0f.tar.gz qmk_firmware-2aa079d93e31403debd467fb4eed98fb98cced0f.tar.xz |
Left control and alt
Use the left control and the left alt key.
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/quantum_keycodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 63b626926..903d57f1e 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h @@ -183,6 +183,7 @@ enum quantum_keycodes { #define ALTG(kc) (kc | QK_RCTL | QK_RALT) #define SCMD(kc) (kc | QK_LGUI | QK_LSFT) #define SWIN(kc) SCMD(kc) +#define LCA(kc) (kc | QK_LCTL | QK_LALT) #define MOD_HYPR 0xf #define MOD_MEH 0x7 @@ -339,6 +340,7 @@ enum quantum_keycodes { #define ALL_T(kc) MT((MOD_LCTL | MOD_LSFT | MOD_LALT | MOD_LGUI), kc) // see http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/ #define SCMD_T(kc) MT((MOD_LGUI | MOD_LSFT), kc) #define SWIN_T(kc) SCMD_T(kc) +#define LCA_T(kc) MT((MOD_LCTL | MOD_LALT), kc) // Left control and left alt // Dedicated keycode versions for Hyper and Meh, if you want to use them as standalone keys rather than mod-tap #define KC_HYPR HYPR(KC_NO) |