Remove keyboard level QK_BOOT
implementations (#24231)
This commit is contained in:
parent
339b820520
commit
019b6f67b2
9 changed files with 63 additions and 82 deletions
|
@ -92,9 +92,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|||
if (record->event.pressed) {
|
||||
set_keylog(keycode, record);
|
||||
}
|
||||
if (keycode == QK_BOOT) {
|
||||
setupForFlashing();
|
||||
}
|
||||
return process_record_user(keycode, record);
|
||||
}
|
||||
|
||||
|
@ -104,3 +101,11 @@ void keyboard_post_init_kb(void) {
|
|||
rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL);
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
bool shutdown_kb(bool jump_to_bootloader) {
|
||||
if (!shutdown_user(jump_to_bootloader)) {
|
||||
return false;
|
||||
}
|
||||
setupForFlashing();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue