Skip to content

Added rgb_react.sh RGB daemon#734

Open
DanjelRicci wants to merge 2 commits into
MustardOS:mainfrom
DanjelRicci:screen-react
Open

Added rgb_react.sh RGB daemon#734
DanjelRicci wants to merge 2 commits into
MustardOS:mainfrom
DanjelRicci:screen-react

Conversation

@DanjelRicci

Copy link
Copy Markdown

script/device/rgb_react.sh samples the framebuffer and drives the RGB sticks to
match on-screen colour (saturation-weighted average, adaptive boost, exponential
smoothing) over the sysfs or serial backend.

  • Active while settings/rgb/mode == 10 (RGB_MODE_SCREEN_REACT) and settings/general/rgb == 1; exits on any other state.
  • Single instance via /run/muos/rgb_react.pid.
  • Blanks and stands aside on idle/dim (IDLE_STATE); stays on during low battery, like every other mode.
  • Joypad backend not implemented — the daemon exits on joypad devices.

Launched by murgb restore (companion frontend PR).

@DanjelRicci DanjelRicci marked this pull request as draft July 10, 2026 08:41
@DanjelRicci DanjelRicci marked this pull request as ready for review July 10, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant