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 port)
 
void triggerPatternedRumble (u32 length)
 
void startPatternedRumble (void *data, ERumble rumble, u32 length)
 
void stopPatternedRumble (s16 port)
 
void stopPatternedRumbleAtThePeriod ()
 
void stopMotorHard (int port)
 

Static Public Member Functions

static void startMotor (int port)
 
static void stopMotor (int port, bool hard_stop)
 
static void setEnabled (u32 mask)
 
static bool isEnabled (u32 mask)
 
static bool isEnabledPort (int port)
 

Public Attributes

u32 mFrame
 
u32 mLength
 
u8mPattern
 
u32 mFrameCount
 
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  mask)
static

◆ startMotor()

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

◆ startPatternedRumble()

void JUTGamePad::CRumble::startPatternedRumble ( void data,
ERumble  rumble,
u32  length 
)

◆ stopMotor()

void JUTGamePad::CRumble::stopMotor ( int  port,
bool  hard_stop 
)
static

◆ stopMotorHard()

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

◆ stopPatternedRumble()

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

◆ stopPatternedRumbleAtThePeriod()

void JUTGamePad::CRumble::stopPatternedRumbleAtThePeriod ( )

◆ triggerPatternedRumble()

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

◆ update()

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

Member Data Documentation

◆ field_0x10

u8* JUTGamePad::CRumble::field_0x10

◆ mEnabled

u32 JUTGamePad::CRumble::mEnabled
static

◆ mFrame

u32 JUTGamePad::CRumble::mFrame

◆ mFrameCount

u32 JUTGamePad::CRumble::mFrameCount

◆ mLength

u32 JUTGamePad::CRumble::mLength

◆ mPattern

u8* JUTGamePad::CRumble::mPattern

◆ mStatus

bool JUTGamePad::CRumble::mStatus
static

◆ sChannelMask

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

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