Skip to content

Commit

Permalink
use lists in keypad
Browse files Browse the repository at this point in the history
  • Loading branch information
Neradoc authored Mar 7, 2022
1 parent 45d262e commit 6881710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hid/simple_keypad.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
keyboard = Keyboard(usb_hid.devices)

keys_to_press = (
(Keycode.ALT, Keycode.TAB),
(Keycode.F14,),
[Keycode.ALT, Keycode.TAB],
[Keycode.F14],
# etc. each entry matches a button, and has to be a tuple or list
)

Expand Down

0 comments on commit 6881710

Please sign in to comment.