LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Nov 22, 2024 5:25

All times are UTC + 2 hours




Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject:
PostPosted: Tue Dec 02, 2008 0:32 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
One possible reason for it not working might be that Michael is currently running a firmware with some experimental touch filtering. Maybe the software isn't getting the kind of input it expects and discards the touch input. I have emailed you this same version.

The touch interface is working here.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 02, 2008 12:48 
Offline

Joined: Tue Jun 17, 2008 15:40
Posts: 35
it works now.
i forget to restart the controller after firmwareupdate.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 05, 2008 13:45 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
New version uploaded: http://mylcd.sourceforge.net/files/vlc_touch1.rar

Touch the display once to fade in the overlay, which then fades out after 4 seconds.
When the overlay is up a FPS display can be toggled by touching the top right corner.

Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 05, 2008 18:30 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Nice to see the touch interface evolving.

Regarding the earlier issue about the touch not working I just realized that the cause was an older firmware that was completely missing the interrupt endpoint. So not any mysterious issue about the software not liking the input but instead it wasn't getting any input at all...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 05, 2008 19:56 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
Henri wrote:
Nice to see the touch interface evolving.

Regarding the earlier issue about the touch not working I just realized that the cause was an older firmware that was completely missing the interrupt endpoint. So not any mysterious issue about the software not liking the input but instead it wasn't getting any input at all...


Thats what I thought too.

Heres the latest version of the touch program: http://mylcd.sourceforge.net/files/touch3.rar
Since we last communicated on this I've since added an 80ms debounce filter to every filtered touch location. This has resulted, to my surprise, in accurate and consistent readings.
Not too good for drag'ing but perfect for buttons.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 13:58 
Offline

Joined: Tue Jun 17, 2008 15:40
Posts: 35
The vlc_touch works fine here.

Michael wrote:
added an 80ms debounce filter to every filtered touch location.


my minimum on my player is 100 ms or i get wrong results some times.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 17, 2008 18:29 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
A standalone file browser: http://mylcd.sourceforge.net/files/fbrowser.rar

Including the path area the red boxes are touch areas. These areas will be replaced by button graphics when this, the framework, is implemented in to vlcstream.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2008 6:32 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
sos wrote:
The vlc_touch works fine here.

Michael wrote:
added an 80ms debounce filter to every filtered touch location.


my minimum on my player is 100 ms or i get wrong results some times.


I believe we may be referring to different things.
You're referring to the period between reads. Whereas I'm referring to the delta time (dt) over the current and previous touch location, as each touch location is given a time. If dt is less than debouncetime (180ms in fbrowser above) then that location is assumed to be a resident of the previous location, and therefore not a new touch instance.

I'm using something similar to the above for the dragging, but in this case the debouncetime is anything less than 40ms.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 21, 2008 0:58 
Offline

Joined: Sun Oct 19, 2008 16:46
Posts: 6
Location: Lpr, Fin
Just wanted to drop in and say that all the demos I tried have worked ok :) Not sure what sort of frames I should get, but I get around 20-25. And while testing the VLC plugin the fps seemed around 20. I coulnd't figure out how to get it to show fps :D

But very cool display I have to say :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 27, 2008 13:50 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
Updated VLC Stream: http://mylcd.sourceforge.net/files/vlcstream.rar


Image

Image


Last edited by Michael on Mon Jan 19, 2009 7:55, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 29, 2008 20:53 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Finally got to testing the latest version(s) of the vlcstream. Works very well :) Great work!
The touch interface seems to work well when used with a stylus. I didn't actually test the file browser with a finger but as there are relatively small elements on the screen stylus might be the more appropriate tool.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2009 2:01 
Offline

Joined: Tue Jan 06, 2009 1:56
Posts: 1
Hi Michael,

How did you manage to get the touch interface to work with the mylcd library? I am playing with the mylcd API and it is great for graphics, but for the life of my I can't get the touch API of Henri's to work with mylcd.

Andy


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2009 6:47 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
langosta39 wrote:
Hi Michael,

How did you manage to get the touch interface to work with the mylcd library? I am playing with the mylcd API and it is great for graphics, but for the life of my I can't get the touch API of Henri's to work with mylcd.

Andy


Hi Langosta,
Touch input wasn't implemented in the 041108 build that you're using, which is the only released build containing USBD480 code.

From within mylcd it is handled through a dedicated thread using a function callback method set through the option interface. Later there will be an option to use a Win32 window handle. This would allow the touch position to be handled in much the same manner as WM_MOUSEMOVE and WM_LBUTTONDOWN.

I'll tidy up the current build then throw it up on the site.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2009 13:25 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
Latest build uploaded.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 10, 2009 22:42 
Offline
User avatar

Joined: Thu Dec 09, 2004 16:01
Posts: 218
Location: NH, USA
So, in order for Michael's demos to work, am I correct in assuming I need to purchase the VLC player???


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group