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

Method SetMouseBindingValue

Source/UserInput/input.cpp:758–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756}
757
758void Input::SetMouseBindingValue(std::string binding_category, std::string binding, uint32_t button) {
759 char buffer[32];
760 sprintf(buffer, "mouse%d", button);
761 SetBindingValue(binding_category, binding, buffer);
762}
763
764void Input::SetMouseBindingValue(std::string binding_category, std::string binding, std::string text) {
765 SetBindingValue(binding_category, binding, text.c_str());

Callers 2

ASSetMouseBindingValueFunction · 0.80

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected