Skip to content
LeviMC
English
AutoLightDark
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 (::IOptionRegistry &options)=0
virtual::TouchInputMapping _createScreenTouchMapping () const
virtual ::std::vector<::DeviceButtonMapping > _createScreenDeviceButtonMapping () const
virtual void _updateKeyboardAndMouseControls (::IOptionRegistry &options)=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 * $ctor (::std::weak_ptr<::KeyboardRemappingLayout > currentKeyboardLayout)
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, 128, ::GamePadRemappingLayout > mGameControllerRemappingLayout
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::KeyboardRemappingLayout > > mKeyboardRemappingLayout

Constructor & Destructor Documentation

◆ ClientInputMappingFactory()

MCAPI ClientInputMappingFactory::ClientInputMappingFactory ( ::std::weak_ptr<::KeyboardRemappingLayout > currentKeyboardLayout)
explicit
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.

Member Function Documentation

◆ getMapping()

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

Implements InputMappingFactory.

◆ _activateMapping()

MCAPI void ClientInputMappingFactory::_activateMapping ( ::std::string const & mappingName)
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.

◆ _getMappingInternal()

MCAPI::InputMapping * ClientInputMappingFactory::_getMappingInternal ( ::std::string const & mappingName)
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.

◆ $ctor()

MCAPI void * ClientInputMappingFactory::$ctor ( ::std::weak_ptr<::KeyboardRemappingLayout > currentKeyboardLayout)
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.

◆ $getMapping()

MCAPI::InputMapping const * ClientInputMappingFactory::$getMapping ( ::std::string const & mappingName)
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.

◆ $_createScreenTouchMapping()

MCAPI::TouchInputMapping ClientInputMappingFactory::$_createScreenTouchMapping ( ) const
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.

◆ $_createScreenDeviceButtonMapping()

MCAPI ::std::vector<::DeviceButtonMapping > ClientInputMappingFactory::$_createScreenDeviceButtonMapping ( ) const
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.

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