Lines Matching refs:path
127 static GLFWbool openJoystickDevice(const char* path)
133 if (strcmp(_glfw.joysticks[jid].linjs.path, path) == 0)
138 linjs.fd = open(path, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
233 strncpy(linjs.path, path, sizeof(linjs.path) - 1);
259 return strcmp(fj->linjs.path, sj->linjs.path);
286 char path[PATH_MAX];
287 snprintf(path, sizeof(path), "/dev/input/%s", e->name);
290 openJoystickDevice(path);
295 if (strcmp(_glfw.joysticks[jid].linjs.path, path) == 0)
348 char path[PATH_MAX];
350 snprintf(path, sizeof(path), "%s/%s", dirname, entry->d_name);
352 if (openJoystickDevice(path))