Skip to content

Commit c3117ec

Browse files
author
kolten
committed
usb-device-hid: Enable configuring the bInterval on hid devices.
Signed-off-by: kolten <koltenpearson@fastmail.com>
1 parent 1217358 commit c3117ec

File tree

1 file changed

+2
-0
lines changed
  • micropython/usb/usb-device-hid/usb/device

1 file changed

+2
-0
lines changed

micropython/usb/usb-device-hid/usb/device/hid.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ def __init__(
8686
# - protocol can be set to a specific value as per HID v1.11 section 4.3 Protocols, p9.
8787
#
8888
# - interface_str is an optional string descriptor to associate with the HID USB interface.
89+
#
90+
# - binterval this is the polling rate the device will request the host use in milliseconds.
8991
super().__init__()
9092
self.report_descriptor = report_descriptor
9193
self.extra_descriptors = extra_descriptors

0 commit comments

Comments
 (0)