AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawJoystick Members

The following tables list the members exposed by TAgkRawJoystick.

 
Name 
Description 
 
Waits for the detection of physical joysticks to complete. On some systems this may take a few seconds so is run in a separate thread along side the main application. 
 
Returns True if a joystick exists at the given index. 
 
Name 
Description 
 
Returns True if the given button is currently down, otherwise returns False. 
 
Returns True if the given button was pressed this frame, otherwise returns False. 
 
Returns True if the given button was released this frame, otherwise returns False. 
 
Sets the dead zone for all real joysticks so that any X or Y value below the given threshold will return 0 instead. 
 
Returns True if the current device has at least one physical joystick available as an input method. False if it has no physical joysticks. 
 
RotX 
Returns the current rotational X value (if applicable) for the physical joystick at the given index. 
 
RotY 
Returns the current rotational Y value (if applicable) for the physical joystick at the given index. 
 
RotZ 
Returns the current rotational Z value (if applicable) for the physical joystick at the given index. 
 
X 
Returns the current X value for the physical joystick at the given index. 
 
Y 
Returns the current Y value for the physical joystick at the given index. 
 
Z 
Returns the current Z value for the physical joystick at the given index. 
Copyright (c) 2012. All rights reserved.