ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
pad_data Struct Reference

Data Fields

unsigned int frame
 
unsigned char state
 
unsigned char reqState
 
unsigned char ok
 
unsigned char unkn7
 
unsigned char data [32]
 
unsigned int length
 
unsigned char request
 
unsigned char CTP
 
unsigned char model
 
unsigned char correction
 
unsigned char errorCount
 
unsigned char unk49 [15]
 

Detailed Description

Definition at line 120 of file libpad.c.

Field Documentation

◆ correction

unsigned char pad_data::correction

the data in the buffer is already corrected

Definition at line 135 of file libpad.c.

◆ CTP

unsigned char pad_data::CTP

CTP=1/no config; CTP=2/config, acts...

Definition at line 131 of file libpad.c.

◆ data

unsigned char pad_data::data[32]

Definition at line 127 of file libpad.c.

Referenced by padRead().

◆ errorCount

unsigned char pad_data::errorCount

Definition at line 136 of file libpad.c.

◆ frame

unsigned int pad_data::frame

Definition at line 122 of file libpad.c.

Referenced by padGetDmaStr(), and padPortOpen().

◆ length

unsigned int pad_data::length

Definition at line 128 of file libpad.c.

Referenced by padPortOpen(), and padRead().

◆ model

unsigned char pad_data::model

1, 2 or 3

Definition at line 133 of file libpad.c.

◆ ok

unsigned char pad_data::ok

Definition at line 125 of file libpad.c.

Referenced by padPortOpen().

◆ reqState

unsigned char pad_data::reqState

Definition at line 124 of file libpad.c.

Referenced by padGetReqState(), padInfoMode(), padPortOpen(), and padSetReqState().

◆ request

unsigned char pad_data::request

Definition at line 129 of file libpad.c.

◆ state

unsigned char pad_data::state

◆ unk49

unsigned char pad_data::unk49[15]

Definition at line 137 of file libpad.c.

◆ unkn7

unsigned char pad_data::unkn7

Definition at line 126 of file libpad.c.


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