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

Method bindMouseButton

src/engine/Input.cpp:115–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void Input::bindMouseButton(int mouseButton, ActionType actionType, bool isContinuous, bool isInverted)
116{
117 actionBindingToMouseButtonMap[ActionBinding(actionType, isContinuous, isInverted)] = mouseButton;
118}
119
120void Input::bindMouseAxis(MouseAxis mouseAxis, ActionType actionType, bool isContinuous, bool isInverted)
121{

Callers

nothing calls this directly

Calls 1

ActionBindingClass · 0.85

Tested by

no test coverage detected