# GetJoystickExists

## Description

Returns 1 if the current device has at least one physical joystick available as an input method. 0 if it has no joystick physical joysticks. If you find that the platform has no physical joysticks you can create virtual ones that appear on screen for use by touch screens or mice with AddVirtualJoystick. GetJoystickExists does not count virtual joysticks in its check. On some platforms joystick detection is run on a background thread that may not complete for some time after your app has started, to wait for the thread to complete use CompleteRawJoystickDetection to be sure that any connected joysticks have been found.

## Definition

integer GetJoystickExists()

int agk::GetJoystickExists()