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 

Note, Volup,Voldown, WlanUp and Home...how to capture them?!

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



Joined: 03 Oct 2007
Posts: 11

PostPosted: Wed Feb 20, 2008 7:54 am    Post subject: Note, Volup,Voldown, WlanUp and Home...how to capture them?! Reply with quote

Hi guys, I have a little problem: i made a program to configure another one, and its aim is to set the key combination of the second program... when you press a key program saves the key combination in a txt file.

The problem is this:
I use this code:

while(1)
{
sceCtrlReadBufferPositive(&pad,1);
switch(pad.Buttons)
{
case PSP_CTRL_HOME:
.......
break;
....


The problem is that PSP_CTRL_NOTE, VOLUP, VOLDOWN, WLAN_UP and HOME does NOT work!!!
Other keys work perfectly, but they not... if you press one of them nothing happen, like no key is pressed... why?!

Thanks to all ;)
Back to top
View user's profile Send private message Send e-mail
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Wed Feb 20, 2008 8:17 am    Post subject: Reply with quote

You need kernel mode to read those keys.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Feb 20, 2008 8:31 am    Post subject: Reply with quote

If you look in apps like SNES9xTYL ME for the Slim, you'll find a prx that allows you to read HOME from a user app. You could also look for the other kernel-level buttons by modifying the prx.
Back to top
View user's profile Send private message AIM Address
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