adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
449 stars 119 forks source link

add Adafruit_USBD_HID::getProtocol #382

Closed tlyu closed 4 months ago

tlyu commented 5 months ago

Add a getProtocol method, allowing an application to query whether the HID interface is currently set to Boot or Report Protocol.

Fixes #381.