1
0
Fork 0
forked from len0rd/rockbox

rgnano: Instant play support and proper system brightness/volume handling

Instant play is a Funkey OS feature that allows it to relaunch at boot the last program it was running before shutting down, which means that if the handheld is powered off (holding the power button) while rockbox is running the next time it's powered on rockbox will launch at boot.

This commit also handles system brightness/volume in rockbox itself instead of the launch script, so the values are properly reset when powering off the handheld while rockbox is running.

Change-Id: Ie1adbf71069aeed5fbf6670971718a2f718716a3
This commit is contained in:
Hairo R. Carela 2025-08-05 22:56:17 -04:00 committed by Solomon Peachy
parent 16a6ad032f
commit 46d10dda33
5 changed files with 167 additions and 7 deletions

View file

@ -230,6 +230,7 @@ target/hosted/maemo/maemo-thread.c
target/hosted/sysfs.c
target/hosted/power-linux.c
target/hosted/backlight-unix.c
target/hosted/anbernic/instant_play.c
target/hosted/anbernic/power-rgnano.c
target/hosted/anbernic/button-rgnano.c
target/hosted/anbernic/powermgmt-rgnano.c