Skip to content

Commit

Permalink
Merge pull request #6101 from prplz/usb-hid-typing-fix
Browse files Browse the repository at this point in the history
Fix usb_hid.Device constructor typing
  • Loading branch information
dhalbert authored Mar 1, 2022
2 parents a13c320 + 1fe9eea commit 1f51231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-bindings/usb_hid/Device.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
//| class Device:
//| """HID Device specification"""
//|
//| def __init__(self, *, descriptor: ReadableBuffer, usage_page: int, usage: int, report_ids: Sequence[int], in_report_lengths: Sequence[int], out_report_lengths: Sequence[int]) -> None:
//| def __init__(self, *, report_descriptor: ReadableBuffer, usage_page: int, usage: int, report_ids: Sequence[int], in_report_lengths: Sequence[int], out_report_lengths: Sequence[int]) -> None:
//| """Create a description of a USB HID device. The actual device is created when you
//| pass a `Device` to `usb_hid.enable()`.
//|
Expand Down

0 comments on commit 1f51231

Please sign in to comment.