Rockbox

Tasklist

FS#10136 - Touchscreen mode switching in plugins

Attached to Project: Rockbox
Opened by Maurus Cuelenaere (mcuelenaere) - Wednesday, 15 April 2009, 17:07 GMT
Last edited by Maurus Cuelenaere (mcuelenaere) - Sunday, 19 April 2009, 15:22 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When entering some plugins on a touchscreen target, the touchscreen mode sometimes gets set to 3x3 grid when leaving the plugin even though the original setting was absolute mode.

This patch sets the touchscreen mode to 3x3 grid for rockpaint and sets the old mode back when leaving (ideally this should be done for all plugins - or they should get adapted to absolute point mode).
This task depends upon

Closed by  Maurus Cuelenaere (mcuelenaere)
Sunday, 19 April 2009, 15:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  Committed plugin touchscreen mode switching in r20738
Comment by Rob Purchase (shotofadds) - Friday, 17 April 2009, 23:02 GMT
Wouldn't it be easier for the plugin loader to do this? ie. enable grid mode before entering the plugin, and return to the user's preference afterwards.

Those small minority of plugins that are adapted to touchscreen usage should set absolute mode themselves, imho.
Comment by Jonathan Gordon (jdgordon) - Friday, 17 April 2009, 23:15 GMT
agreed...
edit: to elaborate.. the reason 3x3 was added was to make plugins easy to get working... so yes they shuold default to being grid and the ones which are converted should manually swicth to touch
Comment by Maurus Cuelenaere (mcuelenaere) - Saturday, 18 April 2009, 12:28 GMT
Hmm I agree, but IMO this is a hack and should get removed in the future.. (will work on a patch for this)

edit:
How is the user going to know in which mode it is? Shouldn't there be a visual confirmation when switching modes?

Loading...