glfwJoystickPresent¶
Returns whether the specified joystick is present.
This function returns whether the specified joystick is present.
There is no need to call this function before other functions that accept a joystick ID, as they all check for presence before performing any other work.
- arguments
-
int$jidThejoystickto query.
- returns
-
intGLFW_TRUEif the joystick is present, orGLFW_FALSEotherwise.