Add shorthand
This commit is contained in:
parent
bff8d3d7c5
commit
fd73292da0
@ -131,8 +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 ('RELOAD','RLD'):
|
||||
make_key(names=('RELOAD', 'RLD'), on_press=handlers.reload)
|
||||
elif key in ('BOOTLOADER',):
|
||||
make_key(names=('BOOTLOADER',), on_press=handlers.bootloader)
|
||||
elif key in ('DEBUG', 'DBG'):
|
||||
|
Loading…
Reference in New Issue
Block a user