15#include <unordered_map>
206 void AddProfile(std::shared_ptr<InputProfile> profile);
207 std::shared_ptr<InputProfile>
GetProfile(
const std::string& profileName);
227 std::unordered_map<std::string, std::shared_ptr<InputProfile>>
m_profiles;
ComponentTypeID GetComponentTypeID_Static()
void AddAction(const std::string &actionName)
bool ContainsAction(const std::string &actionName) const
std::vector< std::string > actions
ActionMap(const std::string &name, ActionMapContext ctx, int prio=0)
void PushContext(ActionMapContext ctx)
std::vector< ActionMapContext > m_contextStack
ActionMapContext GetActiveContext() const
void SetEditorEnabled(bool enabled)
bool IsEditorEnabled() const
~InputContextManager()=default
static InputContextManager & Get()
void LoadConfig(const std::string &configPath)