uOFW
Reverse engineered PSP kernel 6.60.
|
#include <ctrl.h>
Data Fields | |
u32 | timeStamp |
u32 | buttons |
u8 | aX |
u8 | aY |
u8 | rX |
u8 | rY |
u8 | rsrv [4] |
This structure is for obtaining button data (button/analog stick information) from the controller using sceCtrlPeekBufferPositive(), sceCtrlReadBufferNegative() etc...
u32 SceCtrlData::timeStamp |
The time stamp of the time during which sampling was performed. Time unit is microseconds. Can be used to get the time period of a button pressing event.
u32 SceCtrlData::buttons |
The currently pressed button. Bitwise OR'ed values of SceCtrlPadButtons.
u8 SceCtrlData::aX |
Analog Stick X-axis offset (0 - 0xFF). Left = 0, Right = 0xFF.
u8 SceCtrlData::aY |
Analog Stick Y-axis offset (0 - 0xFF). Up = 0, Down = 0xFF.
u8 SceCtrlData::rX |
DS3 right analog x-axis. Filled with 0 if input source doesn't allow second analog input.
u8 SceCtrlData::rY |
DS3 right analog y-axis. Filled with 0 if input source doesn't allow second analog input.
u8 SceCtrlData::rsrv[4] |
Reserved.