Searched refs:pchGUID (Results 1 – 3 of 3) sorted by relevance
537 char *pchGUID = SDL_malloc(pFirstComma - pMapping + 1); in SDL_PrivateGetControllerGUIDFromMappingString() local538 if (!pchGUID) { in SDL_PrivateGetControllerGUIDFromMappingString()542 SDL_memcpy(pchGUID, pMapping, pFirstComma - pMapping); in SDL_PrivateGetControllerGUIDFromMappingString()543 pchGUID[ pFirstComma - pMapping ] = 0; in SDL_PrivateGetControllerGUIDFromMappingString()544 return pchGUID; in SDL_PrivateGetControllerGUIDFromMappingString()789 char *pchGUID; in SDL_GameControllerAddMapping() local800 pchGUID = SDL_PrivateGetControllerGUIDFromMappingString(mappingString); in SDL_GameControllerAddMapping()801 if (!pchGUID) { in SDL_GameControllerAddMapping()804 if (!SDL_strcasecmp(pchGUID, "xinput")) { in SDL_GameControllerAddMapping()807 if (!SDL_strcasecmp(pchGUID, "emscripten")) { in SDL_GameControllerAddMapping()[all …]
890 SDL_JoystickGUID SDL_JoystickGetGUIDFromString(const char *pchGUID) in SDL_JoystickGetGUIDFromString() argument894 size_t len = SDL_strlen(pchGUID); in SDL_JoystickGetGUIDFromString()905 *p = (nibble(pchGUID[i]) << 4) | nibble(pchGUID[i+1]); in SDL_JoystickGetGUIDFromString()
139 extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID);