Skip to content

fix(devices): lock DPI light brightness in modes that ignore it - #1495

Draft
oenderg wants to merge 1 commit into
OpenMouse-Project:mainfrom
oenderg:fix/dpi-light-brightness-modes
Draft

oenderg wants to merge 1 commit into
OpenMouse-Project:mainfrom
oenderg:fix/dpi-light-brightness-modes

Conversation

@oenderg

@oenderg oenderg commented Nov 14, 2026

Copy link
Copy Markdown

Summary

On the VXE R1 Pro and R1 Pro Max, the DPI indicator's brightness slider stayed
enabled while the effect was Breathing. The driver leaves brightness untouched
in that mode (as ATK HUB does), so a change appeared to apply and then snapped
back on the next read.

Change

DpiLightingCard now disables the brightness slider when the driver's
ui.dpiLighting.brightnessModes hint is present and does not include the
current mode. Devices that do not send the hint behave as before.

No strings, settings or controls are added or removed.

Depends on

OpenMouse-Project/mouse-protocol#306, which adds the brightnessModes hint.
This is a draft until @openmouse/protocol is bumped to a release that
includes it; it does not type-check against the currently published package.

Testing

The VXE R1 Pro and R1 Pro Max take a DPI indicator brightness only while
the effect is steady. The slider stayed enabled while breathing, so a
change appeared to apply and then snapped back on the next read.

Disable the slider when the driver's ui.dpiLighting.brightnessModes hint
is present and does not include the current mode. Devices that do not
send the hint behave as before.
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added type: bug PR title category: bug area: ui Interface and styling area: devices Device integration and HID support labels Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: devices Device integration and HID support area: ui Interface and styling type: bug PR title category: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant