Add keycode for software reload

This commit is contained in:
James Fitzgerald
2022-07-19 12:50:51 -04:00
committed by Kyle Brown
parent 682731bfe1
commit d584b1f506
3 changed files with 7 additions and 0 deletions

View File

@@ -131,6 +131,8 @@ class KeyAttrDict:
make_key(code=30 + offset, names=names)
elif key in ('RESET',):
make_key(names=('RESET',), on_press=handlers.reset)
elif key in ('RELOAD',):
make_key(names=('RELOAD',), on_press=handlers.reload)
elif key in ('BOOTLOADER',):
make_key(names=('BOOTLOADER',), on_press=handlers.bootloader)
elif key in ('DEBUG', 'DBG'):