Repository navigation
[fork test] verify-review-fix - #2
Closed
Ashraf-Obay wants to merge 3 commits into
Closed
Ashraf-Obay wants to merge 3 commits into
Ashraf-Obay wants to merge 3 commits into
Conversation
Battery status for the PULSE 3D wireless headset via its USB dongle (054c:0d5e). The dongle never answers queries; it sends an 8-byte status report (ID 0xB0) on the vendor collection (usage page 0xFF01, usage 0x20) only when something changes: byte[3] battery 0-100 in steps of 10, or 0x80 while charging byte[4] bit 0x08 set while the headset is connected getBattery() drains the reports queued on the cached connection, keeps the newest status per handle, and otherwise waits up to the device timeout for the next report. Nothing is written to the device. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Queue a full-length report with another collection's ID in the newest-report test, so the report-ID check is actually exercised (the 5-byte media-key report was already rejected by the length check). The usage-page lookup runs on all platforms since Sapd#596; the interface 3 fallback only applies when hidapi doesn't report usages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Fork CI check done; fix pushed to Sapd#610. |
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.
Fork-internal CI check for PR Sapd#610 review fixes. Not for merging.