diff options
author | Ryan <[email protected]> | 2022-01-22 14:34:15 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-22 03:34:15 +0000 |
commit | b45a037c7edcd9c1cfadceb69ed51e7d42aa58c1 (patch) | |
tree | 7a7b03c394c5d28a9ae7765254e5bcf86e02217f /quantum/quantum.c | |
parent | c7f477bc59e4124a791f0be195aaad9f21def161 (diff) | |
download | qmk_firmware-b45a037c7edcd9c1cfadceb69ed51e7d42aa58c1.tar.gz qmk_firmware-b45a037c7edcd9c1cfadceb69ed51e7d42aa58c1.zip |
Rename some Quantum keycodes (#15968)
* Rename some Quantum keycodes
* Tweak EEPROM clear and debug keycode short aliases
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index ac99bcbd45..f12b1a9526 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -302,12 +302,12 @@ bool process_record_quantum(keyrecord_t *record) { if (record->event.pressed) { switch (keycode) { #ifndef NO_RESET - case RESET: + case QK_BOOTLOADER: reset_keyboard(); return false; #endif #ifndef NO_DEBUG - case DEBUG: + case QK_DEBUG_TOGGLE: debug_enable ^= 1; if (debug_enable) { print("DEBUG: enabled.\n"); @@ -316,7 +316,7 @@ bool process_record_quantum(keyrecord_t *record) { } #endif return false; - case EEPROM_RESET: + case QK_CLEAR_EEPROM: eeconfig_init(); return false; #ifdef VELOCIKEY_ENABLE |