AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawJoystick.X Property

Returns the current X value for the physical joystick at the given index.

Syntax
Pascal
class property X [const Index: Integer]: Single;
Parameters 
Description 
Index 
The ID of the joystick to check (1-4). 

This will be in the range -1.0 to 1.0 with 0 being centered.

Copyright (c) 2012. All rights reserved.