fix(gwolves): open the advanced cards for XVI mice - #375
Merged
Merged
Conversation
The protocol driver for G-Wolves' XVI generation (HTX Mini 8K and friends) now reads sleep, debounce, Motion Sync and angle snapping. Those cards only render for a family in traits.ts, so gwolves-xvi gets the advanced section, sleep and debounce. There is no signal-strength command on these mice, so no signal card. The hardware test's lift-off leg always wrote Medium (or Low from Medium), which the HTX Mini refuses: it offers only Low and High, and the ticket #105 log shows the leg failing on every run. pickFlashLiftOffTarget now takes the device's supportedLiftOffDistances and falls back through Medium, Low, High. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
App side of OpenMouse-Project/mouse-protocol#140 (Discord ticket #105, G-Wolves HTX Mini 8K).
Draft until that PR is released: this needs the
@openmouse/protocolbump added. Without it, the traits entry opens a sleep card that the 0.18.0 client can't fill.Changes
traits.ts:gwolves-xvigets the advanced section, sleep and debounce, so the new driver fields render (sleep and processing cards, debounce on the Buttons tab). There is no signal-strength command on these mice. The button remap card already followsbuttonMappings.pickFlashLiftOffTargetnow takessupportedLiftOffDistancesand falls back through Medium, Low, High.Testing
npm run buildandnpm test(241 pass)