diff options
author | Stick <nstickney@gmail.com> | 2017-06-22 13:06:30 -0500 |
---|---|---|
committer | Stick <nstickney@gmail.com> | 2017-06-22 13:06:30 -0500 |
commit | fa96d64f3761e6cd0661c63a3fc257b58c669be0 (patch) | |
tree | 85a7b88c4b1f3898c606af013a478db39dc392b5 /quantum/quantum_keycodes.h | |
parent | 4b50ab029d49830cf0efd0e5e0606cb39c8dabae (diff) | |
parent | 2b98ec67f3c2e0e408275ea6b2c90be2dbeada23 (diff) |
Merge remote-tracking branch 'upstream/master'
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 7354ae0da1..c34ecafa51 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h @@ -104,6 +104,7 @@ enum quantum_keycodes { MAGIC_UNHOST_NKRO, MAGIC_UNSWAP_ALT_GUI, MAGIC_TOGGLE_NKRO, + GRAVE_ESC, // Leader key #ifndef DISABLE_LEADER @@ -514,6 +515,8 @@ enum quantum_keycodes { #define MACROTAP(kc) (kc | QK_MACRO | FUNC_TAP<<8) #define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) +#define KC_GESC GRAVE_ESC + // L-ayer, T-ap - 256 keycode max, 16 layer max #define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8)) |