AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawJoystick.RotY Property

Returns the current rotational Y value (if applicable) for the physical joystick at the given index.

Syntax
Pascal
class property RotY [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. In reality some joystick devices use this value for a second analogue stick.

Copyright (c) 2012. All rights reserved.