AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawJoystick.Y Property

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

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