PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
padState_t Struct Reference

Public Member Functions

ee_paddata_t ee_pdata __attribute__ ((aligned(4)))
 
ee_old_paddata_t ee_old_pdata __attribute__ ((aligned(4)))
 

Data Fields

u8 modeConfig
 
u8 modeCurId
 
u8 model
 
u8 numModes
 
u8 modeCurOffs
 
u8 numActuators
 
u8 numActComb
 
u8 disconnected
 
union { 
 
u8 data [4][4]
 
u32 data32 [4]
 
actData 
 
union { 
 
u8 data [4][4]
 
u32 data32 [4]
 
combData 
 
union { 
 
u16 data [4]
 
u32 data32 [2]
 
modeTable 
 
u8 buttonInfo [4]
 
u8 buttonMask [4]
 
u8 modeParam [12]
 
u16 val_c4
 
u16 val_c6
 
u8 inbuffer [32]
 
u8 outbuffer [32]
 
u8 buttonStatus [32]
 
u32 buttonDataReady
 
u8 mode
 
u8 lock
 
union { 
 
u8 data [8]
 
u32 data32 [8/sizeof(u32)]
 
ee_actDirectData 
 
s16 ee_actDirectSize
 
union { 
 
u8 data [8]
 
u32 data32 [8/sizeof(u32)]
 
ee_actAlignData 
 
u16 state
 
u16 reqState
 
u32 frame
 
u32 padarea_ee_addr
 
u32 findPadRetries
 
s32 updatepadTid
 
s32 querypadTid
 
s32 unused158
 
s32 setmainmodeTid
 
s32 setactalignTid
 
s32 setbuttoninfoTid
 
s32 setvrefparamTid
 
int eventflag
 
u16 port
 
u16 slot
 
u32 currentTask
 
u32 runTask
 
u32 taskTid
 
u32 stat70bit
 
u32 val_184
 

Detailed Description

Definition at line 158 of file freepad.h.

Field Documentation

◆ modeConfig

u8 padState_t::modeConfig

Definition at line 162 of file freepad.h.

◆ modeCurId

u8 padState_t::modeCurId

Definition at line 163 of file freepad.h.

◆ model

u8 padState_t::model

Definition at line 164 of file freepad.h.

◆ numModes

u8 padState_t::numModes

Definition at line 165 of file freepad.h.

◆ modeCurOffs

u8 padState_t::modeCurOffs

Definition at line 166 of file freepad.h.

◆ numActuators

u8 padState_t::numActuators

Definition at line 167 of file freepad.h.

◆ numActComb

u8 padState_t::numActComb

Definition at line 168 of file freepad.h.

◆ disconnected

u8 padState_t::disconnected

Definition at line 169 of file freepad.h.

◆ buttonInfo

u8 padState_t::buttonInfo[4]

Definition at line 182 of file freepad.h.

◆ buttonMask

u8 padState_t::buttonMask[4]

Definition at line 183 of file freepad.h.

◆ modeParam

u8 padState_t::modeParam[12]

Definition at line 184 of file freepad.h.

◆ val_c4

u16 padState_t::val_c4

Definition at line 185 of file freepad.h.

◆ val_c6

u16 padState_t::val_c6

Definition at line 186 of file freepad.h.

◆ inbuffer

u8 padState_t::inbuffer[32]

Definition at line 187 of file freepad.h.

◆ outbuffer

u8 padState_t::outbuffer[32]

Definition at line 188 of file freepad.h.

◆ buttonStatus

u8 padState_t::buttonStatus[32]

Definition at line 189 of file freepad.h.

◆ buttonDataReady

u32 padState_t::buttonDataReady

Definition at line 190 of file freepad.h.

◆ mode

u8 padState_t::mode

Definition at line 191 of file freepad.h.

◆ lock

u8 padState_t::lock

Definition at line 192 of file freepad.h.

◆ ee_actDirectSize

s16 padState_t::ee_actDirectSize

Definition at line 197 of file freepad.h.

◆ state

u16 padState_t::state

Definition at line 202 of file freepad.h.

◆ reqState

u16 padState_t::reqState

Definition at line 203 of file freepad.h.

◆ frame

u32 padState_t::frame

Definition at line 204 of file freepad.h.

◆ padarea_ee_addr

u32 padState_t::padarea_ee_addr

Definition at line 205 of file freepad.h.

◆ findPadRetries

u32 padState_t::findPadRetries

Definition at line 206 of file freepad.h.

◆ updatepadTid

s32 padState_t::updatepadTid

Definition at line 207 of file freepad.h.

◆ querypadTid

s32 padState_t::querypadTid

Definition at line 208 of file freepad.h.

◆ unused158

s32 padState_t::unused158

Definition at line 209 of file freepad.h.

◆ setmainmodeTid

s32 padState_t::setmainmodeTid

Definition at line 210 of file freepad.h.

◆ setactalignTid

s32 padState_t::setactalignTid

Definition at line 211 of file freepad.h.

◆ setbuttoninfoTid

s32 padState_t::setbuttoninfoTid

Definition at line 212 of file freepad.h.

◆ setvrefparamTid

s32 padState_t::setvrefparamTid

Definition at line 213 of file freepad.h.

◆ eventflag

int padState_t::eventflag

Definition at line 214 of file freepad.h.

◆ port

u16 padState_t::port

Definition at line 215 of file freepad.h.

◆ slot

u16 padState_t::slot

Definition at line 216 of file freepad.h.

◆ currentTask

u32 padState_t::currentTask

Definition at line 217 of file freepad.h.

◆ runTask

u32 padState_t::runTask

Definition at line 218 of file freepad.h.

◆ taskTid

u32 padState_t::taskTid

Definition at line 219 of file freepad.h.

◆ stat70bit

u32 padState_t::stat70bit

Definition at line 220 of file freepad.h.

◆ val_184

u32 padState_t::val_184

Definition at line 221 of file freepad.h.


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