This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7904 - Disable shut down on Rockpaint for iPod & Suggestions
|
DetailsHolding the Pause button (to move/paint down) will shut down rockbox.
This shutdown combination should be disabled for Rockpaint! While I'm at it (and you can put this in a different Flyspray if you want), I suggest that we make use of the iPod scrollwheel somehow in Rockpaint, maybe to change the size or shape of the brush or something and/or in the menus. I would also like to be able to set the colour of the background to start with. |
This task depends upon
Has anyone done anything about it?
Basically it works by adding a function to the Button Driver, and a pointer to it in the plugin API. Calling button_delay_sw_poweroff(true) greatly increases the time the user must hold the Poweroff button before the player shuts down. The delay is removed with a subsequent call to button_delay_sw_poweroff(false).
Normally, the user must hold it for 3 seconds; but if it is held for at least 30 seconds, Rockbox attempts to force the player off.
With the patch, if the SW Poweroff is delayed, the user must hold it for 30 seconds (plenty of time to move the brush), or for 120 seconds to have Rockbox attempt to force the player off.
Also note that this bug does not apply just to Rockpaint, but other plugins as well. I added the fix to Pong in this patch as well. I don't use a lot of the plugins, so I'm not sure if there are any others which may be affected.
I specifically went with adding a temporary delay, rather than temporarily disabling the SW Poweroff, as a safety net.