Add EEPROM_RESET keycode to core code (#4234)
* Add EEPROM Reset keycode * Add keycode to docs * Move EEPROM Reset code to the end of the enum * Cleanup and naming change
This commit is contained in:
parent
f2101cfb6a
commit
6e44f94f21
3 changed files with 22 additions and 12 deletions
|
@ -298,6 +298,11 @@ bool process_record_quantum(keyrecord_t *record) {
|
|||
print("DEBUG: enabled.\n");
|
||||
}
|
||||
return false;
|
||||
case EEPROM_RESET:
|
||||
if (record->event.pressed) {
|
||||
eeconfig_init();
|
||||
}
|
||||
return false;
|
||||
#ifdef FAUXCLICKY_ENABLE
|
||||
case FC_TOG:
|
||||
if (record->event.pressed) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue