• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category User Interface
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Version 3.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by jdgordon - 2009-04-14
Last edited by jdgordon - 2009-05-17

FS#10131 - WPS touchscreen

This is the first attempt at getting the touchscreen usable in the WPS.

%T|286|207|24|24|play| ← the line to add to the .wps (%T|x|y|width|height|action| ), if you add that line to the top of cabbiev2 for the mr500 and set the ui to use the touchmode instead of the grid this will make the play/pause icon actually play/pause the music… although the icon should now be reversed…

going by the suggestions in irc, that line is linked to the viewport it is defined in, so those x/y points are relative to the viewport. this also means that the buttons can be enabled/disabled along with the rest of the viewport (untested).

The next step is to add a variable of some sort for a timer so you can display a different viewport for a short time after the touchscreen is touched.
Also, this doesnt handle repeat/holds at all yet and needs to be added… also sliding would be nice (for volume/progress bar)…

currently only 6 actions are supported, but ideally all will be usable.

Closed by  jdgordon
2009-05-17 06:27
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

the last thing I want to eventually add is a slider mechanism for the volume/seeking.. but dont know if/when that will ever happen…. WPS should be very usable now

I tried this out and it works great. What do you think needs to be done to add this to SVN?

at the bare minimum it needs support for holding down a button, or repeat presses. Also more actions.. and finally is the “button pressed” variable which we want to add. Although I am inclined to commit this as is considering how the mr500 port is moving ahead again :)
sunday will be my first chance to play with this again

The above patch was commited in r20753 but there is still the stuff I meanitoned above that needs to be done so leaving this open


Available keyboard shortcuts


Task Details

Task Editing