Skip to content

Commit f51b543

Browse files
authored
Merge pull request #1292 from FoamyGuy/pyruler_video_panic_hid_fix
Pyruler video panic hid fix
2 parents 5cffd69 + 1ed6889 commit f51b543

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PyRuler_Video_Panic/code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
from adafruit_hid.keyboard import Keyboard
1313
from adafruit_hid.keycode import Keycode
1414
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS
15-
kbd = Keyboard()
15+
import usb_hid
16+
kbd = Keyboard(usb_hid.devices)
1617
layout = KeyboardLayoutUS(kbd)
1718

1819
#print(dir(board), os.uname()) # Print a little about ourselves

0 commit comments

Comments
 (0)