PSP_CTRL_SELECT Select button.
PSP_CTRL_START Start button.
PSP_CTRL_UP Up D-Pad button.
PSP_CTRL_RIGHT Right D-Pad button.
PSP_CTRL_DOWN Down D-Pad button.
PSP_CTRL_LEFT Left D-Pad button.
PSP_CTRL_LTRIGGER Left trigger.
PSP_CTRL_RTRIGGER Right trigger.
PSP_CTRL_TRIANGLE Triangle button.
PSP_CTRL_CIRCLE Circle button.
PSP_CTRL_CROSS Cross button.
PSP_CTRL_SQUARE Square button.
PSP_CTRL_HOME Home button.
PSP_CTRL_HOLD Hold button.
PSP_CTRL_NOTE Music Note button.
what i miss is the little + and - button near the hold button.
are they not accessable?
(would like to map zoom on it as the signs on psp would perfectly fit ;) )
greets
lumo
"Good artists copy, great artists steal." Pablo Picasso go2lumo.com
I too want to know all of the Control types. Especially the dimmer buttonb(backlight). Ask the creator of PSPShot i think it was, he had the +/- sign save smaller or larger images
if you got time please test it. (you have to mod the .h file or define the values for PSP_CTRL_UNASSIGNEDX in your src.)
let me know if you find something out about the missing buttons ;)
greets
lumo
"Good artists copy, great artists steal." Pablo Picasso go2lumo.com
Those unassigned values do not seem to do anything for me, however I am running in user-mode, and some buttons (e.g Note) can only be accessed from within kernel mode. Some of those unassigned values might be for the PSP Remote if it's attatched.
Just guessing, but those unassigned buttons might be
Remote: Next, Previous, play, vol up, vol down, hold
Console: +,-,hold
Which totals 9 buttons.
#define PSP_CTRL_WLAN_UP 0x00040000 /* active on HOLD */
#define PSP_CTRL_REMOTE 0x00080000 /* active on HOLD */
#define PSP_CTRL_VOLUP 0x00100000
#define PSP_CTRL_VOLDOWN 0x00200000
#define PSP_CTRL_SCREEN 0x00400000
#define PSP_CTRL_DISC 0x01000000
... and you need to be in kernel mode to use those, there is no way to handle them in usermode. the buttons on the remote itself are handled differently and dont appear in the buttons bitfield at all.
Uh huh, whats the active on HOLD junk? Does that mean if the power switch is held down to hold, itll be active? And for if the WLAN is down, then itd 'not' be the one speciied, or is when active, then itll work?
Think that could work? Have 1 button be using another? Then if its in Hold, after like 2 seconds, itll go all black
Despite your code won't even compile, even if it would, it would do nothing. And even if you corrected it to actually set the Bitmask for the screen button as you wanted to do, then it wouldn't make the PSP think this button is pressed, because the bitmask is just a return value. You could even set it to 2^32-1 and it wouldn't even make the PSP moan.
even though i dont code, i think you should try to get ahold of Andy Fung, wasn't he the first person to utilize the remote dongle functions in a psp app? I think he was. Anyways just trying to help.
worrying is like a rocking chair; it gives you something to do but gets you nowhere!~Me
And what about the headphones remote control buttons how do they works?. I've try something by including psphprm.h and trying to use some functions like sceHprmIsHeadphoneExist() but nothing. Is there someone who knows a source code that explains how to use them?. Thanks.