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

#include <JUTGamePad.h>

Public Member Functions

 CStick ()
 
void clear ()
 
void clear (JUTGamePad *pad)
 
u32 update (s8 x, s8 u, JUTGamePad::EStickMode mode, JUTGamePad::EWhichStick stick, u32 buttons)
 
u32 getButton (u32 buttons)
 

Public Attributes

f32 mPosX
 
f32 mPosY
 
f32 mValue
 
s16 mAngle
 
s8 mRawX
 
s8 mRawY
 

Static Public Attributes

static f32 sPressPoint = 0.5f
 
static f32 sReleasePoint = 0.25f
 

Constructor & Destructor Documentation

◆ CStick()

JUTGamePad::CStick::CStick ( )
inline

Member Function Documentation

◆ clear() [1/2]

void JUTGamePad::CStick::clear ( )

◆ clear() [2/2]

void JUTGamePad::CStick::clear ( JUTGamePad pad)

◆ getButton()

u32 JUTGamePad::CStick::getButton ( u32  buttons)

◆ update()

u32 JUTGamePad::CStick::update ( s8  x,
s8  u,
JUTGamePad::EStickMode  mode,
JUTGamePad::EWhichStick  stick,
u32  buttons 
)

Member Data Documentation

◆ mAngle

s16 JUTGamePad::CStick::mAngle

◆ mPosX

f32 JUTGamePad::CStick::mPosX

◆ mPosY

f32 JUTGamePad::CStick::mPosY

◆ mRawX

s8 JUTGamePad::CStick::mRawX

◆ mRawY

s8 JUTGamePad::CStick::mRawY

◆ mValue

f32 JUTGamePad::CStick::mValue

◆ sPressPoint

f32 JUTGamePad::CStick::sPressPoint = 0.5f
static

◆ sReleasePoint

f32 JUTGamePad::CStick::sReleasePoint = 0.25f
static

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