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

Public Types

using InputMappingMap = ::std::unordered_map<::std::string, ::InputMapping>

Public Member Functions

virtual::InputMapping const * getMapping (::std::string const &mappingName)
virtual void createInputMappingTemplates (::IOptions &)=0
virtual::TouchInputMapping _createScreenTouchMapping () const
virtual ::std::vector<::DeviceButtonMapping_createScreenDeviceButtonMapping () const
virtual void _updateKeyboardAndMouseControls (::IOptions &)=0
virtual void _updateGameControllerControls ()=0
virtual void _updateTouchMappingControls ()=0
MCAPI ClientInputMappingFactory (::std::weak_ptr<::KeyboardRemappingLayout > currentKeyboardLayout)
MCAPI void _activateMapping (::std::string const &mappingName)
MCAPI::InputMapping * _getMappingInternal (::std::string const &mappingName)
MCAPI void onConfigChanged (::Config const &config)
MCAPI void * $ctor (::std::weak_ptr<::KeyboardRemappingLayout > currentKeyboardLayout)
MCAPI void $dtor ()
MCAPI::InputMapping const * $getMapping (::std::string const &mappingName)
MCAPI::TouchInputMapping $_createScreenTouchMapping () const
MCAPI ::std::vector<::DeviceButtonMapping$_createScreenDeviceButtonMapping () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::InputMapping > > mActiveInputMappings
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::InputMapping > > mInputMappingTemplates
::ll::TypedStorage< 1, 1, bool > mInvertYAxis
::ll::TypedStorage< 1, 1, bool > mSwapGamepadButtonsXY
::ll::TypedStorage< 1, 1, bool > mSwapGamepadButtonsAB
::ll::TypedStorage< 4, 4, float > mSensitivity
::ll::TypedStorage< 8, 96, ::GamePadRemappingLayoutmGameControllerRemappingLayout
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::KeyboardRemappingLayout > > mKeyboardRemappingLayout

Member Function Documentation

◆ getMapping()

virtual::InputMapping const * ClientInputMappingFactory::getMapping ( ::std::string const & mappingName)
virtual

Implements InputMappingFactory.

◆ $vftable()

MCAPI void ** ClientInputMappingFactory::$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: