Uh oh!
There was an error while loading. Please reload this page.
Harden Keychron Nape Pro tests and raise model DPI ceiling to 4000 - #4
Merged
Conversation
Extract battery decoding into the protocol layer and cover packet framing, status reads, DPI/polling write-back, and Link-KM rejection with a fake HID device. Co-authored-by: Cursor <cursoragent@cursor.com>
Use KEYCHRON_NAPE_DPI_* constants so future Keychron mice can define their own ranges without inheriting this cap. Co-authored-by: Cursor <cursoragent@cursor.com>
6 tasks
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
keychronDecodeBatteryinto the Keychron protocol layer and use it fromKeychronHidClient.KEYCHRON_NAPE_DPI_*so future Keychron models can define their own ceilings.Hardware verification
Keychron Nape Pro firmware
v1.2.6-ZK Jun 30 2026 09:17:58:0x3434:0x0440— status read, DPI write (1600), polling write (1000 Hz)0x3434:0xd026— status read, DPI write (3200 / 800), polling write (125 Hz)Notes
Test plan
npm run check