PSP2SDK
dirty-f9e4f2d
The free SDK for PSP2
|
#include <ctrl.h>
Data Fields | |
uint64_t | timeStamp |
unsigned int | buttons |
unsigned char | lx |
unsigned char | ly |
unsigned char | rx |
unsigned char | ry |
uint8_t | reserved [16] |
Returned controller data
unsigned int SceCtrlData::buttons |
Bit mask containing zero or more of ::CtrlButtons.
unsigned char SceCtrlData::lx |
Left analogue stick, X axis.
unsigned char SceCtrlData::ly |
Left analogue stick, Y axis.
uint8_t SceCtrlData::reserved[16] |
Reserved.
unsigned char SceCtrlData::rx |
Right analogue stick, X axis.
unsigned char SceCtrlData::ry |
Right analogue stick, Y axis.
uint64_t SceCtrlData::timeStamp |
The current read frame.