Skip to content

feat: wire the Glorious Model O 2 PRO 4K/8K driver into the connect flow - #675

Merged
snekxs merged 2 commits into
OpenMouse-Project:mainfrom
ydw1904:feat/glorious-o2-pro-4k8k
Oct 8, 2026
Merged

snekxs merged 2 commits into
OpenMouse-Project:mainfrom
ydw1904:feat/glorious-o2-pro-4k8k

Conversation

@ydw1904

@ydw1904 ydw1904 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Capture from Discord ticket 0160. Needs OpenMouse-Project/mouse-protocol#181 released before the @openmouse/protocol pin can be bumped, hence draft. Catalog: OpenMouse-Project/openmouse-landing-page#37.

  • src/device/controller.ts: GloriousCore2HidClient in NEEDS_OPEN, so it is opened on connect.
  • src/device/traits.ts: the glorious-core2 family gets the advanced section and the debounce card. There is no sleep flag, because the driver has no sleep command wired in.
  • src/supported-devices-data.ts: the Model O2 Pro 4K/8K as "pr" (only that row).
  • src/app/cards/availability.test.ts: the cards the family opens (debounce, Motion Sync and the profile card, not sleep or signal). The test fails without the traits entry.

The driver reports profileCount: 3 and activeProfile, so the generic Profile card appears next to the DPI stage editor, the polling row up to 8K, and the Debounce and Motion Sync cards. I checked that in the dev preview with a temporary fixture built from the real client's status (not committed): the cards render, and the only console errors were the Bridge socket not running locally.

Verification

Against a local build of the protocol branch: tsc --noEmit clean, npm test 293 pass, vite build OK, bundle size within budget (JS at 98%). Not tested on hardware.

Adds GloriousCore2HidClient to NEEDS_OPEN so its input-report handling is
set up on connect, gives the glorious-core2 family the advanced section
and the debounce card in traits (it has no sleep command wired in), and
marks the Model O2 Pro 4K/8K as having a driver PR in the supported
mirror (only that row). An availability test covers the cards the family
opens: debounce, Motion Sync and the profile card, but not sleep or
signal.

Needs the mouse-protocol release that contains the driver before the
@openmouse/protocol pin can be bumped. Requested in Discord ticket 0160.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tocol to 0.30.0

Resolve NEEDS_OPEN conflict as union: keep GloriousCore2HidClient wiring
from this branch plus main's CorsairBragiHidClient and AjazzHidClient.
Bump @openmouse/protocol 0.29.0 -> 0.30.0 so
drivers/glorious/core2-hid resolves (shipped in 0.30.0).
@snekxs
snekxs marked this pull request as ready for review October 8, 2026 22:52
@snekxs
snekxs merged commit f9f521d into OpenMouse-Project:main Oct 8, 2026
3 checks 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.

2 participants