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 

PSP Hooking

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



Joined: 29 Oct 2007
Posts: 4
Location: USA

PostPosted: Mon Oct 29, 2007 6:07 am    Post subject: PSP Hooking Reply with quote

Wondering where to find a good example of hooking for simulating button presses form a Kernel mode app/plugin? Anything would be much appreciated. I have looked through the forum but didn't notice any examples. If you found one I missed please let me know.

Thanks
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Mon Oct 29, 2007 8:31 am    Post subject: Reply with quote

There is a program that already does it, it switches the functions of any button
so must be able to do what you describe.
Don't remember the name or if it came with source, but if you recieve no help,
perhaps you can locate the program, and then it's author.

I guess I will have to join you in the hunt because Gottlieb Pinball is among the
few PSP games I'll ever play, and the shoulder buttons don't feel natural.
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Mon Oct 29, 2007 9:12 am    Post subject: Reply with quote

You can take a look at tyranid remotejoy sources (thanks one more time). Here is a 3.71 version of it with some clear hook functions : http://www.zshare.net/download/4218310a736da6/
Back to top
View user's profile Send private message
danzel



Joined: 04 Nov 2005
Posts: 182

PostPosted: Mon Oct 29, 2007 10:17 am    Post subject: Reply with quote

The button remapper is RemaPSP, I made it ages ago.
Source Code: http://localhost.geek.nz/?p=26

Not sure if it works on the new firmware, probably not.

It was also integrated into one of the cheating apps, CWCheat IIRC?
Back to top
View user's profile Send private message
BrickRisk



Joined: 29 Oct 2007
Posts: 4
Location: USA

PostPosted: Mon Oct 29, 2007 8:55 pm    Post subject: Reply with quote

Thank you for the quick responses, Im going to dig through the source code that danzel posted and see if I can get it integrated into the plugin I already have working. Basically what I'm doing is mapping the headphone remote for the PSP to allow me to control the VSH using HPRM. I can pick up button presses on the remote and now hopefully I will be able to send the psp button presses. The reason I'm doing this is for when I am driving in my car I can just select different items using the remote. I will repost back when I have some more time to dig through the source code.
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Mon Oct 29, 2007 9:22 pm    Post subject: Reply with quote

Not bad for the car,, good idea.
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Tue Oct 30, 2007 3:40 am    Post subject: Reply with quote

danzel wrote:
The button remapper is RemaPSP, I made it ages ago.
Source Code: http://localhost.geek.nz/?p=26

Not sure if it works on the new firmware, probably not.

It was also integrated into one of the cheating apps, CWCheat IIRC?

yes cwcheat :)
Back to top
View user's profile Send private message Visit poster's website
BrickRisk



Joined: 29 Oct 2007
Posts: 4
Location: USA

PostPosted: Mon Nov 12, 2007 6:35 am    Post subject: Remote control working Reply with quote

I have the prx working thanks to pikey, remapsp, and some others. There are some issues that I need to iron out but once they are taken care of I will provide the prx. It does help when navigating in the car no longer have to physically handle the psp makes it a little safer for the driver :)
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