FS#9460 - button tokens in the wps for volume

Attached to Project: Rockbox
Opened by Jonathan Gordon (jdgordon) - Monday, 06 October 2008, 07:54 GMT
Last edited by Jonathan Gordon (jdgordon) - Thursday, 09 October 2008, 11:10 GMT
Task Type Patches
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


this patch adds %Bv to the wps which will be true when the volume button is being pressed so you can put fun stuff on the screen like some of the OF's if you want... (it will stay true for about 1s after the volume stops being changed.. might need to lower that though)
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Thursday, 09 October 2008, 11:10 GMT
Reason for closing:  Accepted
Comment by Jonathan Gordon (jdgordon) - Tuesday, 07 October 2008, 08:50 GMT
updated version.. the tag is now %mv, also changed a comment.

I dont know if conditionals can have parameters so for the time being its hard coded to change back to false after 1s with no volume button being pressed which I think is OK... 1/2s is too fast and will change back to false quickly between pressing the button and it realising its a repeat button.