#include <seadControllerBase.h>
Inherited by sead::Controller, and sead::ControllerWrapperBase.
◆ anonymous enum
| Enumerator |
|---|
| cPadIdx_MaxBase | |
◆ PointerFlagMask
| Enumerator |
|---|
| cPointerOn | |
| cPointerOnNow | |
| cPointerOffNow | |
| cPointerUnkFlag3 | |
◆ anonymous enum
| Enumerator |
|---|
| cCrossUp | |
| cCrossDown | |
| cCrossLeft | |
| cCrossRight | |
◆ ControllerBase()
| sead::ControllerBase::ControllerBase |
( |
s32 | padBitMax, |
|
|
s32 | leftStickCrossStartBit, |
|
|
s32 | rightStickCrossStartBit, |
|
|
s32 | touchKeyBit ) |
◆ getHoldMask()
| u32 sead::ControllerBase::getHoldMask |
( |
| ) |
const |
|
inline |
◆ getTrigMask()
| u32 sead::ControllerBase::getTrigMask |
( |
| ) |
const |
|
inline |
◆ getReleaseMask()
| u32 sead::ControllerBase::getReleaseMask |
( |
| ) |
const |
|
inline |
◆ getRepeatMask()
| u32 sead::ControllerBase::getRepeatMask |
( |
| ) |
const |
|
inline |
◆ getTrigMaskWithRepeat()
| u32 sead::ControllerBase::getTrigMaskWithRepeat |
( |
| ) |
const |
|
inline |
◆ getPadHoldCount()
| u32 sead::ControllerBase::getPadHoldCount |
( |
s32 | bit | ) |
const |
◆ getLeftStick()
| const Vector2f & sead::ControllerBase::getLeftStick |
( |
| ) |
const |
|
inline |
◆ getRightStick()
| const Vector2f & sead::ControllerBase::getRightStick |
( |
| ) |
const |
|
inline |
◆ getLeftAnalogTrigger()
| f32 sead::ControllerBase::getLeftAnalogTrigger |
( |
| ) |
const |
|
inline |
◆ getRightAnalogTrigger()
| f32 sead::ControllerBase::getRightAnalogTrigger |
( |
| ) |
const |
|
inline |
◆ getPointer()
| const Vector2f & sead::ControllerBase::getPointer |
( |
| ) |
const |
|
inline |
◆ getPointerPrev()
| const Vector2i & sead::ControllerBase::getPointerPrev |
( |
| ) |
const |
|
inline |
◆ isPointerOn()
| bool sead::ControllerBase::isPointerOn |
( |
| ) |
const |
|
inline |
◆ isPointerOnNow()
| bool sead::ControllerBase::isPointerOnNow |
( |
| ) |
const |
|
inline |
◆ isPointerOffNow()
| bool sead::ControllerBase::isPointerOffNow |
( |
| ) |
const |
|
inline |
◆ isPointerUnkFlag3()
| bool sead::ControllerBase::isPointerUnkFlag3 |
( |
| ) |
const |
|
inline |
◆ isHold()
| bool sead::ControllerBase::isHold |
( |
u32 | mask | ) |
const |
|
inline |
◆ isTrig()
| bool sead::ControllerBase::isTrig |
( |
u32 | mask | ) |
const |
|
inline |
◆ isHoldAll()
| bool sead::ControllerBase::isHoldAll |
( |
u32 | mask | ) |
const |
|
inline |
◆ isRelease()
| bool sead::ControllerBase::isRelease |
( |
u32 | mask | ) |
const |
|
inline |
◆ isRepeat()
| bool sead::ControllerBase::isRepeat |
( |
u32 | mask | ) |
const |
|
inline |
◆ isTrigWithRepeat()
| bool sead::ControllerBase::isTrigWithRepeat |
( |
u32 | mask | ) |
const |
|
inline |
◆ setPadRepeat()
| void sead::ControllerBase::setPadRepeat |
( |
u32 | mask, |
|
|
u8 | delay_frame, |
|
|
u8 | pulse_frame ) |
◆ setLeftStickCrossThreshold()
| void sead::ControllerBase::setLeftStickCrossThreshold |
( |
f32 | hold, |
|
|
f32 | release ) |
◆ setRightStickCrossThreshold()
| void sead::ControllerBase::setRightStickCrossThreshold |
( |
f32 | hold, |
|
|
f32 | release ) |
◆ setPointerBound()
| void sead::ControllerBase::setPointerBound |
( |
const BoundBox2f & | bound | ) |
|
◆ getPointerBound()
| const BoundBox2f & sead::ControllerBase::getPointerBound |
( |
| ) |
const |
|
inline |
◆ isIdleBase_()
| bool sead::ControllerBase::isIdleBase_ |
( |
| ) |
|
|
protected |
◆ setIdleBase_()
| void sead::ControllerBase::setIdleBase_ |
( |
| ) |
|
|
protected |
◆ setPointerWithBound_()
| void sead::ControllerBase::setPointerWithBound_ |
( |
bool | is_on, |
|
|
bool | touchkey_hold, |
|
|
const Vector2f & | pos ) |
|
protected |
◆ updateDerivativeParams_()
| void sead::ControllerBase::updateDerivativeParams_ |
( |
u32 | prev_hold, |
|
|
bool | prev_pointer_on ) |
|
protected |
◆ getStickHold_()
| u32 sead::ControllerBase::getStickHold_ |
( |
u32 | prev_hold, |
|
|
const Vector2f & | stick, |
|
|
f32 | hold_threshold, |
|
|
f32 | release_threshold, |
|
|
s32 | start_bit ) |
|
protected |
◆ createStickCrossMask_()
| u32 sead::ControllerBase::createStickCrossMask_ |
( |
| ) |
|
|
protected |
◆ ControllerWrapper
◆ cStickHoldThresholdDefault
| const f32 sead::ControllerBase::cStickHoldThresholdDefault = 0.5f |
|
static |
◆ cStickReleaseThresholdDefault
| const f32 sead::ControllerBase::cStickReleaseThresholdDefault = 0.25f |
|
static |
◆ cInvalidPointer
| const Vector2f sead::ControllerBase::cInvalidPointer |
|
static |
◆ cInvalidPointerS32
| const Vector2i sead::ControllerBase::cInvalidPointerS32 |
|
static |
◆ mPadTrig
◆ mPadRelease
◆ mPadRepeat
◆ mPointerFlag
◆ mPointerS32
| Vector2i sead::ControllerBase::mPointerS32 |
|
protected |
◆ mPointerBound
◆ mPadHoldCounts
◆ mPadRepeatDelays
◆ mPadRepeatPulses
◆ mLeftStickHoldThreshold
| f32 sead::ControllerBase::mLeftStickHoldThreshold |
|
protected |
◆ mRightStickHoldThreshold
| f32 sead::ControllerBase::mRightStickHoldThreshold |
|
protected |
◆ mLeftStickReleaseThreshold
| f32 sead::ControllerBase::mLeftStickReleaseThreshold |
|
protected |
◆ mRightStickReleaseThreshold
| f32 sead::ControllerBase::mRightStickReleaseThreshold |
|
protected |
◆ mPadBitMax
| s32 sead::ControllerBase::mPadBitMax |
|
protected |
◆ mLeftStickCrossStartBit
| s32 sead::ControllerBase::mLeftStickCrossStartBit |
|
protected |
◆ mRightStickCrossStartBit
| s32 sead::ControllerBase::mRightStickCrossStartBit |
|
protected |
◆ mTouchKeyBit
| s32 sead::ControllerBase::mTouchKeyBit |
|
protected |
◆ mIdleFrame
| s32 sead::ControllerBase::mIdleFrame |
|
protected |
◆ mPadHold
◆ mPointer
◆ mLeftStick
| Vector2f sead::ControllerBase::mLeftStick |
|
protected |
◆ mRightStick
| Vector2f sead::ControllerBase::mRightStick |
|
protected |
◆ mLeftAnalogTrigger
| f32 sead::ControllerBase::mLeftAnalogTrigger |
|
protected |
◆ mRightAnalogTrigger
| f32 sead::ControllerBase::mRightAnalogTrigger |
|
protected |