#include <AInputMapManager.h>
Classes | |
| struct | Command |
Public Types | |
| enum | InputEvent : TUINT32 { InputEvent_None = 0 , InputEvent_GoneDown = ( 1U << ( Toshi::TInputInterface::EVENT_TYPE_GONE_DOWN ) ) , InputEvent_GoneUp = ( 1U << ( Toshi::TInputInterface::EVENT_TYPE_GONE_UP ) ) , InputEvent_Repeat = ( 1U << ( Toshi::TInputInterface::EVENT_TYPE_REPEAT ) ) , InputEvent_Virtual = ( 1U << ( Toshi::TInputInterface::EVENT_TYPE_VIRTUAL ) ) , InputEvent_Moved = ( 1U << ( Toshi::TInputInterface::EVENT_TYPE_MOVED ) ) } |
| using | ThisClass = AInputMapManager |
| using | BaseClass = Toshi::TObject |
| using | ActionId = TUINT32 |
Public Member Functions | |
| virtual Toshi::TClass * | GetClass () override |
| AInputMapManager () | |
| TBOOL | ReadControlsData () |
| void | PushInputMap (AInputMap *a_pInputMap) |
| AInputMap * | PopInputMap () |
| AInputMap * | FindMap (const Toshi::TPString8 &a_rMapName) |
| TBOOL | SetMap (const Toshi::TPString8 &a_rMapName) |
| void | GetEventCommands (const Toshi::TInputInterface::InputEvent *a_pEvent, AInputCommandArray &a_rCommandArray) |
| AInputCommand | GetCommandCode (const Toshi::TPString8 &a_rCommandName) |
| Toshi::TInputDevice::Doodad | GetDoodadFromKey (const Toshi::TPString8 &a_rKey) |
Static Public Member Functions | |
| static Toshi::TObject * | CreateTObject () |
| static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
| static void | InitialiseClass () |
| static void | DeinitialiseClass () |
| static __forceinline Toshi::TClass * | GetClassStatic () |
Static Public Attributes | |
| static constexpr Toshi::TClass * | PARENTCLASS = & Toshi::TObject::ms_oClass |
| static Toshi::TClass | ms_oClass = Toshi::TClass( "AInputMapManager", AInputMapManager::PARENTCLASS, AInputMapManager::CreateTObject, AInputMapManager::CreateTObjectInPlace, AInputMapManager::InitialiseClass, AInputMapManager::DeinitialiseClass, 0, 1, sizeof( AInputMapManager ), alignof( AInputMapManager ) ) |
| static constexpr TUINT | MAX_NUM_INPUT_MAPS = 32 |
Definition at line 35 of file AInputMapManager.h.
| using AInputMapManager::ActionId = TUINT32 |
Definition at line 41 of file AInputMapManager.h.
| using AInputMapManager::BaseClass = Toshi::TObject |
Definition at line 39 of file AInputMapManager.h.
Definition at line 39 of file AInputMapManager.h.
| Enumerator | |
|---|---|
| InputEvent_None | |
| InputEvent_GoneDown | |
| InputEvent_GoneUp | |
| InputEvent_Repeat | |
| InputEvent_Virtual | |
| InputEvent_Moved | |
Definition at line 43 of file AInputMapManager.h.
| AInputMapManager::AInputMapManager | ( | ) |
Definition at line 15 of file AInputMapManager.cpp.
|
static |
Definition at line 13 of file AInputMapManager.cpp.
|
static |
Definition at line 13 of file AInputMapManager.cpp.
|
static |
Definition at line 13 of file AInputMapManager.cpp.
| AInputMap * AInputMapManager::FindMap | ( | const Toshi::TPString8 & | a_rMapName | ) |
Definition at line 83 of file AInputMapManager.cpp.
|
overridevirtual |
Definition at line 13 of file AInputMapManager.cpp.
|
inlinestatic |
Definition at line 39 of file AInputMapManager.h.
| AInputCommand AInputMapManager::GetCommandCode | ( | const Toshi::TPString8 & | a_rCommandName | ) |
Definition at line 145 of file AInputMapManager.cpp.
| Toshi::TInputDevice::Doodad AInputMapManager::GetDoodadFromKey | ( | const Toshi::TPString8 & | a_rKey | ) |
Definition at line 158 of file AInputMapManager.cpp.
| void AInputMapManager::GetEventCommands | ( | const Toshi::TInputInterface::InputEvent * | a_pEvent, |
| AInputCommandArray & | a_rCommandArray ) |
Definition at line 105 of file AInputMapManager.cpp.
|
static |
Definition at line 13 of file AInputMapManager.cpp.
| AInputMap * AInputMapManager::PopInputMap | ( | ) |
Definition at line 74 of file AInputMapManager.cpp.
| void AInputMapManager::PushInputMap | ( | AInputMap * | a_pInputMap | ) |
Definition at line 61 of file AInputMapManager.cpp.
| TBOOL AInputMapManager::ReadControlsData | ( | ) |
Definition at line 24 of file AInputMapManager.cpp.
| TBOOL AInputMapManager::SetMap | ( | const Toshi::TPString8 & | a_rMapName | ) |
Definition at line 96 of file AInputMapManager.cpp.
|
staticconstexpr |
Definition at line 65 of file AInputMapManager.h.
|
static |
Definition at line 39 of file AInputMapManager.h.
|
staticconstexpr |
Definition at line 39 of file AInputMapManager.h.