Uh oh!
There was an error while loading. Please reload this page.
corsair: wire the read-only NIGHTSWORD RGB driver into the app - #187
Merged
snekxs merged 1 commit intoSep 6, 2026
Merged
Conversation
Pairs with OpenMouse-Project/mouse-protocol#63, which adds the Corsair codec and CorsairHidClient. The client has an explicit open(), so it joins NEEDS_OPEN in the controller. The supported-devices table gets a NIGHTSWORD RGB row marked supported with PID 0x1b5c, and the PID universe in its test learns CORSAIR_PRODUCT_IDS so the row is checked against the protocol package. Device art resolves to the generic placeholder by name until a redistributable render is uploaded. Co-Authored-By: Claude Fable 5.1 <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 freeto 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.
Summary
App-side wiring for the Corsair NIGHTSWORD RGB (VID
0x1b1c, PID0x1b5c). Pairs with OpenMouse-Project/mouse-protocol#63, which adds the Corsair codec andCorsairHidClient; this PR needs that package version to build.src/device/controller.ts— importCorsairHidClientand add it toNEEDS_OPEN(the client has an explicitopen()).src/supported-mice.ts— NIGHTSWORD RGB row, statussupported,pids: [0x1b5c], with a note that phase 1 is read-only and that iCUE can stay running.src/supported-mice.test.ts—CORSAIR_PRODUCT_IDSjoinsPID_UNIVERSEso the row is validated against the protocol package.src/ui/device-images.ts—nightswordname fallback to the generic placeholder until a redistributable render exists, with a test.Tested on hardware
Windows 11, Chrome 152, NIGHTSWORD RGB fw 3.41, this branch with the mouse-protocol PR linked in:
settingsReady: false.What this does not do yet
Read-only. DPI, stage, lift-off, and angle-snap writes are phase 2 in the protocol repo. Onboard profile persistence needs Corsair's file-based profile format and is out of scope. No product art: the maintainers' R2 bucket needs a render that can be redistributed; the PID → filename mapping can be added once one is uploaded.
Checks
npm run checkpasses (121 tests) with the local mouse-protocol build linked.🤖 Generated with Claude Code