Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JUTGamePad::CRumble Struct Reference

#include <JUTGamePad.h>

Public Types

enum  ERumble { VAL_0 = 0 , VAL_1 = 1 , VAL_2 = 2 }
 

Public Member Functions

 CRumble (JUTGamePad *pad)
 
void clear ()
 
void clear (JUTGamePad *pad)
 
void update (s16 unk0)
 
void triggerPatternedRumble (u32 unk0)
 
void startPatternedRumble (void *unk0, ERumble rumble, u32 unk1)
 
void stopPatternedRumble (s16 pad_port)
 
void stopPatternedRumbleAtThePeriod ()
 
void stopMotorHard (int portNo)
 

Static Public Member Functions

static void startMotor (int channel)
 
static void stopMotor (int channel, bool stop)
 
static void setEnabled (u32 pad_mask)
 
static bool isEnabled (u32 mask)
 
static bool isEnabledPort (int port)
 

Public Attributes

u32 field_0x0
 
u32 field_0x4
 
u8field_0x8
 
u32 field_0xc
 
u8field_0x10
 

Static Public Attributes

static u32 sChannelMask [4]
 
static bool mStatus [4]
 
static u32 mEnabled
 

Member Enumeration Documentation

◆ ERumble

Enumerator
VAL_0 
VAL_1 
VAL_2 

Constructor & Destructor Documentation

◆ CRumble()

JUTGamePad::CRumble::CRumble ( JUTGamePad pad)
inline

Member Function Documentation

◆ clear() [1/2]

void JUTGamePad::CRumble::clear ( )

◆ clear() [2/2]

void JUTGamePad::CRumble::clear ( JUTGamePad pad)

◆ isEnabled()

static bool JUTGamePad::CRumble::isEnabled ( u32  mask)
inlinestatic

◆ isEnabledPort()

static bool JUTGamePad::CRumble::isEnabledPort ( int  port)
inlinestatic

◆ setEnabled()

void JUTGamePad::CRumble::setEnabled ( u32  pad_mask)
static

◆ startMotor()

void JUTGamePad::CRumble::startMotor ( int  channel)
static

◆ startPatternedRumble()

void JUTGamePad::CRumble::startPatternedRumble ( void unk0,
ERumble  rumble,
u32  unk1 
)

◆ stopMotor()

void JUTGamePad::CRumble::stopMotor ( int  channel,
bool  stop 
)
static

◆ stopMotorHard()

void JUTGamePad::CRumble::stopMotorHard ( int  portNo)
inline

◆ stopPatternedRumble()

void JUTGamePad::CRumble::stopPatternedRumble ( s16  pad_port)

◆ stopPatternedRumbleAtThePeriod()

void JUTGamePad::CRumble::stopPatternedRumbleAtThePeriod ( )

◆ triggerPatternedRumble()

void JUTGamePad::CRumble::triggerPatternedRumble ( u32  unk0)

◆ update()

void JUTGamePad::CRumble::update ( s16  unk0)

Member Data Documentation

◆ field_0x0

u32 JUTGamePad::CRumble::field_0x0

◆ field_0x10

u8* JUTGamePad::CRumble::field_0x10

◆ field_0x4

u32 JUTGamePad::CRumble::field_0x4

◆ field_0x8

u8* JUTGamePad::CRumble::field_0x8

◆ field_0xc

u32 JUTGamePad::CRumble::field_0xc

◆ mEnabled

u32 JUTGamePad::CRumble::mEnabled
static

◆ mStatus

bool JUTGamePad::CRumble::mStatus
static

◆ sChannelMask

SECTION_DATA u32 JUTGamePad::CRumble::sChannelMask
static
Initial value:
= {
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74

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