Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
mReCPd Class Reference

#include <m_Re_controller_pad.h>

+ Collaboration diagram for mReCPd:

Classes

struct  motorWave_t
 
struct  Pad
 

Static Public Member Functions

static void enableDpd (u32)
 
static void disableDpd (u32)
 
static void onConnect (u32)
 
static void setExtensionCallback ()
 
static void onGetInfoAsync (u32)
 
static void create ()
 
static void startMoterWave (motorWave_t *, u8 *, bool)
 
static void startMoterWave (int, u8 *, bool)
 
static void stopMoterWave (motorWave_t *)
 
static void stopMoterWave (int)
 
static void updateMoterWave ()
 
static void stopMoter ()
 
static BOOL getLowBat (u32 chan)
 
static void setLowBat (u32 chan, BOOL low_bat)
 
static void onLowBatChk (u32 chan)
 
static void procNoData (u32 chan)
 
static void read ()
 
static f32 calibrateDist (int)
 
static Vec2getDpd2DPos (u32 chan)
 
static Vec2getDpdRatioPos (u32 chan)
 
static Vec2getDpdPlayBoxPos (u32 chan)
 
static BOOL chkDpdOk (u32 chan)
 
static BOOL chkDpdValid (u32 chan)
 
static BOOL chkDpdPosIn (u32 chan)
 
static void getKPADAcc (u32 chan, Vec *, int)
 
static s16 getAngleXy (u32 chan)
 
static s16 getAngleZy (u32 chan)
 
static f32 getKPADAccValue (u32 chan, int)
 
static f32 getKPADAccValueMax (u32 chan)
 
static f32 getKPADAccSpeed (u32 chan, int)
 
static f32 getKPADAccSpeedMax (u32 chan)
 
static f32 getKPADFSAccValue (u32 chan, int)
 
static f32 getKPADFSAccValueMax (u32 chan)
 
static s16 getFSStickAngle3DRev (u32 chan)
 
static void calcUnderVec (Pad::Acc *acc_p, f32)
 
static u32 getHoldB (u32)
 
static u32 getHoldMinus (u32)
 
static u32 getHoldPlus (u32)
 
static u32 getHoldZ1 (u32)
 
static u32 getTrigB (u32)
 
static u32 getTrigMinus (u32)
 
static u32 getTrigHome (u32)
 
static u32 getTrigPlus (u32)
 
static u32 getTrigZ1 (u32)
 
static u32 chkSwingBlock (u32)
 
static u32 getTrigSwing (u32)
 
static Vec2getSwingVec (u32)
 
static u32 chkSimpleProbe (u32)
 
static BOOL chkDevTypeValid (u32)
 
static u32 getFSTrigSwing (u32)
 
static void plusCalValue ()
 
static void minusCalValue ()
 
static WPADInfogetPadInfo (u32 i_pad)
 
static PadgetPad (u32 i_pad)
 
static u32 getTrig (u32 i_pad)
 
static u32 getHold (u32 i_pad)
 
static u32 getHoldA (u32 i_pad)
 
static u32 getHoldRight (u32 i_pad)
 
static u32 getHoldLeft (u32 i_pad)
 
static u32 getHoldUp (u32 i_pad)
 
static u32 getTrigA (u32 i_pad)
 
static u32 getTrigRight (u32 i_pad)
 
static u32 getTrigLeft (u32 i_pad)
 
static u32 getTrigUp (u32 i_pad)
 
static u32 getTrigStart (u32 i_pad)
 

Static Public Attributes

static WPADInfo m_pad_info [WPAD_MAX_CONTROLLERS]
 
static Pad m_pad [WPAD_MAX_CONTROLLERS]
 
static motorWave_t m_motorWave [WPAD_MAX_CONTROLLERS]
 
static int m_cal_value
 

Member Function Documentation

◆ calcUnderVec()

void mReCPd::calcUnderVec ( Pad::Acc * acc_p,
f32 param_1 )
static

◆ calibrateDist()

f32 mReCPd::calibrateDist ( int param_0)
static

◆ chkDevTypeValid()

BOOL mReCPd::chkDevTypeValid ( u32 i_padNo)
static

◆ chkDpdOk()

BOOL mReCPd::chkDpdOk ( u32 chan)
static

◆ chkDpdPosIn()

BOOL mReCPd::chkDpdPosIn ( u32 chan)
static

◆ chkDpdValid()

BOOL mReCPd::chkDpdValid ( u32 chan)
static

◆ chkSimpleProbe()

u32 mReCPd::chkSimpleProbe ( u32 i_padNo)
static

◆ chkSwingBlock()

u32 mReCPd::chkSwingBlock ( u32 i_padNo)
static

◆ create()

void mReCPd::create ( )
static

◆ disableDpd()

void mReCPd::disableDpd ( u32 param_0)
static

◆ enableDpd()

void mReCPd::enableDpd ( u32 param_0)
static

◆ getAngleXy()

s16 mReCPd::getAngleXy ( u32 chan)
static

◆ getAngleZy()

s16 mReCPd::getAngleZy ( u32 chan)
static

◆ getDpd2DPos()

Vec2 & mReCPd::getDpd2DPos ( u32 chan)
static

◆ getDpdPlayBoxPos()

Vec2 & mReCPd::getDpdPlayBoxPos ( u32 chan)
static

◆ getDpdRatioPos()

Vec2 & mReCPd::getDpdRatioPos ( u32 chan)
static

◆ getFSStickAngle3DRev()

