feat(fantech): add WG14P Yari Pro support - #114
Merged
Conversation
fix(supported): collapse brand typos (Reddragon, Eyooso) onto canonical names
Add Fantech Yari Pro WG14P (VID 0x3151, PID 0x503D) to: - check-scan.ts: BRANDS + OPENMOUSE_SUPPORTED - supported-mice.ts: device catalog entry (PID 0x503d) - supported-mice.test.ts: PID_UNIVERSE - controller.ts: FantechHidClient import + NEEDS_OPEN - traits.ts: fantech family traits - device-images.ts: Fantech fallback Protocol reverse-engineered from qmk.top web configurator: - Command-based protocol (Family B) - Get DPI: cmd 144, Set DPI: cmd 16 - Get Report Rate: cmd 131, Set Report Rate: cmd 8 - DPI stored as LE uint16 at bytes [8+slot*2..9+slot*2] - Rate encoding: 0=8000Hz, 1=4000Hz, 2=2000Hz, 3=1000Hz, 4=500Hz, 5=125Hz
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.
Add Fantech Yari Pro WG14P (VID 0x3151, PID 0x503D) to the device catalog with full HID vendor protocol support.
This adds support for the Fantech WG14P wireless gaming mouse featuring a PixArt 3950 STRIKE sensor, 42000 DPI max, and 8K polling rate.
Changes
Protocol
The HID vendor protocol was reverse-engineered from the Fantech web configurator at qmk.top. Uses command-based protocol (Family B) with DPI and report rate commands.
Testing
TypeScript compiles cleanly. All 81 tests pass.
Depends on: OpenMouse-Project/mouse-protocol#27