Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
PadSlot Struct Reference

One controller: a port, or one of the four multitap slots behind it. More...

#include <engine/pad.h>

Data Fields

u16 pressed
 this frame
 
u16 repeated
 pressed, or held long enough to repeat
 
u16 prevHeld
 
u16 held
 
u8 analog [4]
 
s32 repeatTime [16]
 
u8 repeatCount [16]
 
u8 buttonMap [16]
 
s16 vibrationTimers [2]
 

Detailed Description

One controller: a port, or one of the four multitap slots behind it.

Definition at line 77 of file pad.h.

Field Documentation

◆ pressed

u16 PadSlot::pressed

this frame

Definition at line 78 of file pad.h.

Referenced by getPadPressed(), and readPadButtons().

◆ repeated

u16 PadSlot::repeated

pressed, or held long enough to repeat

Definition at line 79 of file pad.h.

Referenced by getPadRepeated(), and readPadButtons().

◆ prevHeld

u16 PadSlot::prevHeld

Definition at line 80 of file pad.h.

Referenced by readPadButtons().

◆ held

u16 PadSlot::held

Definition at line 81 of file pad.h.

Referenced by getPadHeld(), and readPadButtons().

◆ analog

u8 PadSlot::analog[4]

Definition at line 82 of file pad.h.

Referenced by readPadButtons().

◆ repeatTime

s32 PadSlot::repeatTime[16]

Definition at line 83 of file pad.h.

Referenced by readPadButtons().

◆ repeatCount

u8 PadSlot::repeatCount[16]

Definition at line 84 of file pad.h.

Referenced by readPadButtons().

◆ buttonMap

u8 PadSlot::buttonMap[16]

Definition at line 85 of file pad.h.

Referenced by getButtonBit(), readPadButtons(), and swapButtons().

◆ vibrationTimers

s16 PadSlot::vibrationTimers[2]

Definition at line 86 of file pad.h.

Referenced by setVibration(), and updateVibration().


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