Skip to content

feat: add AYN RGB controls and fake suspend integration#60

Open
antnyhills wants to merge 4 commits into
virtudude:mainfrom
antnyhills:main
Open

feat: add AYN RGB controls and fake suspend integration#60
antnyhills wants to merge 4 commits into
virtudude:mainfrom
antnyhills:main

Conversation

@antnyhills

Copy link
Copy Markdown

This PR adds RGB configuration controls to the Armada Control Decky plugin and fake-suspend script.

Key Features:

  • Adds a new "RGB Settings" tab in the UI using standard gamepad-friendly sliders (R, G, B, Brightness) and sync options.
  • Designed to be hardware-agnostic: Dynamically scans /sys/class/leds/ at runtime. It automatically detects and supports both the unified Linux multicolor framework (used by AYN Odin 2 / Thor) and individual single-channel LED configurations (used by AYN Odin 3).
  • Gracefully degrades: If a device does not have RGB hardware or standard sysfs entries, the discovery system returns empty and ignores writes without throwing errors or crashing the plugin.
  • Updates fake-suspend to dynamically detect and turn off all active RGB/joystick LEDs when entering fake suspend, and cleanly restores their previous states on wake.

Testing:

  • Verified working on AYN Odin 3 (SM8750) using single-channel controls.
  • Untested on any other device.

@virtudude

Copy link
Copy Markdown
Owner

@antnyhills Awesome! Thanks for tackling RGB. Will take a look soon.

@virtudude

Copy link
Copy Markdown
Owner

Haven't forgotten about this. Just trying to get a bunch of game compat and perf changes settled first.

dcossia-proj added a commit to dcossia-proj/armada that referenced this pull request Jul 15, 2026
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.

2 participants