s16 mReCPd::getFSStickAngle3DRev ( u32 chan)
static

◆ getFSTrigSwing()

u32 mReCPd::getFSTrigSwing ( u32 i_padNo)
static

◆ getHold()

static u32 mReCPd::getHold ( u32 i_pad)
inlinestatic

◆ getHoldA()

static u32 mReCPd::getHoldA ( u32 i_pad)
inlinestatic

◆ getHoldB()

u32 mReCPd::getHoldB ( u32 i_padNo)
static

◆ getHoldLeft()

static u32 mReCPd::getHoldLeft ( u32 i_pad)
inlinestatic

◆ getHoldMinus()

u32 mReCPd::getHoldMinus ( u32 i_padNo)
static

◆ getHoldPlus()

u32 mReCPd::getHoldPlus ( u32 i_padNo)
static

◆ getHoldRight()

static u32 mReCPd::getHoldRight ( u32 i_pad)
inlinestatic

◆ getHoldUp()

static u32 mReCPd::getHoldUp ( u32 i_pad)
inlinestatic

◆ getHoldZ1()

u32 mReCPd::getHoldZ1 ( u32 i_padNo)
static

◆ getKPADAcc()

void mReCPd::getKPADAcc ( u32 chan,
Vec * param_1,
int param_2 )
static

◆ getKPADAccSpeed()

f32 mReCPd::getKPADAccSpeed ( u32 chan,
int param_1 )
static

◆ getKPADAccSpeedMax()

f32 mReCPd::getKPADAccSpeedMax ( u32 chan)
static

◆ getKPADAccValue()

f32 mReCPd::getKPADAccValue ( u32 chan,
int param_1 )
static

◆ getKPADAccValueMax()

f32 mReCPd::getKPADAccValueMax ( u32 chan)
static

◆ getKPADFSAccValue()

f32 mReCPd::getKPADFSAccValue ( u32 chan,
int param_1 )
static

◆ getKPADFSAccValueMax()

f32 mReCPd::getKPADFSAccValueMax ( u32 chan)
static

◆ getLowBat()

BOOL mReCPd::getLowBat ( u32 chan)
static

◆ getPad()

static Pad & mReCPd::getPad ( u32 i_pad)
inlinestatic

◆ getPadInfo()

static WPADInfo & mReCPd::getPadInfo ( u32 i_pad)
inlinestatic

◆ getSwingVec()

Vec2 & mReCPd::getSwingVec ( u32 i_padNo)
static

◆ getTrig()

static u32 mReCPd::getTrig ( u32 i_pad)
inlinestatic

◆ getTrigA()

static u32 mReCPd::getTrigA ( u32 i_pad)
inlinestatic

◆ getTrigB()

u32 mReCPd::getTrigB ( u32 i_padNo)
static

◆ getTrigHome()

u32 mReCPd::getTrigHome ( u32 i_padNo)
static

◆ getTrigLeft()

static u32 mReCPd::getTrigLeft ( u32 i_pad)
inlinestatic

◆ getTrigMinus()

u32 mReCPd::getTrigMinus ( u32 i_padNo)
static

◆ getTrigPlus()

u32 mReCPd::getTrigPlus ( u32 i_padNo)
static

◆ getTrigRight()

static u32 mReCPd::getTrigRight ( u32 i_pad)
inlinestatic

◆ getTrigStart()

static u32 mReCPd::getTrigStart ( u32 i_pad)
inlinestatic

◆ getTrigSwing()

u32 mReCPd::getTrigSwing ( u32 i_padNo)
static

◆ getTrigUp()

static u32 mReCPd::getTrigUp ( u32 i_pad)
inlinestatic

◆ getTrigZ1()

u32 mReCPd::getTrigZ1 ( u32 i_padNo)
static

◆ minusCalValue()

void mReCPd::minusCalValue ( )
static

◆ onConnect()

void mReCPd::onConnect ( u32 i_padNo)
static

◆ onGetInfoAsync()

void mReCPd::onGetInfoAsync ( u32 i_padNo)
static

◆ onLowBatChk()

void mReCPd::onLowBatChk ( u32 chan)
static

◆ plusCalValue()

void mReCPd::plusCalValue ( )
static

◆ procNoData()

void mReCPd::procNoData ( u32 chan)
static

◆ read()

void mReCPd::read ( )
static

◆ setExtensionCallback()

void mReCPd::setExtensionCallback ( )
static

◆ setLowBat()

void mReCPd::setLowBat ( u32 chan,
BOOL low_bat )
static

◆ startMoterWave() [1/2]

void mReCPd::startMoterWave ( int wave_idx,
u8 * param_1,
bool param_2 )
static

◆ startMoterWave() [2/2]

void mReCPd::startMoterWave ( motorWave_t * wave,
u8 * param_1,
bool param_2 )
static

◆ stopMoter()

void mReCPd::stopMoter ( )
static

◆ stopMoterWave() [1/2]

void mReCPd::stopMoterWave ( int wave_idx)
static

◆ stopMoterWave() [2/2]

void mReCPd::stopMoterWave ( motorWave_t * wave)
static

◆ updateMoterWave()

void mReCPd::updateMoterWave ( )
static

Member Data Documentation

◆ m_cal_value

int mReCPd::m_cal_value
static

◆ m_motorWave

mReCPd::motorWave_t mReCPd::m_motorWave
static

◆ m_pad

mReCPd::Pad mReCPd::m_pad
static

◆ m_pad_info

WPADInfo mReCPd::m_pad_info
static

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