Implement basic HID keyboard support (send_string works great!)

This commit is contained in:
Josh Klar committed 2018-09-16 20:49:47 -07:00
1 parent 27f1e971b0
commit 7f88f4f415
4 files changed
+175 -16

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
import pyb
pyb.usb_mode('VCP+HID') # act as a serial device and a mouse
pyb.usb_mode('VCP+HID', hid=pyb.hid_keyboard) # act as a serial device and a mouse