File InputManager.hpp

namespace Amethyst
class InputManager

Public Functions

InputManager(AmethystContext *amethyst)
void RegisterNewInput(std::string actionName, std::vector<int> keys, bool allowRemapping = true)
void AddButtonDownHandler(const std::string &actionName, std::function<void(FocusImpact, IClientInstance&)> handler, bool suspendable)
void AddButtonUpHandler(const std::string &actionName, std::function<void(FocusImpact, IClientInstance&)> handler, bool suspendable)
void Shutdown()

Public Members

std::vector<std::string> mRegisteredInputs

Private Functions

void RemoveButtonHandlers()

Private Members

AmethystContext *mAmethyst