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

#include <gamepad.hpp>

Public Attributes

struct { 
 
   int   unk_00 
 
   PAD_STATUS   status 
 
} input 
 
struct { 
 
   unsigned char   unk_00 [0x2C] 
 
   unsigned char   vibration [6] 
 
   unsigned char   unk_32 [6] 
 
   int   vibration_timer [5] 
 
} actuator 
 

Detailed Description

Defines the input and actuator views of one controller port.

Definition at line 86 of file gamepad.hpp.

Member Data Documentation

◆ unk_00 [1/2]

int PAD_DATA::unk_00

Definition at line 91 of file gamepad.hpp.

◆ status

PAD_STATUS PAD_DATA::status

Specifies the current controller status.

Definition at line 92 of file gamepad.hpp.

◆ [struct]

struct { ... } PAD_DATA::input

Defines the input view of one controller port. Provides the controller input view.

◆ unk_00 [2/2]

unsigned char PAD_DATA::unk_00[0x2C]

Definition at line 99 of file gamepad.hpp.

◆ vibration

unsigned char PAD_DATA::vibration[6]

Specifies the actuator strengths.

Definition at line 100 of file gamepad.hpp.

◆ unk_32

unsigned char PAD_DATA::unk_32[6]

Definition at line 101 of file gamepad.hpp.

◆ vibration_timer

int PAD_DATA::vibration_timer[5]

Specifies the remaining actuator times.

Definition at line 102 of file gamepad.hpp.

◆ [struct]

struct { ... } PAD_DATA::actuator

Defines the actuator view of one controller port. Provides the controller actuator view.