feat(fantech): add product registry for auto-listing - #28
Merged
Conversation
Add Fantech WG14P (VID 0x3151, PID 0x503D) driver with: - Command-based protocol (Family B) from GearHub qmk.top - DPI read/write: cmd 144 (get), cmd 16 (set) - Report rate: cmd 131 (get), cmd 8 (set) - Rate encoding: 0=8000Hz, 1=4000Hz, 2=2000Hz, 3=1000Hz, 4=500Hz, 5=125Hz - DPI stored as LE uint16 at bytes [8+slot*2..9+slot*2] Protocol reverse-engineered from Fantech web configurator JS bundle.
Adds FANTECH_PRODUCTS map with WG14P Yari Pro entry. This allows supported-live.ts to auto-generate the supported list from the protocol registry, eliminating manual catalog entries for new Fantech devices.
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.
Adds FANTECH_PRODUCTS map with WG14P Yari Pro entry.
This allows supported-live.ts to auto-generate the supported list from the protocol registry, eliminating manual catalog entries for new Fantech devices.
Changes: