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
$jid
Thejoystick
to query.
- returns
-
int
GLFW_TRUE
if the joystick is present, orGLFW_FALSE
otherwise.