DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
PAD_STATUS Struct Reference

#include <gamepad.hpp>

Public Attributes

int button
 
int left_y
 
int left_x
 
int right_y
 
int right_x
 
int phase
 
int state
 
int extended_id
 
int pad_mode
 
int previous_pad_mode
 
unsigned char vibration [6]
 
unsigned char actuator [6]
 
int vibration_timer [2]
 
int unk_3C [3]
 

Detailed Description

Defines the state of one controller.

Definition at line 64 of file gamepad.hpp.

Member Data Documentation

◆ button

int PAD_STATUS::button

Specifies the pressed buttons.

Definition at line 65 of file gamepad.hpp.

◆ left_y

int PAD_STATUS::left_y

Specifies the left stick vertical position.

Definition at line 66 of file gamepad.hpp.

◆ left_x

int PAD_STATUS::left_x

Specifies the left stick horizontal position.

Definition at line 67 of file gamepad.hpp.

◆ right_y

int PAD_STATUS::right_y

Specifies the right stick vertical position.

Definition at line 68 of file gamepad.hpp.

◆ right_x

int PAD_STATUS::right_x

Specifies the right stick horizontal position.

Definition at line 69 of file gamepad.hpp.

◆ phase

int PAD_STATUS::phase

Specifies the controller setup phase.

See also
PadSetupPhase.

Definition at line 70 of file gamepad.hpp.

◆ state

int PAD_STATUS::state

Specifies the controller connection state.

Definition at line 71 of file gamepad.hpp.

◆ extended_id

int PAD_STATUS::extended_id

Specifies the extended terminal ID the controller reports.

Definition at line 72 of file gamepad.hpp.

◆ pad_mode

int PAD_STATUS::pad_mode

Specifies the terminal mode of the latest read.

Definition at line 73 of file gamepad.hpp.

◆ previous_pad_mode

int PAD_STATUS::previous_pad_mode

Specifies the terminal mode of the previous successful read.

Definition at line 74 of file gamepad.hpp.

◆ vibration

unsigned char PAD_STATUS::vibration[6]

Specifies the actuator strengths.

Definition at line 75 of file gamepad.hpp.

◆ actuator

unsigned char PAD_STATUS::actuator[6]

Specifies the actuator alignment.

Definition at line 76 of file gamepad.hpp.

◆ vibration_timer

int PAD_STATUS::vibration_timer[2]

Specifies the remaining actuator times.

Definition at line 77 of file gamepad.hpp.

◆ unk_3C

int PAD_STATUS::unk_3C[3]

Definition at line 78 of file gamepad.hpp.