JoystickAxisX()

Syntax

Result = JoystickAxisX()

Description

Returns one of the following values:

-1: Left movement
0: no movement on the X axis
1: Right movement

ExamineJoystick() must be called before this function to update the actual jostick state.

Supported OS

Windows, AmigaOS

Joystick - Index