Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: sockbox on August 06, 2010, 03:14:52 PM

Title: One-click toggle between viewports in WPS
Post by: sockbox on August 06, 2010, 03:14:52 PM
I'd like the ability to toggle between viewports with the click of a button; specifically the down button which is currently not being used for anything on the Sansa Clip (except when you hold the button down to view the playlist).  I imagine that the coding will look something like this:

%?Vt<%Vd(a)%Vd(d);%Vd(b);%Vd(c)>

Meaning display %Vd(a) and %Vd(d) first; 1st click displays %Vd(b); 2nd click displays %Vd(c).

In the meantime, I've used the playing status to switch between viewports. When the player is playing one screen is shown; when paused, another; etc.

Here's the skin I wrote where switching between viewports w/ one-click would be extremely useful:
http://themes.rockbox.org/index.php?themeid=968&target=sansaclipplus

Thanks.
Title: Re: One-click toggle between viewports in WPS
Post by: JdGordon on August 07, 2010, 05:04:37 AM
I implemented this a while ago and gave up because there was huge opposition to stealing buttons for skins.
Title: Re: One-click toggle between viewports in WPS
Post by: seani on August 07, 2010, 09:35:04 AM
How about adding it as an option to bind to the WPS hotkey?