diff options
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 a786bd322..8a78a58c9 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
| @@ -256,8 +256,10 @@ enum quantum_keycodes { | |||
| 256 | 256 | ||
| 257 | #define M(kc) (kc | QK_MACRO) | 257 | #define M(kc) (kc | QK_MACRO) |
| 258 | 258 | ||
| 259 | #define MACROTAP(kc) (kc | QK_MACRO | FUNC_TAP<<8) | ||
| 259 | #define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) | 260 | #define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) |
| 260 | 261 | ||
| 262 | |||
| 261 | // L-ayer, T-ap - 256 keycode max, 16 layer max | 263 | // L-ayer, T-ap - 256 keycode max, 16 layer max |
| 262 | #define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8)) | 264 | #define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8)) |
| 263 | 265 | ||
