AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkJoystick.Value Property

Returns the value of the joystick.

Syntax
Pascal
class property Value: TAgkVector;

This will be in the range -1.0 to 1.0 (both for X and Y) with 0 being centered. When the user is not interacting with the joystick this will return 0, 0.

Copyright (c) 2012. All rights reserved.