Skip to content

Add MCHOSE A7 V2 and MagDock support - #172

Merged
snekxs merged 4 commits into
control-panelfrom
pr171-fix
Sep 6, 2026
Merged

Add MCHOSE A7 V2 and MagDock support#172
snekxs merged 4 commits into
control-panelfrom
pr171-fix

Conversation

@snekxs

Copy link
Copy Markdown
Member

Rebase/merge of #171 onto control-panel, bumping @openmouse/protocol to pick up today's driver additions (MCHOSE/K-snake/VXE/Lingbao/ATK-ZERO) and raising the JS bundle budget to 790 kB to cover the new driver. Closes#171.

jamezrinand others added 4 commits September 6, 2026 01:02
Wires up the MCHOSE drivers from @openmouse/protocol and adds the small,
brand-agnostic controls they need. Verified against an A7 V2 Ultra+ over both
its 2.4 GHz receiver and its cable.
Device wiring:
- both clients imported and added to NEEDS_OPEN
- mchose traits entry so the debounce and sleep cards appear
- A7 V2 rows and the MagDock in supported-mice, with their PIDs pinned
- device-image mappings for the family; the art itself still needs a bucket
upload, so these resolve to the placeholder until then
Rather than add a second set of brand-specific cards, four shared controls are
introduced, each driven purely by what a driver reports:
- a numbered onboard-profile selector (profileCount / activeProfile /
setProfile), showing device-stored names where they exist
- a button remapper (buttonMappings / buttonOptions / setButtonMapping)
- a named power-mode selector plus angle tuning (powerModes / setPowerMode,
setAngleTuning)
- sleep options and a debounce ceiling are now read from any client that
publishes them, not just direct-mode drivers
Existing brand cards are untouched; every new control hides itself when a
driver does not populate its fields. sleepLabel renders 0 as "Never" for
firmwares that treat zero as no auto-sleep.
Depends on the MCHOSE driver landing in @openmouse/protocol first, since this
app installs that package from its git URL.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying openmouse with Cloudflare Pages Cloudflare Pages

Latest commit:91bfaf3
Status: ✅ Deploy successful!
Preview URL:https://fec1728d.openmouse.pages.dev
Branch Preview URL:https://pr171-fix.openmouse.pages.dev

View logs

@snekxs
snekxs merged commit 2cb1dba into control-panelSep 6, 2026
4 of 5 checks passed
@snekxs
snekxs deleted the pr171-fix branch September 6, 2026 08:10
Sign up for freeto 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.

2 participants

@snekxs@jamezrin