Class: GamePad
Lua
C++
Edit

GamePad::ButtonDown

This method detects whether a gamepad button is currently pressed.

Syntax

Parameter Description
button gamepad button ID from the list below

Returns

Returns true if the button is pressed or false if it is not.

Remarks

The following button constants can be used:

Copyright © 2024 Ultra Software.
All rights reserved.