MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / bindKey

Method bindKey

src/engine/Input.cpp:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void Input::bindKey(int key, ActionType actionType, bool isContinuous, bool isInverted)
111{
112 actionBindingToKeyMap.emplace(ActionBinding(actionType, isContinuous, isInverted), key);
113}
114
115void Input::bindMouseButton(int mouseButton, ActionType actionType, bool isContinuous, bool isInverted)
116{

Callers

nothing calls this directly

Calls 1

ActionBindingClass · 0.85

Tested by

no test coverage detected