ExamineJoystick()
Syntax
Result = ExamineJoystick(#Joystick)Description
Updates the current joystick state. It needs to be called before using the following functions: JoystickButton(), JoystickAxisX(), JoystickAxisY() and JoystickAxisZ().
Parameters
#Joystick The joystick to use. The first joystick index is 0. The number of available joysticks is returned by InitJoystick().
Return value
Returns nonzero if the joystick state has been correctly updated, returns zero otherwise.
See Also
JoystickButton(), JoystickAxisX(), JoystickAxisY(), JoystickAxisZ().
Supported OS
All