SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
WPadButton Class Reference

Public Member Functions

 WPadButton (const WPad *)
 
void update ()
 
bool testButtonUp () const
 
bool testButtonDown () const
 
bool testButtonLeft () const
 
bool testButtonRight () const
 
bool testButtonA () const
 
bool testButtonB () const
 
bool testButtonMinus () const
 
bool testButtonPlus () const
 
bool testButton1 () const
 
bool testButton2 () const
 
bool testButtonC () const
 
bool testButtonZ () const
 
bool testTriggerUp () const
 
bool testTriggerDown () const
 
bool testTriggerLeft () const
 
bool testTriggerRight () const
 
bool testTriggerA () const
 
bool testTriggerB () const
 
bool testTriggerMinus () const
 
bool testTriggerHome () const
 
bool testTriggerPlus () const
 
bool testTrigger1 () const
 
bool testTrigger2 () const
 
bool testTriggerC () const
 
bool testTriggerZ () const
 
bool testReleaseZ () const
 
bool isChangeAnyState () const
 

Public Attributes

const WPadmPad
 
u32 mHold
 
u32 _8
 
u32 mRelease
 
u32 _10
 
f32 mDelaySec
 
f32 mPulseSec
 

Detailed Description

Definition at line 5 of file WPadButton.hpp.

Constructor & Destructor Documentation

◆ WPadButton()

WPadButton::WPadButton ( const WPad * pPad)

Definition at line 3 of file WPadButton.cpp.

Member Function Documentation

◆ update()

void WPadButton::update ( )

Definition at line 14 of file WPadButton.cpp.

◆ testButtonUp()

bool WPadButton::testButtonUp ( ) const

Definition at line 39 of file WPadButton.cpp.

◆ testButtonDown()

bool WPadButton::testButtonDown ( ) const

Definition at line 43 of file WPadButton.cpp.

◆ testButtonLeft()

bool WPadButton::testButtonLeft ( ) const

Definition at line 47 of file WPadButton.cpp.

◆ testButtonRight()

bool WPadButton::testButtonRight ( ) const

Definition at line 51 of file WPadButton.cpp.

◆ testButtonA()

bool WPadButton::testButtonA ( ) const

Definition at line 55 of file WPadButton.cpp.

◆ testButtonB()

bool WPadButton::testButtonB ( ) const

Definition at line 59 of file WPadButton.cpp.

◆ testButtonMinus()

bool WPadButton::testButtonMinus ( ) const

Definition at line 63 of file WPadButton.cpp.

◆ testButtonPlus()

bool WPadButton::testButtonPlus ( ) const

Definition at line 67 of file WPadButton.cpp.

◆ testButton1()

bool WPadButton::testButton1 ( ) const

Definition at line 71 of file WPadButton.cpp.

◆ testButton2()

bool WPadButton::testButton2 ( ) const

Definition at line 75 of file WPadButton.cpp.

◆ testButtonC()

bool WPadButton::testButtonC ( ) const

Definition at line 79 of file WPadButton.cpp.

◆ testButtonZ()

bool WPadButton::testButtonZ ( ) const

Definition at line 83 of file WPadButton.cpp.

◆ testTriggerUp()

bool WPadButton::testTriggerUp ( ) const

Definition at line 87 of file WPadButton.cpp.

◆ testTriggerDown()

bool WPadButton::testTriggerDown ( ) const

Definition at line 91 of file WPadButton.cpp.

◆ testTriggerLeft()

bool WPadButton::testTriggerLeft ( ) const

Definition at line 95 of file WPadButton.cpp.

◆ testTriggerRight()

bool WPadButton::testTriggerRight ( ) const

Definition at line 99 of file WPadButton.cpp.

◆ testTriggerA()

bool WPadButton::testTriggerA ( ) const

Definition at line 103 of file WPadButton.cpp.

◆ testTriggerB()

bool WPadButton::testTriggerB ( ) const

Definition at line 107 of file WPadButton.cpp.

◆ testTriggerMinus()

bool WPadButton::testTriggerMinus ( ) const

Definition at line 111 of file WPadButton.cpp.

◆ testTriggerHome()

bool WPadButton::testTriggerHome ( ) const

Definition at line 115 of file WPadButton.cpp.

◆ testTriggerPlus()

bool WPadButton::testTriggerPlus ( ) const

Definition at line 119 of file WPadButton.cpp.

◆ testTrigger1()

bool WPadButton::testTrigger1 ( ) const

Definition at line 123 of file WPadButton.cpp.

◆ testTrigger2()

bool WPadButton::testTrigger2 ( ) const

Definition at line 127 of file WPadButton.cpp.

◆ testTriggerC()

bool WPadButton::testTriggerC ( ) const

Definition at line 131 of file WPadButton.cpp.

◆ testTriggerZ()

bool WPadButton::testTriggerZ ( ) const

Definition at line 135 of file WPadButton.cpp.

◆ testReleaseZ()

bool WPadButton::testReleaseZ ( ) const

Definition at line 139 of file WPadButton.cpp.

◆ isChangeAnyState()

bool WPadButton::isChangeAnyState ( ) const

Definition at line 143 of file WPadButton.cpp.

Member Data Documentation

◆ mPad

const WPad* WPadButton::mPad

Definition at line 38 of file WPadButton.hpp.

◆ mHold

u32 WPadButton::mHold

Definition at line 39 of file WPadButton.hpp.

◆ _8

u32 WPadButton::_8

Definition at line 40 of file WPadButton.hpp.

◆ mRelease

u32 WPadButton::mRelease

Definition at line 41 of file WPadButton.hpp.

◆ _10

u32 WPadButton::_10

Definition at line 42 of file WPadButton.hpp.

◆ mDelaySec

f32 WPadButton::mDelaySec

Definition at line 43 of file WPadButton.hpp.

◆ mPulseSec

f32 WPadButton::mPulseSec

Definition at line 44 of file WPadButton.hpp.