3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/pub_sub/Publisher.h"
18 using RefreshKeymappingPublisher =
19 ::Bedrock::PubSub::Publisher<void(::std::optional<uint64>), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>;
24 ::ll::TypedStorage<8, 8, ::std::vector<::Keymapping>&> mKeymappings;
25 ::ll::TypedStorage<8, 8, ::std::vector<::Keymapping>&> mDefaultMappings;
31 Publisher<void(::std::optional<uint64>), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>>
32 mRefreshKeymappingsPublisher;
37 RemappingLayoutRawIndex& operator=(RemappingLayoutRawIndex
const&);
38 RemappingLayoutRawIndex(RemappingLayoutRawIndex
const&);
39 RemappingLayoutRawIndex();
44 MCAPI
void defaultKeyAtIndex(uint64 index);
46 MCAPI ::std::vector<::DuplicateKey> generateIndicesOfDuplicates()
const;
48 MCAPI ::Keymapping
const& getKeymappingByIndex(uint64 index)
const;
50 MCAPI uint64 getNumKeymappings()
const;
52 MCAPI
bool isKeymappingDefault(uint64 index)
const;
54 MCAPI
void unassignDuplicateKeys(uint64 index);
56 MCAPI
void unassignKeyAtIndex(uint64 index);
Definition Keymapping.h:5
Definition RemappingLayoutRawIndex.h:5
Definition SingleThreaded.h:7
Definition DuplicateKey.h:5