Returns True if the given button is currently down, otherwise returns False.
class property ButtonDown [const Index, Button: Integer]: Boolean;
Parameters |
Description |
Index |
The ID of the joystick to check (1-4). |
Button |
The ID of the button to check (1-32). |
To detect the instance that a button is pressed or released use ButtonPressed or ButtonReleased. AGK supports up to 32 joystick buttons in the range 1-32.
Copyright (c) 2012. All rights reserved.
|