kmk_firmware/kmk/entrypoints/handwire/pyboard_boot.py

4 lines
96 B
Python
Raw Normal View History

import pyb
pyb.usb_mode('VCP+HID', hid=pyb.hid_keyboard) # act as a serial device and a mouse