MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ClearInputData

Function ClearInputData

TombEngine/Specific/Input/Input.cpp:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 }
189
190 void ClearInputData()
191 {
192 for (auto& [keyID, value] : KeyMap)
193 value = 0.0f;
194
195 for (auto& [axisID, axis] : AxisMap)
196 axis = Vector2::Zero;
197 }
198
199 void ApplyActionQueue()
200 {

Callers 1

UpdateInputActionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected