diff options
Diffstat (limited to 'tmk_core/common/keymap.c')
-rw-r--r-- | tmk_core/common/keymap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/common/keymap.c b/tmk_core/common/keymap.c index 9f4fab5216..d489238085 100644 --- a/tmk_core/common/keymap.c +++ b/tmk_core/common/keymap.c @@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "action_layer.h" #include "action.h" #include "action_macro.h" +#include "wait.h" #include "debug.h" @@ -140,6 +141,11 @@ static action_t keycode_to_action(uint8_t keycode) case KC_TRNS: action.code = ACTION_TRANSPARENT; break; + case KC_BOOTLOADER: + clear_keyboard(); + wait_ms(50); + bootloader_jump(); // not return + break; default: action.code = ACTION_NO; break; |