Lines Matching refs:jid
66 static void joystick_callback(int jid, int event)
69 joysticks[joystick_count++] = jid;
76 if (joysticks[i] == jid)
116 static const char* joystick_label(int jid)
119 snprintf(label, sizeof(label), "%i: %s", jid + 1, glfwGetJoystickName(jid));
174 int jid, hat_buttons = GLFW_FALSE;
203 for (jid = GLFW_JOYSTICK_1; jid <= GLFW_JOYSTICK_LAST; jid++)
205 if (glfwJoystickPresent(jid))
206 joysticks[joystick_count++] = jid;