VIDEO_OA_isJoystickAvailable()

Checks whether a joystick is configured for the workstation with the passed number.

Synopsis

bool VIDEO_OA_isJoystickAvailable(int number = 0);

Parameters

Parameter Description
number Number of the workstation (0 = current workstation)

Errors

Missing or wrong arguments

Description

This function checks whether a joystick is configured for the workstation with the passed number. If no number or 0 is defined, the current workstation is checked.

EXAMPLE

main()
{
  DebugN(VIDEO_OA_isJoystickAvailable());
}

Assignment

Video functions

Availability

UI, CTRL