AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawJoystick.ButtonReleased Property

Returns True if the given button was released this frame, otherwise returns False.

Syntax
Pascal
class property ButtonReleased [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). 

Once the button has been released this function returns to False. To check the state of the button use ButtonDown. AGK supports up to 32 joystick buttons in the range 1-32.

Copyright (c) 2012. All rights reserved.