diff options
author | Ryan <[email protected]> | 2022-01-25 08:22:20 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-24 21:22:20 +0000 |
commit | 1d11ae3087f583c4f4756169802b33adea71ed94 (patch) | |
tree | 6a9deedeecec0220c2dccd10e90941956c4d27b7 /quantum/quantum_keycodes.h | |
parent | 3340ca46e82c8b348d9131de53b73e83d1f2c285 (diff) | |
download | qmk_firmware-1d11ae3087f583c4f4756169802b33adea71ed94.tar.gz qmk_firmware-1d11ae3087f583c4f4756169802b33adea71ed94.zip |
Rip out old macro and action_function system (#16025)
* Rip out old macro and action_function system
* Update quantum/action_util.c
Co-authored-by: Joel Challis <[email protected]>
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r-- | quantum/quantum_keycodes.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 15ea0276a7..b5b3566786 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h @@ -37,10 +37,6 @@ enum quantum_keycodes { QK_RALT = 0x1400, QK_RGUI = 0x1800, QK_MODS_MAX = 0x1FFF, - QK_FUNCTION = 0x2000, - QK_FUNCTION_MAX = 0x2FFF, - QK_MACRO = 0x3000, - QK_MACRO_MAX = 0x3FFF, QK_LAYER_TAP = 0x4000, QK_LAYER_TAP_MAX = 0x4FFF, QK_TO = 0x5000, @@ -710,12 +706,6 @@ enum quantum_keycodes { #define A(kc) LALT(kc) #define G(kc) LGUI(kc) -// Deprecated - do not use -#define F(kc) (QK_FUNCTION | (kc)) -#define M(kc) (QK_MACRO | (kc)) -#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc)) -#define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE) - #define QK_GESC QK_GRAVE_ESCAPE #define QK_BOOT QK_BOOTLOADER |