Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GamePadRemappingLayout Class Reference
Inheritance diagram for GamePadRemappingLayout:

Public Types

using RefreshKeymappingPublisher

Public Member Functions

virtual void setMappingWithRawInput (::std::string const &action, int key, ::RawInputType type)
virtual::std::string getMappedKeyName (int key) const
virtual::std::string getMappedKeyName (int key, bool checkUserConfiguredSwap) const
virtual::std::string getMappedKeyName (::Keymapping const &keyMapping) const
virtual::std::string getSaveString (::std::string const &action) const
virtual int getAdjustedKey (int key) const
virtual::std::string getKeySpriteLocation (int key, bool checkUserConfiguredSwap, bool checkPlatformButtonSwapping, ::IconSize iconSize) const
virtual::std::string getKeySpriteLocation (::Keymapping const &keyMapping) const
virtual int _rawKeyToKey (int rawInputKey, ::RawInputType rawInputType) const
MCAPI GamePadRemappingLayout (bool swapAB, bool swapXY)
MCAPI::std::string _getKeySpriteLocationInternal (int key, bool checkUserConfiguredButtonSwapping, bool checkPlatformButtonSwapping, ::IconSize iconSize) const
MCAPI::std::string const _getMappedKeyNameInternal (int key, bool const checkUserConfiguredButtonSwapping) const
MCAPI void _swapGamepadKeyBindings (int key1, int key2)
MCAPI::std::string getKeySpriteName (int key, bool checkPlatformButtonSwapping) const
MCAPI::std::string getKeyTextName (int key, bool checkUserConfiguredButtonSwapping) const
MCAPI void * $ctor (bool swapAB, bool swapXY)
MCAPI void $setMappingWithRawInput (::std::string const &action, int key, ::RawInputType type)
MCAPI::std::string $getMappedKeyName (int key) const
MCAPI::std::string $getMappedKeyName (int key, bool checkUserConfiguredSwap) const
MCAPI::std::string $getMappedKeyName (::Keymapping const &keyMapping) const
MCAPI::std::string $getSaveString (::std::string const &action) const
MCAPI int $getAdjustedKey (int key) const
MCAPI::std::string $getKeySpriteLocation (int key, bool checkUserConfiguredSwap, bool checkPlatformButtonSwapping, ::IconSize iconSize) const
MCAPI::std::string $getKeySpriteLocation (::Keymapping const &keyMapping) const
MCAPI int $_rawKeyToKey (int rawInputKey, ::RawInputType rawInputType) const
MCAPI void assignDefaultMapping (::std::vector<::Keymapping > &&newDefaultMapping)
MCAPI void defaultKeyAtIndex (uint64 index)
MCAPI ::std::vector<::DuplicateKey > generateIndicesOfDuplicates () const
MCAPI::Keymapping const & getKeymappingByAction (::std::string_view action) const
MCAPI void setMapping (::std::string_view action, ::std::vector< int > const &keys)
MCAPI void unassignDuplicateKeys (uint64 index)
MCAPI void unassignKeyAtIndex (uint64 index)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::string_view > mControllerIconPath
::ll::TypedStorage< 1, 1, bool > mGamepadButtonsXYAreSwapped
::ll::TypedStorage< 1, 1, bool > mGamepadButtonsABAreSwapped
::ll::TypedStorage< 8, 24, ::std::vector<::Keymapping > > mKeymappings
::ll::TypedStorage< 8, 24, ::std::vector<::Keymapping > > mDefaultMappings
::ll::TypedStorage< 8, 16, ::std::shared_ptr< ::Bedrock::PubSub::Publisher< void(::std::optional< uint64 >), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > > mRefreshKeymappingsPublisher
::ll::TypedStorage< 8, 32, ::RemappingLayoutRawIndex > mLayoutRawIndex

Member Typedef Documentation

◆ RefreshKeymappingPublisher

using RemappingLayout::RefreshKeymappingPublisher
inherited
Initial value:

Constructor & Destructor Documentation

◆ GamePadRemappingLayout()

MCAPI GamePadRemappingLayout::GamePadRemappingLayout ( bool swapAB,
bool swapXY )
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

◆ setMappingWithRawInput()

virtual void GamePadRemappingLayout::setMappingWithRawInput ( ::std::string const & action,
int key,
::RawInputType type )
virtual

Reimplemented from RemappingLayout.

◆ getAdjustedKey()

virtual int GamePadRemappingLayout::getAdjustedKey ( int key) const
virtual

Reimplemented from RemappingLayout.

◆ _rawKeyToKey()

virtual int GamePadRemappingLayout::_rawKeyToKey ( int rawInputKey,
::RawInputType rawInputType ) const
virtual

Implements RemappingLayout.

◆ _getKeySpriteLocationInternal()

MCAPI::std::string GamePadRemappingLayout::_getKeySpriteLocationInternal ( int key,
bool checkUserConfiguredButtonSwapping,
bool checkPlatformButtonSwapping,
::IconSize iconSize ) 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.

◆ _getMappedKeyNameInternal()

MCAPI::std::string const GamePadRemappingLayout::_getMappedKeyNameInternal ( int key,
bool const checkUserConfiguredButtonSwapping ) 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.

◆ _swapGamepadKeyBindings()

MCAPI void GamePadRemappingLayout::_swapGamepadKeyBindings ( int key1,
int key2 )
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.

◆ getKeySpriteName()

MCAPI::std::string GamePadRemappingLayout::getKeySpriteName ( int key,
bool checkPlatformButtonSwapping ) 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.

◆ getKeyTextName()

MCAPI::std::string GamePadRemappingLayout::getKeyTextName ( int key,
bool checkUserConfiguredButtonSwapping ) 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.

◆ $ctor()

MCAPI void * GamePadRemappingLayout::$ctor ( bool swapAB,
bool swapXY )
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.

◆ $setMappingWithRawInput()

MCAPI void GamePadRemappingLayout::$setMappingWithRawInput ( ::std::string const & action,
int key,
::RawInputType type )
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.

◆ $getMappedKeyName() [1/3]

MCAPI::std::string GamePadRemappingLayout::$getMappedKeyName ( int key) 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.

◆ $getMappedKeyName() [2/3]

MCAPI::std::string GamePadRemappingLayout::$getMappedKeyName ( int key,
bool checkUserConfiguredSwap ) 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.

◆ $getMappedKeyName() [3/3]

MCAPI::std::string GamePadRemappingLayout::$getMappedKeyName ( ::Keymapping const & keyMapping) 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.

◆ $getSaveString()

MCAPI::std::string GamePadRemappingLayout::$getSaveString ( ::std::string const & action) 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.

◆ $getAdjustedKey()

MCAPI int GamePadRemappingLayout::$getAdjustedKey ( int key) 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.

◆ $getKeySpriteLocation() [1/2]

MCAPI::std::string GamePadRemappingLayout::$getKeySpriteLocation ( int key,
bool checkUserConfiguredSwap,
bool checkPlatformButtonSwapping,
::IconSize iconSize ) 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.

◆ $getKeySpriteLocation() [2/2]

MCAPI::std::string GamePadRemappingLayout::$getKeySpriteLocation ( ::Keymapping const & keyMapping) 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.

◆ $_rawKeyToKey()

MCAPI int GamePadRemappingLayout::$_rawKeyToKey ( int rawInputKey,
::RawInputType rawInputType ) 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 ** GamePadRemappingLayout::$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.

◆ defaultKeyAtIndex()

MCAPI void RemappingLayout::defaultKeyAtIndex ( uint64 index)
inherited
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.

◆ generateIndicesOfDuplicates()

MCAPI ::std::vector<::DuplicateKey > RemappingLayout::generateIndicesOfDuplicates ( ) const
inherited
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.

◆ unassignKeyAtIndex()

MCAPI void RemappingLayout::unassignKeyAtIndex ( uint64 index)
inherited
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.

◆ $dtor()

MCAPI void RemappingLayout::$dtor ( )
inherited
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: