Skip to content

feat(fantech): add product registry for auto-listing - #28

Merged
jazzstack merged 2 commits into
OpenMouse-Project:mainfrom
jazzstack:main
Aug 17, 2026
Merged

feat(fantech): add product registry for auto-listing#28
jazzstack merged 2 commits into
OpenMouse-Project:mainfrom
jazzstack:main

Conversation

@jazzstack

Copy link
Copy Markdown
Contributor

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:

  • src/fantech/index.ts - new product registry
  • package.json - added fantech export

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.
@jazzstack
jazzstack merged commit 4f56cdc into OpenMouse-Project:main Aug 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant