diff options
author | jamesofarrell <jofarrell@gmail.com> | 2017-06-17 07:56:50 +1000 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2017-06-16 14:56:50 -0700 |
commit | 98316ef0170c6e0f994a45e1f62959ae0f278177 (patch) | |
tree | 7e1981d5966d09e1bd8c53cdeef0edb37a9dd0c1 /quantum/quantum_keycodes.h | |
parent | ff2b01da49ccf2d57e61bb70cdbaacb40799299c (diff) | |
download | qmk_firmware-98316ef0170c6e0f994a45e1f62959ae0f278177.tar.gz qmk_firmware-98316ef0170c6e0f994a45e1f62959ae0f278177.zip |
Added Grave Escape (#1391)
* added QK_GRAVE_ESC and KC_GESC
* fixed name
* Fixed keycode emnu
* Removed layer check, added left and right GUI mod detection for OSX GUI+~
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r-- | quantum/quantum_keycodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 7354ae0da..c34ecafa5 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
@@ -104,6 +104,7 @@ enum quantum_keycodes { | |||
104 | MAGIC_UNHOST_NKRO, | 104 | MAGIC_UNHOST_NKRO, |
105 | MAGIC_UNSWAP_ALT_GUI, | 105 | MAGIC_UNSWAP_ALT_GUI, |
106 | MAGIC_TOGGLE_NKRO, | 106 | MAGIC_TOGGLE_NKRO, |
107 | GRAVE_ESC, | ||
107 | 108 | ||
108 | // Leader key | 109 | // Leader key |
109 | #ifndef DISABLE_LEADER | 110 | #ifndef DISABLE_LEADER |
@@ -514,6 +515,8 @@ enum quantum_keycodes { | |||
514 | #define MACROTAP(kc) (kc | QK_MACRO | FUNC_TAP<<8) | 515 | #define MACROTAP(kc) (kc | QK_MACRO | FUNC_TAP<<8) |
515 | #define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) | 516 | #define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) |
516 | 517 | ||
518 | #define KC_GESC GRAVE_ESC | ||
519 | |||
517 | 520 | ||
518 | // L-ayer, T-ap - 256 keycode max, 16 layer max | 521 | // L-ayer, T-ap - 256 keycode max, 16 layer max |
519 | #define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8)) | 522 | #define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8)) |