uOFW
Reverse engineered PSP kernel 6.60.
Data Fields
SceCtrlData Struct Reference

#include <ctrl.h>

Data Fields

u32 timeStamp
 
u32 buttons
 
u8 aX
 
u8 aY
 
u8 rX
 
u8 rY
 
u8 rsrv [4]
 

Detailed Description

This structure is for obtaining button data (button/analog stick information) from the controller using sceCtrlPeekBufferPositive(), sceCtrlReadBufferNegative() etc...

Field Documentation

◆ timeStamp

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.

◆ buttons

u32 SceCtrlData::buttons

The currently pressed button. Bitwise OR'ed values of SceCtrlPadButtons.

◆ aX

u8 SceCtrlData::aX

Analog Stick X-axis offset (0 - 0xFF). Left = 0, Right = 0xFF.

◆ aY

u8 SceCtrlData::aY

Analog Stick Y-axis offset (0 - 0xFF). Up = 0, Down = 0xFF.

◆ rX

u8 SceCtrlData::rX

DS3 right analog x-axis. Filled with 0 if input source doesn't allow second analog input.

◆ rY

u8 SceCtrlData::rY

DS3 right analog y-axis. Filled with 0 if input source doesn't allow second analog input.

◆ rsrv

u8 SceCtrlData::rsrv[4]

Reserved.


The documentation for this struct was generated from the following file: