PSPSDK 2025-05-14
|
Controller data. More...
#include <ctrl/pspctrl.h>
Data Fields | |
unsigned int | TimeStamp |
Current read frame. | |
unsigned int | Buttons |
Buttons in pressed state. | |
unsigned char | Lx |
X-axis value of the Analog Stick. | |
unsigned char | Ly |
Y-axis value of the Analog Stick. | |
unsigned char | Rx |
X-axis value of the right Analog Stick, valid when using DualShock 3 on PSP GO, a PS VITA system, through hardware/software hacking, or system emulation. | |
unsigned char | Ry |
Y-axis value of the right Analog Stick, valid when using DualShock 3 on PSP GO, a PS VITA system, through hardware/software hacking, or system emulation. | |
unsigned char | Reserved [4] |
Reserved bytes unused by the firmware. | |
Controller data.
Contains current button and axis state.
unsigned int SceCtrlData::Buttons |
Buttons in pressed state.
Mask the value with one or more PspCtrlButtons flags to access specific buttons.
Referenced by pspDebugKbInit().
unsigned char SceCtrlData::Lx |
X-axis value of the Analog Stick.
unsigned char SceCtrlData::Ly |
Y-axis value of the Analog Stick.
unsigned char SceCtrlData::Reserved[4] |
Reserved bytes unused by the firmware.
unsigned char SceCtrlData::Rx |
X-axis value of the right Analog Stick, valid when using DualShock 3 on PSP GO, a PS VITA system, through hardware/software hacking, or system emulation.
unsigned char SceCtrlData::Ry |
Y-axis value of the right Analog Stick, valid when using DualShock 3 on PSP GO, a PS VITA system, through hardware/software hacking, or system emulation.
unsigned int SceCtrlData::TimeStamp |
Current read frame.
Referenced by pspDebugKbInit().