qmk_settings_reset: enable oneshot by default for magic

This commit is contained in:
Ilya Zhuravlev 2022-07-13 23:04:30 -06:00
parent 2fbe883853
commit 78c83a6d0b

View file

@ -190,6 +190,7 @@ void qmk_settings_reset(void) {
/* must call clear_keyboard for the NKRO setting to not cause stuck keys */
clear_keyboard();
keymap_config.raw = 0;
keymap_config.oneshot_enable = 1;
eeconfig_update_keymap(keymap_config.raw);
/* to trigger all callbacks */