Skip to content

Commit cceedb5

Browse files
committed
Unuseful comments
1 parent 2b6c1c7 commit cceedb5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

adafruit_usb_host_descriptors.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ def _find_endpoint(device, protocol_type: Literal[PROTOCOL_MOUSE, PROTOCOL_KEYBO
210210

211211
elif candidate_found:
212212
print(f"Checking Interface {interface_number}...")
213-
214-
# If it's Protocol 2, it's definitely a mouse (Standard).
215-
# If it's Protocol 0, we must check the descriptor.
216-
217213
rep_desc = get_report_descriptor(device, interface_number, hid_desc_len)
218214
if _is_confirmed_mouse(rep_desc):
219215
print(f" -> CONFIRMED: It is a Mouse/Trackpad (Usage 0x09 0x02)")

0 commit comments

Comments
 (0)