File InputHandler.hpp

Typedefs

using IClientInstance = ClientInstance

Enums

enum FocusImpact

Values:

enumerator Neutral
enumerator ActivateFocus
enumerator DeactivateFocus

Functions

int StringToNameId(const std::string &str)
class InputHandler

Public Functions

void registerButtonDownHandler(std::string buttonName, std::function<void(FocusImpact, IClientInstance&)> handler, bool suspendable)
void registerButtonUpHandler(std::string buttonName, std::function<void(FocusImpact, IClientInstance&)> handler, bool suspendable)

Public Members

std::byte padding0[24]
std::multimap<unsigned int, std::pair<bool, std::function<void(enum FocusImpact, IClientInstance&)>>> mButtonDownHandlerMap
std::multimap<unsigned int, std::pair<bool, std::function<void(enum FocusImpact, IClientInstance&)>>> mButtonUpHandlerMap