API Reference
On this page
Public Types | |
| using | InputButton = uint |
| using | ButtonMap = ::std::unordered_map<uint, int> |
| using | ButtonStateMap = ::std::unordered_map<uint, ::GameControllerButtonState> |
Public Member Functions | |
| virtual void | refresh () |
| virtual float | normalizeAxis (float raw, float deadzone) |
| virtual void | normalizeAxes (float &ioX, float &ioY, float deadzone) |
| MCAPI void | $refresh () |
| MCAPI float | $normalizeAxis (float raw, float deadzone) |
| MCAPI void | $normalizeAxes (float &ioX, float &ioY, float deadzone) |
| virtual void | refresh (bool isInGame) |
| virtual void | shutdown () |
| virtual::GameControllerErrorType | checkPlatformSpecificControllerError () |
| MCAPI void * | $ctor () |
| MCAPI void | $dtor () |
| MCAPI void | $refresh (bool isInGame) |
| MCAPI void | $shutdown () |
| MCAPI::GameControllerErrorType | $checkPlatformSpecificControllerError () |
Static Public Member Functions | |
| static MCAPI void | _onDeviceStatusChangedCallback (uint64, void *context, ::GameInput::v2::IGameInputDevice *device, uint64, ::GameInput::v2::GameInputDeviceStatus currentStatus, ::GameInput::v2::GameInputDeviceStatus) |
| static MCAPI void | _taskSubmittedCallback (void *context, ::XTaskQueueObject *taskQueue, ::XTaskQueuePort port) |
| static MCAPI void ** | $vftable () |
Public Attributes | |
| ::ll::TypedStorage< 8, 8, uint64 > | mDeviceStatusChangedToken |
| ::ll::TypedStorage< 8, 8, ::XTaskQueueRegistrationToken > | mUserDeviceAssociationChangedToken |
| ::ll::TypedStorage< 8, 8, ::XTaskQueueRegistrationToken > | mTaskSubmittedCallbackToken |
| ::ll::TypedStorage< 8, 16, ::std::shared_ptr<::HIDController > > | mHIDController |
| ::ll::TypedStorage< 2, 2, short > | mScreenWidth |
| ::ll::TypedStorage< 2, 2, short > | mScreenHeight |
| ::ll::TypedStorage< 8, 8, ::std::unique_ptr<::GameInput::v2::IGameInput, ::Bedrock::ComAdapter<::GameInput::v2::IGameInput >::Deleter > > | mGameInput |
| ::ll::TypedStorage< 8, 80, ::std::mutex > | mPlayerInputsLock |
| ::ll::TypedStorage< 8, 16, ::std::map< int, ::GameCorePlayerInput > > | mPlayerInputs |
| ::ll::TypedStorage< 8, 336, ::TaskGroup > | mTaskGroup |
| ::ll::TypedStorage< 8, 8, ::XTaskQueueObject * > | mTaskQueue |
| ::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, int > > | mButtonMap |
| ::ll::TypedStorage< 8, 24, ::std::vector< float > > | mLeftTrigger |
| ::ll::TypedStorage< 8, 24, ::std::vector< float > > | mRightTrigger |
| ::ll::TypedStorage< 8, 32, ::std::vector< bool > > | mLeftStickTouched |
| ::ll::TypedStorage< 8, 32, ::std::vector< bool > > | mRightStickTouched |
| ::ll::TypedStorage< 8, 24, ::std::vector<::std::unordered_map< uint, ::GameControllerButtonState > > > | mButtonState |
| ::ll::TypedStorage< 4, 16, uint[4]> | mInputProcessResult |
| ::ll::TypedStorage< 8, 16, ::std::thread > | mPollingThread |
| ::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mJoinThreads |
|
virtual |
Implements GameControllerHandler.
|
virtual |
Reimplemented from GameControllerHandler.
|
virtual |
Implements GameControllerHandler.
|
static |
|
static |
| MCAPI void GameControllerHandler_GameCore::$refresh | ( | ) |
| MCAPI float GameControllerHandler_GameCore::$normalizeAxis | ( | float | raw, |
| float | deadzone ) |
| MCAPI void GameControllerHandler_GameCore::$normalizeAxes | ( | float & | ioX, |
| float & | ioY, | ||
| float | deadzone ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |