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

Method GetGamepadButtonDown

Source/Engine/Input/Input.cpp:522–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522bool Input::GetGamepadButtonDown(int32 gamepadIndex, GamepadButton button, float deadZone)
523{
524 if (gamepadIndex >= 0 && gamepadIndex < Gamepads.Count())
525 return Gamepads[gamepadIndex]->GetButtonDown(button, deadZone);
526 return false;
527}
528
529bool Input::GetGamepadButtonUp(int32 gamepadIndex, GamepadButton button, float deadZone)
530{

Callers

nothing calls this directly

Calls 2

GetButtonDownMethod · 0.80
CountMethod · 0.45

Tested by

no test coverage detected