chore(protocol): bump @openmouse/protocol to 0.22.0 and wire the new drivers - #440
Merged
Merged
Conversation
Keychron8kNordicHidClient (family keychron-8k-nordic, from mouse-protocol) gets the advanced section with the sleep and debounce cards, since it reads and writes both and publishes its own option lists. It joins NEEDS_OPEN so the device opens before the first read. DPI stages, polling, lift-off, the processing toggles, angle tuning, profiles and the button remapper all dispatch generically. Needs a protocol release with the driver and a bump from 0.19.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mouse-protocol PR that adds the Rapoo codec and its WebHID client also adds RapooHidClient, and it was not on the list of clients the controller opens on connect. Without that entry the driver never gets to run against a device that is already picked, which is the whole point of the client: it answers on its own vendor collection, so nothing else notices it. The client reports the battery on its own when the transport has no receiveInputReport (WebHID alone cannot read the register channel), and when OpenMouse Bridge supplies it the same connect path unlocks DPI, polling rate and the sensor settings.
…w strings The Buttons card read the selected M2-NEX profile but its onChange wrote straight to the device, so edits never surfaced in the UI and the exported updateM2NexProfileButton was dead. Also move the new macro, scroll and profile strings into src/i18n.ts keys (replicated across locales so missingTranslations stays empty) and replace the hardcoded per-stage DPI palette with --stage-color-* tokens for both themes.
…drivers Land the four device integrations that depend on protocol 0.22.0 together: Noir Gear M2-NEX (#402), Keychron G3 Air (#408), Rapoo VT9 Pro (#422) and Keychron Launcher 8k/1k (#426). The Launcher work removes KeychronM6HidClient with m6-hid, so the panel must switch to Keychron8k/1kHidClient in the same commit as the protocol bump. Raise the JS bundle budget to 2,085 kB for the combined additions (measured 1,995.2 kB).
Deploying openmouse with
|
| Latest commit: |
a1e1176
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b315ce5e.openmouse.pages.dev |
| Branch Preview URL: | https://chore-protocol-0-22-integrat.openmouse.pages.dev |
| * this avoids a fake read timeout while keeping the actual write path live. | ||
| */ | ||
| export function loadKsnakeMacros(): void { | ||
| if (ksnakeMacrosLoading || ksnakeMacros !== null) return; |
snekxs
pushed a commit
that referenced
this pull request
Oct 3, 2026
…ebounce cards (#514) Protocol 0.22.0 reports ui.family "keychron-8k" (the M6 and most Keychron mice) and "keychron-1k", but BY_FAMILY still only knew the old "keychron-m6" family. Those mice lost their advanced section, and the 8k mice lost sleep and debounce. This is the traits half of the closed #426 that #440 did not carry over. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Lands the four device integrations that depend on protocol 0.22.0 within a single merge, because the Launcher rework in mouse-protocol#148 deletes
m6-hid/KeychronM6HidClientand the panel must switch toKeychron8kHidClient/Keychron1kHidClientin the same commit as the bump.Supersedes and includes:
Also raises the JS bundle budget to 2,085 kB for the combined additions (measured aggregate 1,995.2 kB).
Protocol side: OpenMouse-Project/mouse-protocol#148 (released as
@openmouse/protocol@0.22.0).