MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ProcessBinding

Method ProcessBinding

Source/UserInput/joystick.cpp:74–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void Joystick::ProcessBinding(ControllerInput::Input input, const std::string command) {
75 binding_.insert(std::pair<ControllerInput::Input, std::string>(input, command));
76}
77
78float Joystick::GetButtonDown(const std::string &name) const {
79 ButtonMap::const_iterator iter(buttons_down_.find(name));

Callers 1

ProcessBindingsMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected