MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ResetState

Method ResetState

Source/Engine/Input/Gamepad.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void Gamepad::ResetState()
91{
92 InputDevice::ResetState();
93
94 _state.Clear();
95 _mappedState.Clear();
96 _mappedPrevState.Clear();
97}
98
99bool Gamepad::GetButton(GamepadButton button, float deadZone) const
100{

Callers

nothing calls this directly

Calls 2

ResetStateFunction · 0.85
ClearMethod · 0.45

Tested by

no test coverage detected