 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Red_Squirrel
Joined: 03 Oct 2007 Posts: 11
|
Posted: Wed Feb 20, 2008 7:54 am Post subject: Note, Volup,Voldown, WlanUp and Home...how to capture them?! |
|
|
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 |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Wed Feb 20, 2008 8:17 am Post subject: |
|
|
| You need kernel mode to read those keys. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Feb 20, 2008 8:31 am Post subject: |
|
|
| 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 |
|
 |
|
|
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
|