forked from mirrors/qmk_userspace
Rename some Quantum keycodes (#15968)
* Rename some Quantum keycodes * Tweak EEPROM clear and debug keycode short aliases
This commit is contained in:
parent
c7f477bc59
commit
b45a037c7e
8 changed files with 49 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue