Skip to content

feat(pico4-monado): control the PICO 4 backlight from SteamVR - #47

Merged
Xenolphthalein merged 3 commits into
overpressure:mainfrom
Freezermod:feat/pico4-hardware-brightness
Dec 3, 2026
Merged

Xenolphthalein merged 3 commits into
overpressure:mainfrom
Freezermod:feat/pico4-hardware-brightness

Conversation

@Freezermod

Copy link
Copy Markdown

Expose SteamVR’s Display Brightness slider in Quick Settings and VR Settings on the original PICO 4. Moving the slider adjusts the physical backlight for both lenses from 30% to 100%.

The driver converts SteamVR’s saved analog gain to a backlight percentage and sends it to the GD32 through the existing lens worker. Lens, fan, and brightness requests share the same UART lock. The worker checks the level periodically because the fan service can reset it when waking the controller.

Testing

  • Built and installed a Phoenix 2026.11.0b1 image with only pico4-monado changed. Both lenses visibly followed the Quick Settings slider, and the controller reported 30 and 100 at the endpoints.
  • Set brightness to 41%, let the headset enter standby, and confirmed it woke at 41%.
  • Stopped the driver, set the controller to 63, and rebooted with 41% saved in SteamVR. The driver restored the controller to 41.
  • Ran the repository’s 31 tests and the lens and backlight protocol tests. The latter cover the serial requests, acknowledgement, invalid checksum, and out-of-range writes.

@Freezermod
Freezermod requested review from a team as code owners November 30, 2026 05:50
@Xenolphthalein
Xenolphthalein force-pushed the feat/pico4-hardware-brightness branch from b43d3cf to 0d2d578 Compare December 3, 2026 12:10
@Xenolphthalein
Xenolphthalein merged commit 029e554 into overpressure:main Dec 3, 2026
24 checks passed
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