MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / setMouseButtonDown

Function setMouseButtonDown

TheForceEngine/TFE_Input/input.cpp:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 void setMouseButtonDown(MouseButton button)
128 {
129 if (!s_mouseDown[button])
130 {
131 s_mousePressed[button] = 1;
132 }
133 s_mouseDown[button] = 1;
134 }
135
136 void setMouseButtonUp(MouseButton button)
137 {

Callers 1

handleEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected