Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: tspoon on August 20, 2009, 03:22:59 PM

Title: Touchscreen query.
Post by: tspoon on August 20, 2009, 03:22:59 PM
 Hi I have been experimenting with an Onda VX747, and I eventually found out you need to have the touchscreen set to 'absolute point' mode, not '3x3 grid' mode, for custom Touchscreen events in my wps to be active. The problem is that when the touchscreen is in point mode, the normal touchscreen controls outside wps don't work, you revert to using the buttons. Is there any way to have your cake and eat it here?

 Another question I have is regarding the %Tl tag which you can test to see if the touchscreen is being touched. If you use this tag within a viewport does it detect a touch for the viewport only? My idea is to define several small viewports, using them as 'buttons', to then show different information in the main viewport while each 'button' is pressed. It could be a method to have a very clean interface, using buttons to show less often needed info such as next track info, file info, db info, or the time and date, as needed.
Title: Re: Touchscreen query.
Post by: Serious on August 20, 2009, 04:20:38 PM
Unfortunately, %Tl tag indicates whether touchscreen is being touched independently from viewport.
Maybe anyone could make a patch?
Title: Re: Touchscreen query.
Post by: JdGordon on August 20, 2009, 05:20:41 PM
%Tl has no idea of viewports, its either touched or not.. I dont tinhk it makes sen.... hmm... maybe it would be nice if the touchscreen region could set a different tags value (maybe %Tl) so you coold do what you want... I'll have a tihnk about it...

I'm surprised the WPS doesnt put it in point/stylus mode... thats a bug if it doesnt (I think)
Title: Re: Touchscreen query.
Post by: mcuelenaere on August 20, 2009, 07:35:17 PM
I'm surprised the WPS doesnt put it in point/stylus mode... thats a bug if it doesnt (I think)
I don't think that's a bug, I can imagine some people like the grid mode in WPS (which also allows you to use unported WPS'es).
Title: Re: Touchscreen query.
Post by: JdGordon on August 20, 2009, 07:45:48 PM
ok, but how about if there are regions defined we force that mode?
Title: Re: Touchscreen query.
Post by: tspoon on August 21, 2009, 04:46:20 AM
Also, on the colour selection screen, the sliders don't work when in grid mode. So that would also be one time it really needs to be in point mode when in the menus.