Skip to content

add set protocol skip feature#3552

Closed
dinsfire64 wants to merge 1 commit intohathach:masterfrom
dinsfire64:skip-set-protocol
Closed

add set protocol skip feature#3552
dinsfire64 wants to merge 1 commit intohathach:masterfrom
dinsfire64:skip-set-protocol

Conversation

@dinsfire64
Copy link
Copy Markdown
Contributor

I have a quirky device that has multiple devices in it's report (gamepad, keyboard, and a mouse).

If i send any set hid protocol message to the device during it's life cycle, it will stall the polls to the gamepad endpoint (which I want to talk to) and prefers the keyboard only.

I need some way to tell tinyusb to skip sending the set protocol command during operation, so this PR allows me to call in my code

tuh_hid_set_default_protocol(HID_PROTOCOL_SKIP);

and during enumeration, the device will not get a protocol message sent to it.

Please let me know if you have any alternative suggestions or tips.

@hathach
Copy link
Copy Markdown
Owner

hathach commented Mar 17, 2026

please try to see if #3558 works for you

@dinsfire64
Copy link
Copy Markdown
Contributor Author

Yes this feature works for me, I have tested it with the quirky device and it is working correctly.

Would you like me to close this in favor of the PR and comment there?

@hathach
Copy link
Copy Markdown
Owner

hathach commented Mar 18, 2026

yes

@hathach hathach closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants