LeviLamina
Loading...
Searching...
No Matches
KeyboardRemappingLayout Class Reference
Inheritance diagram for KeyboardRemappingLayout:

Public Types

using RefreshKeymappingPublisher

Public Member Functions

virtual void setMappingWithRawInput (::std::string const &action, int rawKeyIndex, ::RawInputType rawKeyType)
virtual::std::string getMappedKeyName (int key) const
virtual::std::string getMappedKeyName (int key, bool checkUserConfiguredSwap) const
virtual int getAdjustedKey (int key) const
virtual::std::string getSaveString (::std::string const &action) const
virtual int _rawKeyToKey (int rawKeyIndex, ::RawInputType rawInputType) const
MCAPI void $setMappingWithRawInput (::std::string const &action, int rawKeyIndex, ::RawInputType rawKeyType)
MCAPI::std::string $getMappedKeyName (int key) const
MCAPI::std::string $getMappedKeyName (int key, bool checkUserConfiguredSwap) const
MCAPI int $getAdjustedKey (int key) const
MCAPI::std::string $getSaveString (::std::string const &action) const
MCAPI int $_rawKeyToKey (int rawKeyIndex, ::RawInputType rawInputType) const
virtual::std::string getMappedKeyName (::Keymapping const &keyMapping) const
virtual::std::string getKeySpriteLocation (int key, ::IconSize iconSize) const
virtual::std::string getKeySpriteLocation (::Keymapping const &keyMapping) const
MCAPI void assignDefaultMapping (::std::vector<::Keymapping > &&newDefaultMapping)
MCAPI ::std::vector<::DuplicateKeygenerateIndicesOfDuplicates () const
MCAPI::Keymapping const & getKeymappingByAction (::std::string const &action) const
MCAPI::Bedrock::PubSub::Subscription registerRefreshKeymappingsListener (::std::function< void(::std::optional< uint64 >)> callback)
MCAPI void setMapping (::std::string const &action, ::std::vector< int > const &keys)
MCAPI void unassignDuplicateKeys (uint64 index)
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI::std::string $getMappedKeyName (::Keymapping const &keyMapping) const
MCFOLD::std::string $getKeySpriteLocation (int key, ::IconSize iconSize) const
MCAPI::std::string $getKeySpriteLocation (::Keymapping const &keyMapping) const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, ::KeyboardType const > mKeyboardType
::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, ::RemappingLayoutRawIndexmLayoutRawIndex

Member Typedef Documentation

◆ RefreshKeymappingPublisher

using RemappingLayout::RefreshKeymappingPublisher
inherited
Initial value:

Member Function Documentation

◆ setMappingWithRawInput()

virtual void KeyboardRemappingLayout::setMappingWithRawInput ( ::std::string const & action,
int rawKeyIndex,
::RawInputType rawKeyType )
virtual

Reimplemented from RemappingLayout.

◆ getAdjustedKey()

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

Reimplemented from RemappingLayout.

◆ _rawKeyToKey()

virtual int KeyboardRemappingLayout::_rawKeyToKey ( int rawKeyIndex,
::RawInputType rawInputType ) const
virtual

Implements RemappingLayout.

◆ $vftable()

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