diff options
| author | Erez Zukerman <bulk@ezuk.org> | 2017-01-11 21:57:41 -0500 |
|---|---|---|
| committer | Erez Zukerman <bulk@ezuk.org> | 2017-01-11 21:57:41 -0500 |
| commit | 8459bb97c1e8bcb9ccce55a1ed849d373bd7706c (patch) | |
| tree | 4d2ac3bc80f5ae96c16f654f1155f9890bfb574b /quantum/quantum_keycodes.h | |
| parent | 176b93d08eb5cc0c65a6d571fc2c1fec5f575854 (diff) | |
| download | qmk_firmware-8459bb97c1e8bcb9ccce55a1ed849d373bd7706c.tar.gz qmk_firmware-8459bb97c1e8bcb9ccce55a1ed849d373bd7706c.zip | |
Adds SCMD and SCMD_T
Diffstat (limited to 'quantum/quantum_keycodes.h')
| -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 5cd3c8e78..7466e185c 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
| @@ -159,6 +159,7 @@ enum quantum_keycodes { | |||
| 159 | #define MEH(kc) (kc | QK_LCTL | QK_LSFT | QK_LALT) | 159 | #define MEH(kc) (kc | QK_LCTL | QK_LSFT | QK_LALT) |
| 160 | #define LCAG(kc) (kc | QK_LCTL | QK_LALT | QK_LGUI) | 160 | #define LCAG(kc) (kc | QK_LCTL | QK_LALT | QK_LGUI) |
| 161 | #define ALTG(kc) (kc | QK_RCTL | QK_RALT) | 161 | #define ALTG(kc) (kc | QK_RCTL | QK_RALT) |
| 162 | #define SCMD(kc) (kc | QK_LGUI | QK_LSFT) | ||
| 162 | 163 | ||
| 163 | #define MOD_HYPR 0xf | 164 | #define MOD_HYPR 0xf |
| 164 | #define MOD_MEH 0x7 | 165 | #define MOD_MEH 0x7 |
| @@ -293,6 +294,7 @@ enum quantum_keycodes { | |||
| 293 | #define MEH_T(kc) MT((MOD_LCTL | MOD_LSFT | MOD_LALT), kc) // Meh is a less hyper version of the Hyper key -- doesn't include Win or Cmd, so just alt+shift+ctrl | 294 | #define MEH_T(kc) MT((MOD_LCTL | MOD_LSFT | MOD_LALT), kc) // Meh is a less hyper version of the Hyper key -- doesn't include Win or Cmd, so just alt+shift+ctrl |
| 294 | #define LCAG_T(kc) MT((MOD_LCTL | MOD_LALT | MOD_LGUI), kc) // Left control alt and gui | 295 | #define LCAG_T(kc) MT((MOD_LCTL | MOD_LALT | MOD_LGUI), kc) // Left control alt and gui |
| 295 | #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/ | 296 | #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/ |
| 297 | #define SCMD_T(kc) MT((MOD_LGUI | MOD_LSFT), kc) | ||
| 296 | 298 | ||
| 297 | // Dedicated keycode versions for Hyper and Meh, if you want to use them as standalone keys rather than mod-tap | 299 | // Dedicated keycode versions for Hyper and Meh, if you want to use them as standalone keys rather than mod-tap |
| 298 | #define KC_HYPR HYPR(KC_NO) | 300 | #define KC_HYPR HYPR(KC_NO) |
