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

Method GetButton

Source/Engine/Input/Gamepad.cpp:99–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool Gamepad::GetButton(GamepadButton button, float deadZone) const
100{
101 return GetButtonState(_mappedState, button, deadZone);
102}
103
104bool Gamepad::GetButtonDown(GamepadButton button, float deadZone) const
105{

Callers 3

GetMouseButtonMethod · 0.45
GetGamepadButtonMethod · 0.45
DoDragDropWaylandMethod · 0.45

Calls 1

GetButtonStateFunction · 0.85

Tested by

no test coverage detected