AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkJoystick.X Property

Returns the X value of the joystick.

Syntax
Pascal
class property X: Single;

This will be in the range -1.0 to 1.0 with 0 being centered. When the user is not interacting with the joystick this will return 0.

Copyright (c) 2012. All rights reserved.