Implement basic HID keyboard support (send_string works great!)

This commit is contained in:
Josh Klar
2018-09-16 20:49:14 -07:00
parent 27f1e971b0
commit 7f88f4f415
4 changed files with 175 additions and 16 deletions

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