Repository navigation
fix(compx): address the active onboard profile for settings writes - #18
Merged
jazzstack merged 1 commit intoAug 14, 2026
Merged
Conversation
Profile-page commands hardcoded profile 1, so DPI, polling rate, lift-off distance and sensor options were written to a stored slot the mouse was not running: the write confirmed via read-back yet the behavior never changed. Resolve the active profile (device command 0x85) first and address that profile for every profile-page read and write, in both the Lamzu and WLMouse drivers.
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.
Fixes an Attack Shark R5 Ultra issue where DPI, polling rate, lift-off distance and sensor options changed "successfully" (write confirmed via read-back) but never actually affected the mouse.
The CompX (Lamzu + WLMouse) drivers hardcoded profile
0x01as the first argument of every profile-page command. When the onboard active profile is not 1 (this R5 Ultra reports active profile 2), the writes land in a stored slot the mouse is not running, so the running settings are unchanged.Now the driver resolves the active profile (device command
0x85) before reading or writing any profile-scoped setting, and addresses that profile. Verified with a captured session where the R5 Ultra reports active profile 2.