-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Yeah yeah I already know it's fairly simple to get working in the zero, there's a few apt packages for it (hid-zero or smth like that) but I'd still like this project to work on it, goal is every Pi which it's possible on. As far as I know it's possible on the entire Zero series, the 4B (and probably the 4), and the 5. Pi 400 would be sick as you could have a KVM and remapper built into your keyboard, not sure if it's possible without extra hardware like a pico though.
rikka@raspberrypi:~ $ python test2.py
Traceback (most recent call last):
File "/home/rikka/test2.py", line 4, in <module>
Keyboard.send_key(0x00, 0x04)
File "/home/rikka/.local/lib/python3.11/site-packages/hidpi/keyboard.py", line 46, in send_key
Keyboard._send_report(bytes(report))
File "/home/rikka/.local/lib/python3.11/site-packages/hidpi/keyboard.py", line 107, in _send_report
with open(HID_DEVICE, "rb+") as fd:
BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
rikka@raspberrypi:~ $
https://github.com/albert-fit/windows_10_raspi_usb_otg_fix
I guess it could have something to do with using the OTG port while trying to make the Zero a HID device
Zero-software solution preferred, so I'll be investigating this further, not just using some windows driver. I'm currently using a mac anyways.