Home
last modified time | relevance | path

Searched refs:joystickname (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_windowsjoystick_c.h33 char *joystickname; member
A DSDL_xinputjoystick.c278 …pNewJoystick->joystickname = SDL_CreateJoystickName(vendor, product, NULL, GetXInputName(userid, S… in AddXInputDevice()
279 if (!pNewJoystick->joystickname) { in AddXInputDevice()
284 if (SDL_ShouldIgnoreJoystick(pNewJoystick->joystickname, pNewJoystick->guid)) { in AddXInputDevice()
290 if (HIDAPI_IsDevicePresent(vendor, product, version, pNewJoystick->joystickname)) { in AddXInputDevice()
A DSDL_windowsjoystick.c370 SDL_free(pCurList->joystickname); in WINDOWS_JoystickDetect()
408 return device->joystickname; in WINDOWS_JoystickGetDeviceName()
530 SDL_free(device->joystickname); in WINDOWS_JoystickQuit()
A DSDL_dinputjoystick.c633 pNewJoystick->joystickname = SDL_CreateJoystickName(vendor, product, NULL, name); in EnumJoysticksCallback()
636 if (!pNewJoystick->joystickname) { in EnumJoysticksCallback()
654 SDL_strlcpy((char*)guid16, pNewJoystick->joystickname, sizeof(pNewJoystick->guid.data) - 4); in EnumJoysticksCallback()
657 if (SDL_ShouldIgnoreJoystick(pNewJoystick->joystickname, pNewJoystick->guid)) { in EnumJoysticksCallback()
658 SDL_free(pNewJoystick->joystickname); in EnumJoysticksCallback()
664 if (HIDAPI_IsDevicePresent(vendor, product, 0, pNewJoystick->joystickname)) { in EnumJoysticksCallback()
666 SDL_free(pNewJoystick->joystickname); in EnumJoysticksCallback()
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick.c378 const char *joystickname = NULL; in SDL_JoystickOpen() local
422 joystickname = driver->GetDeviceName(device_index); in SDL_JoystickOpen()
423 if (joystickname) { in SDL_JoystickOpen()
424 joystick->name = SDL_strdup(joystickname); in SDL_JoystickOpen()

Completed in 12 milliseconds