Closed
Conversation
Owner
|
please try to see if #3558 works for you |
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? |
Owner
|
yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.