LeviLamina
Loading...
Searching...
No Matches
GameControllerHandler Class Referenceabstract
Inheritance diagram for GameControllerHandler:

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 ()=0
virtual void refresh (bool isInGame)
virtual void shutdown ()
virtual::GameControllerErrorType checkPlatformSpecificControllerError ()
virtual float normalizeAxis (float raw, float deadzone)
virtual void normalizeAxes (float &ioX, float &ioY, float deadzone)=0
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCFOLD void $refresh (bool isInGame)
MCFOLD void $shutdown ()
MCFOLD::GameControllerErrorType $checkPlatformSpecificControllerError ()
MCFOLD float $normalizeAxis (float raw, float deadzone)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::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

Member Function Documentation

◆ $vftable()

MCAPI void ** GameControllerHandler::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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