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

Method GetButtonUp

Source/Engine/Input/Gamepad.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool Gamepad::GetButtonUp(GamepadButton button, float deadZone) const
110{
111 return !GetButtonState(_mappedState, button, deadZone) && GetButtonState(_mappedPrevState, button, deadZone);
112}
113
114bool Gamepad::IsAnyButtonDown() const
115{

Callers 4

GetMouseButtonUpMethod · 0.80
GetGamepadButtonUpMethod · 0.80
UpdateMethod · 0.80
OnUpdateMethod · 0.80

Calls 1

GetButtonStateFunction · 0.85

Tested by

no test coverage detected