USB Human Interface Device
usb_hid module allows you to output data as a HID device.
Tuple of all active HID device interfaces.
import usb_hid mouse = usb_hid.devices mouse.send_report()
The functionality of the device as an int. (read-only)
For example, Keyboard is 0x06 within the generic desktop usage page 0x01. Mouse is 0x02 within the same usage page.
send_report(self, buf: ReadableBuffer)¶
Send a HID report.