| 513 | } |
| 514 | |
| 515 | bool Input::GetGamepadButton(int32 gamepadIndex, GamepadButton button, float deadZone) |
| 516 | { |
| 517 | if (gamepadIndex >= 0 && gamepadIndex < Gamepads.Count()) |
| 518 | return Gamepads[gamepadIndex]->GetButton(button, deadZone); |
| 519 | return false; |
| 520 | } |
| 521 | |
| 522 | bool Input::GetGamepadButtonDown(int32 gamepadIndex, GamepadButton button, float deadZone) |
| 523 | { |