Home
last modified time | relevance | path

Searched refs:jid (Results 1 - 8 of 8) sorted by relevance

/third_party/glfw/src/
H A Dinput.c509 int jid; in _glfwAllocJoystick() local
512 for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++) in _glfwAllocJoystick()
514 if (!_glfw.joysticks[jid].allocated) in _glfwAllocJoystick()
518 if (jid > GLFW_JOYSTICK_LAST) in _glfwAllocJoystick()
521 js = _glfw.joysticks + jid; in _glfwAllocJoystick()
1048 GLFWAPI int glfwJoystickPresent(int jid) in glfwJoystickPresent() argument
1052 assert(jid >= GLFW_JOYSTICK_1); in glfwJoystickPresent()
1053 assert(jid < in glfwJoystickPresent()
1073 glfwGetJoystickAxes(int jid, int* count) glfwGetJoystickAxes() argument
1105 glfwGetJoystickButtons(int jid, int* count) glfwGetJoystickButtons() argument
1141 glfwGetJoystickHats(int jid, int* count) glfwGetJoystickHats() argument
1173 glfwGetJoystickName(int jid) glfwGetJoystickName() argument
1201 glfwGetJoystickGUID(int jid) glfwGetJoystickGUID() argument
1229 glfwSetJoystickUserPointer(int jid, void* pointer) glfwSetJoystickUserPointer() argument
1245 glfwGetJoystickUserPointer(int jid) glfwGetJoystickUserPointer() argument
1274 int jid; glfwUpdateGamepadMappings() local
1332 glfwJoystickIsGamepad(int jid) glfwJoystickIsGamepad() argument
1360 glfwGetGamepadName(int jid) glfwGetGamepadName() argument
1391 glfwGetGamepadState(int jid, GLFWgamepadstate* state) glfwGetGamepadState() argument
[all...]
H A Dlinux_joystick.c129 for (int jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++) in openJoystickDevice()
131 if (!_glfw.joysticks[jid].connected) in openJoystickDevice()
133 if (strcmp(_glfw.joysticks[jid].linjs.path, path) == 0) in openJoystickDevice()
293 for (int jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++) in _glfwDetectJoystickConnectionLinux()
295 if (strcmp(_glfw.joysticks[jid].linjs.path, path) == 0) in _glfwDetectJoystickConnectionLinux()
297 closeJoystick(_glfw.joysticks + jid); in _glfwDetectJoystickConnectionLinux()
[all...]
H A Dwin32_joystick.c348 int jid = 0; in deviceCallback() local
357 for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++) in deviceCallback()
359 js = _glfw.joysticks + jid; in deviceCallback()
504 int jid; in _glfwDetectJoystickConnectionWin32() local
509 for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++) in _glfwDetectJoystickConnectionWin32()
511 if (_glfw.joysticks[jid] in _glfwDetectJoystickConnectionWin32()
558 int jid; _glfwDetectJoystickDisconnectionWin32() local
595 int jid; _glfwTerminateJoysticksWin32() local
[all...]
/third_party/glfw/tests/
H A Djoysticks.c66 static void joystick_callback(int jid, int event) in joystick_callback() argument
69 joysticks[joystick_count++] = jid; in joystick_callback()
76 if (joysticks[i] == jid) in joystick_callback()
116 static const char* joystick_label(int jid) in joystick_label() argument
119 snprintf(label, sizeof(label), "%i: %s", jid + 1, glfwGetJoystickName(jid)); in joystick_label()
174 int jid, hat_buttons = GLFW_FALSE; in main() local
203 for (jid = GLFW_JOYSTICK_1; jid <= GLFW_JOYSTICK_LAST; jid in main()
[all...]
H A Devents.c506 static void joystick_callback(int jid, int event) in joystick_callback() argument
512 glfwGetJoystickAxes(jid, &axisCount); in joystick_callback()
513 glfwGetJoystickButtons(jid, &buttonCount); in joystick_callback()
514 glfwGetJoystickHats(jid, &hatCount); in joystick_callback()
518 jid, in joystick_callback()
519 glfwGetJoystickName(jid), in joystick_callback()
524 if (glfwJoystickIsGamepad(jid)) in joystick_callback()
527 jid, in joystick_callback()
528 glfwGetJoystickGUID(jid), in joystick_callback()
529 glfwGetGamepadName(jid)); in joystick_callback()
[all...]
/third_party/glfw/include/GLFW/
H A Dglfw3.h1998 * void function_name(int jid, int event)
2001 * @param[in] jid The joystick that was connected or disconnected.
2012 typedef void (* GLFWjoystickfun)(int jid, int event);
5476 * @param[in] jid The [joystick](@ref joysticks) to query.
5490 GLFWAPI int glfwJoystickPresent(int jid);
5501 * @param[in] jid The [joystick](@ref joysticks) to query.
5523 GLFWAPI const float* glfwGetJoystickAxes(int jid, int* count);
5541 * @param[in] jid The [joystick](@ref joysticks) to query.
5564 GLFWAPI const unsigned char* glfwGetJoystickButtons(int jid, int* count);
5598 * @param[in] jid Th
[all...]
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
H A Dnative-lib.cpp86 Java_com_mobileer_androidfxlab_NativeInterface_addDefaultEffectNative(JNIEnv *, jobject, jint jid) { in Java_com_mobileer_androidfxlab_NativeInterface_addDefaultEffectNative() argument
88 auto id = static_cast<int>(jid); in Java_com_mobileer_androidfxlab_NativeInterface_addDefaultEffectNative()
122 JNIEnv *env, jobject, jint jid, jint jindex, jfloatArray params) { in Java_com_mobileer_androidfxlab_NativeInterface_modifyEffectNative()
124 int id = static_cast<int>(jid); in Java_com_mobileer_androidfxlab_NativeInterface_modifyEffectNative()
121 Java_com_mobileer_androidfxlab_NativeInterface_modifyEffectNative( JNIEnv *env, jobject, jint jid, jint jindex, jfloatArray params) Java_com_mobileer_androidfxlab_NativeInterface_modifyEffectNative() argument
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
H A Dmod.rs4058 pub fn jail_attach(jid: ::c_int) -> ::c_int; in jail_attach()
4059 pub fn jail_remove(jid: ::c_int) -> ::c_int; in jail_remove()

Completed in 20 milliseconds