forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MyPSP Touchscreen: a TS.prx plugin as interface over XMB

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
mypspdev



Joined: 11 Jul 2007
Posts: 178

PostPosted: Sun Oct 12, 2008 6:26 pm    Post subject: MyPSP Touchscreen: a TS.prx plugin as interface over XMB Reply with quote

Hi all, finally MyPSP, the suite I hope you remember with hardware (microcontroller) and software applications for robotics and human interfaces, now has a fully working Touchscreen both on slim (2000) and fat (1000), hope soon with 3000..., too.

It means that MyPSP application could fully use on screen menu commands, including interaction with OpenCV image processing, where it's important.

Now I'm thinking to create a prx plugin to work with Touchscreen since original XMB.

According to the work done with pikey and sio.prx, as well as the original XMB works with up, down, right, left logic, navigating thru all areas, I was thinking to capture from Touchscreen teh same finger-gestures: up, down, right, left, and CROSS as touch without moving, running what in evidence on screen from XMB.

I'll appreciate comments on it or different ideas.

Thanks, best regards
Back to top
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Sun Oct 12, 2008 7:17 pm    Post subject: Reply with quote

You could also grab the position of each items/icons menu (with a little prx running on top of xmb) in every xmb position to allow direct touch of items. It's a lot of work but the result could be cool.
Back to top
View user's profile Send private message
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Sun Oct 12, 2008 7:59 pm    Post subject: Reply with quote

Fist you need to produce a log to get as much data as you can from the toucreen device. One you now enoughinformation about it and how it works, you can then work on the PRX plugin.

Feel free to exploit piKey. There's a lot of usefull snippets in that source code!

Angelo
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Mon Oct 13, 2008 10:07 am    Post subject: Re: MyPSP Touchscreen: a TS.prx plugin as interface over XMB Reply with quote

mypspdev wrote:
Hi all, finally MyPSP, the suite I hope you remember with hardware (microcontroller) and software applications for robotics and human interfaces, now has a fully working Touchscreen both on slim (2000) and fat (1000), hope soon with 3000..., too.

It means that MyPSP application could fully use on screen menu commands, including interaction with OpenCV image processing, where it's important.

Now I'm thinking to create a prx plugin to work with Touchscreen since original XMB.

According to the work done with pikey and sio.prx, as well as the original XMB works with up, down, right, left logic, navigating thru all areas, I was thinking to capture from Touchscreen teh same finger-gestures: up, down, right, left, and CROSS as touch without moving, running what in evidence on screen from XMB.

I'll appreciate comments on it or different ideas.

Thanks, best regards
Cool thing you done. Will you by any chance release your source on placing a touch screen on the psp? I would be pretty nice if you did. Keep up the good work
Back to top
View user's profile Send private message AIM Address
mypspdev



Joined: 11 Jul 2007
Posts: 178

PostPosted: Tue Oct 14, 2008 4:11 pm    Post subject: Re: MyPSP Touchscreen: a TS.prx plugin as interface over XMB Reply with quote

Dariusc123456 wrote:
Cool thing you done. Will you by any chance release your source on placing a touch screen on the psp? I would be pretty nice if you did. Keep up the good work

I'm out of my pc this week, but I can tell you i advance that the RS232 Touchscreen controller I'm using is sending a 4-bytes set:
for example 81xxyy01 when screen is pressed and 80xxyy00 when released.
So a RX thread could receive the pack of the 4-bytes and it's up to the procedure to detect the bit for Press state or release state and convert the Touchscreen/Controller range of xx and yy values into the 480-272 PSP display resolution.
Very very simple, nothing extraordinary.
The most part is to set-up a working hardware.

To work with XMB bya a TS.prx, I'm assuming, but not yet started, as up,down,right,left and CROSS it's just a timed detection of ranges xx_old yy_old to xx_new yy_new for driving directions or no-move touch and send a corresponding character to pikey.
hope it will work: I've to develop this part.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group