/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/joystick/windows/ |
H A D | SDL_xinputjoystick.c | 119 while (pNewJoystick) { in AddXInputDevice() 120 …if (pNewJoystick->bXInputDevice && (pNewJoystick->XInputUserId == userid) && (pNewJoystick->SubTyp… in AddXInputDevice() 129 SYS_Joystick = pNewJoystick; in AddXInputDevice() 133 pPrevJoystick = pNewJoystick; in AddXInputDevice() 134 pNewJoystick = pNewJoystick->pNext; in AddXInputDevice() 138 if (!pNewJoystick) { in AddXInputDevice() 141 SDL_zerop(pNewJoystick); in AddXInputDevice() 144 if (!pNewJoystick->joystickname) { in AddXInputDevice() 145 SDL_free(pNewJoystick); in AddXInputDevice() 151 SDL_zero(pNewJoystick->guid); in AddXInputDevice() [all …]
|
H A D | SDL_windowsjoystick.c | 367 JoyStick_DeviceData *pNewJoystick; in SDL_SYS_JoystickDetect() local 370 pNewJoystick = SYS_Joystick; in SDL_SYS_JoystickDetect() 371 while (pNewJoystick) { in SDL_SYS_JoystickDetect() 372 if (pNewJoystick->send_add_event) { in SDL_SYS_JoystickDetect() 373 if (pNewJoystick->bXInputDevice) { in SDL_SYS_JoystickDetect() 374 SDL_XINPUT_MaybeAddDevice(pNewJoystick->XInputUserId); in SDL_SYS_JoystickDetect() 376 SDL_DINPUT_MaybeAddDevice(&pNewJoystick->dxdevice); in SDL_SYS_JoystickDetect() 381 pNewJoystick->send_add_event = SDL_FALSE; in SDL_SYS_JoystickDetect() 384 pNewJoystick = pNewJoystick->pNext; in SDL_SYS_JoystickDetect()
|
H A D | SDL_dinputjoystick.c | 353 JoyStick_DeviceData *pNewJoystick; in EnumJoysticksCallback() local 366 while (pNewJoystick) { in EnumJoysticksCallback() 376 SYS_Joystick = pNewJoystick; in EnumJoysticksCallback() 381 pPrevJoystick = pNewJoystick; in EnumJoysticksCallback() 382 pNewJoystick = pNewJoystick->pNext; in EnumJoysticksCallback() 386 if (!pNewJoystick) { in EnumJoysticksCallback() 390 SDL_zerop(pNewJoystick); in EnumJoysticksCallback() 392 if (!pNewJoystick->joystickname) { in EnumJoysticksCallback() 393 SDL_free(pNewJoystick); in EnumJoysticksCallback() 400 SDL_memcpy(&pNewJoystick->guid, &pdidInstance->guidProduct, sizeof(pNewJoystick->guid)); in EnumJoysticksCallback() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/joystick/windows/ |
H A D | SDL_xinputjoystick.c | 119 while (pNewJoystick) { in AddXInputDevice() 120 …if (pNewJoystick->bXInputDevice && (pNewJoystick->XInputUserId == userid) && (pNewJoystick->SubTyp… in AddXInputDevice() 129 SYS_Joystick = pNewJoystick; in AddXInputDevice() 133 pPrevJoystick = pNewJoystick; in AddXInputDevice() 134 pNewJoystick = pNewJoystick->pNext; in AddXInputDevice() 138 if (!pNewJoystick) { in AddXInputDevice() 141 SDL_zerop(pNewJoystick); in AddXInputDevice() 144 if (!pNewJoystick->joystickname) { in AddXInputDevice() 145 SDL_free(pNewJoystick); in AddXInputDevice() 151 SDL_zero(pNewJoystick->guid); in AddXInputDevice() [all …]
|
H A D | SDL_windowsjoystick.c | 367 JoyStick_DeviceData *pNewJoystick; in SDL_SYS_JoystickDetect() local 370 pNewJoystick = SYS_Joystick; in SDL_SYS_JoystickDetect() 371 while (pNewJoystick) { in SDL_SYS_JoystickDetect() 372 if (pNewJoystick->send_add_event) { in SDL_SYS_JoystickDetect() 373 if (pNewJoystick->bXInputDevice) { in SDL_SYS_JoystickDetect() 374 SDL_XINPUT_MaybeAddDevice(pNewJoystick->XInputUserId); in SDL_SYS_JoystickDetect() 376 SDL_DINPUT_MaybeAddDevice(&pNewJoystick->dxdevice); in SDL_SYS_JoystickDetect() 381 pNewJoystick->send_add_event = SDL_FALSE; in SDL_SYS_JoystickDetect() 384 pNewJoystick = pNewJoystick->pNext; in SDL_SYS_JoystickDetect()
|
H A D | SDL_dinputjoystick.c | 353 JoyStick_DeviceData *pNewJoystick; in EnumJoysticksCallback() local 366 while (pNewJoystick) { in EnumJoysticksCallback() 376 SYS_Joystick = pNewJoystick; in EnumJoysticksCallback() 381 pPrevJoystick = pNewJoystick; in EnumJoysticksCallback() 382 pNewJoystick = pNewJoystick->pNext; in EnumJoysticksCallback() 386 if (!pNewJoystick) { in EnumJoysticksCallback() 390 SDL_zerop(pNewJoystick); in EnumJoysticksCallback() 392 if (!pNewJoystick->joystickname) { in EnumJoysticksCallback() 393 SDL_free(pNewJoystick); in EnumJoysticksCallback() 400 SDL_memcpy(&pNewJoystick->guid, &pdidInstance->guidProduct, sizeof(pNewJoystick->guid)); in EnumJoysticksCallback() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/joystick/windows/ |
H A D | SDL_xinputjoystick.c | 119 while (pNewJoystick) { in AddXInputDevice() 120 …if (pNewJoystick->bXInputDevice && (pNewJoystick->XInputUserId == userid) && (pNewJoystick->SubTyp… in AddXInputDevice() 129 SYS_Joystick = pNewJoystick; in AddXInputDevice() 133 pPrevJoystick = pNewJoystick; in AddXInputDevice() 134 pNewJoystick = pNewJoystick->pNext; in AddXInputDevice() 138 if (!pNewJoystick) { in AddXInputDevice() 141 SDL_zerop(pNewJoystick); in AddXInputDevice() 144 if (!pNewJoystick->joystickname) { in AddXInputDevice() 145 SDL_free(pNewJoystick); in AddXInputDevice() 151 SDL_zero(pNewJoystick->guid); in AddXInputDevice() [all …]
|
H A D | SDL_windowsjoystick.c | 374 JoyStick_DeviceData *pNewJoystick; in SDL_SYS_JoystickDetect() local 377 pNewJoystick = SYS_Joystick; in SDL_SYS_JoystickDetect() 378 while (pNewJoystick) { in SDL_SYS_JoystickDetect() 379 if (pNewJoystick->send_add_event) { in SDL_SYS_JoystickDetect() 380 if (pNewJoystick->bXInputDevice) { in SDL_SYS_JoystickDetect() 381 SDL_XINPUT_MaybeAddDevice(pNewJoystick->XInputUserId); in SDL_SYS_JoystickDetect() 383 SDL_DINPUT_MaybeAddDevice(&pNewJoystick->dxdevice); in SDL_SYS_JoystickDetect() 388 pNewJoystick->send_add_event = SDL_FALSE; in SDL_SYS_JoystickDetect() 391 pNewJoystick = pNewJoystick->pNext; in SDL_SYS_JoystickDetect()
|
H A D | SDL_dinputjoystick.c | 353 JoyStick_DeviceData *pNewJoystick; in EnumJoysticksCallback() local 366 while (pNewJoystick) { in EnumJoysticksCallback() 376 SYS_Joystick = pNewJoystick; in EnumJoysticksCallback() 381 pPrevJoystick = pNewJoystick; in EnumJoysticksCallback() 382 pNewJoystick = pNewJoystick->pNext; in EnumJoysticksCallback() 386 if (!pNewJoystick) { in EnumJoysticksCallback() 390 SDL_zerop(pNewJoystick); in EnumJoysticksCallback() 392 if (!pNewJoystick->joystickname) { in EnumJoysticksCallback() 393 SDL_free(pNewJoystick); in EnumJoysticksCallback() 400 SDL_memcpy(&pNewJoystick->guid, &pdidInstance->guidProduct, sizeof(pNewJoystick->guid)); in EnumJoysticksCallback() [all …]
|
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/joystick/windows/ |
H A D | SDL_xinputjoystick.c | 198 while (pNewJoystick) { in AddXInputDevice() 199 …if (pNewJoystick->bXInputDevice && (pNewJoystick->XInputUserId == userid) && (pNewJoystick->SubTyp… in AddXInputDevice() 212 pPrevJoystick = pNewJoystick; in AddXInputDevice() 213 pNewJoystick = pNewJoystick->pNext; in AddXInputDevice() 217 if (!pNewJoystick) { in AddXInputDevice() 220 SDL_zerop(pNewJoystick); in AddXInputDevice() 224 SDL_free(pNewJoystick); in AddXInputDevice() 230 SDL_zero(pNewJoystick->guid); in AddXInputDevice() 253 pNewJoystick->SubType = SubType; in AddXInputDevice() 256 if (SDL_ShouldIgnoreGameController(pNewJoystick->joystickname, pNewJoystick->guid)) { in AddXInputDevice() [all …]
|
H A D | SDL_dinputjoystick.c | 413 while (pNewJoystick) { in EnumJoysticksCallback() 432 pNewJoystick = pNewJoystick->pNext; in EnumJoysticksCallback() 436 if (!pNewJoystick) { in EnumJoysticksCallback() 440 SDL_zerop(pNewJoystick); in EnumJoysticksCallback() 441 SDL_wcslcpy(pNewJoystick->hidPath, hidPath, SDL_arraysize(pNewJoystick->hidPath)); in EnumJoysticksCallback() 444 SDL_free(pNewJoystick); in EnumJoysticksCallback() 451 SDL_memset(pNewJoystick->guid.data, 0, sizeof(pNewJoystick->guid.data)); in EnumJoysticksCallback() 466 SDL_strlcpy((char*)guid16, pNewJoystick->joystickname, sizeof(pNewJoystick->guid.data) - 4); in EnumJoysticksCallback() 469 if (SDL_IsGameControllerNameAndGUID(pNewJoystick->joystickname, pNewJoystick->guid) && in EnumJoysticksCallback() 470 SDL_ShouldIgnoreGameController(pNewJoystick->joystickname, pNewJoystick->guid)) { in EnumJoysticksCallback() [all …]
|
H A D | SDL_windowsjoystick.c | 374 JoyStick_DeviceData *pNewJoystick; in SDL_SYS_JoystickDetect() local 377 pNewJoystick = SYS_Joystick; in SDL_SYS_JoystickDetect() 378 while (pNewJoystick) { in SDL_SYS_JoystickDetect() 379 if (pNewJoystick->send_add_event) { in SDL_SYS_JoystickDetect() 380 if (pNewJoystick->bXInputDevice) { in SDL_SYS_JoystickDetect() 381 SDL_XINPUT_MaybeAddDevice(pNewJoystick->XInputUserId); in SDL_SYS_JoystickDetect() 383 SDL_DINPUT_MaybeAddDevice(&pNewJoystick->dxdevice); in SDL_SYS_JoystickDetect() 388 pNewJoystick->send_add_event = SDL_FALSE; in SDL_SYS_JoystickDetect() 391 pNewJoystick = pNewJoystick->pNext; in SDL_SYS_JoystickDetect()
|
/dports/devel/sdl20/SDL2-2.0.18/src/joystick/windows/ |
H A D | SDL_xinputjoystick.c | 240 while (pNewJoystick) { in AddXInputDevice() 241 …if (pNewJoystick->bXInputDevice && (pNewJoystick->XInputUserId == userid) && (pNewJoystick->SubTyp… in AddXInputDevice() 254 pPrevJoystick = pNewJoystick; in AddXInputDevice() 255 pNewJoystick = pNewJoystick->pNext; in AddXInputDevice() 259 if (!pNewJoystick) { in AddXInputDevice() 282 pNewJoystick->SubType = SubType; in AddXInputDevice() 286 SDL_free(pNewJoystick); in AddXInputDevice() 290 if (SDL_ShouldIgnoreJoystick(pNewJoystick->joystickname, pNewJoystick->guid)) { in AddXInputDevice() 291 SDL_free(pNewJoystick); in AddXInputDevice() 299 SDL_free(pNewJoystick); in AddXInputDevice() [all …]
|
H A D | SDL_dinputjoystick.c | 457 while (pNewJoystick) { in EnumJoystickDetectCallback() 474 pNewJoystick = NULL; in EnumJoystickDetectCallback() 479 pNewJoystick = pNewJoystick->pNext; in EnumJoystickDetectCallback() 483 CHECK(pNewJoystick); in EnumJoystickDetectCallback() 485 SDL_zerop(pNewJoystick); in EnumJoystickDetectCallback() 486 SDL_strlcpy(pNewJoystick->hidPath, hidPath, SDL_arraysize(pNewJoystick->hidPath)); in EnumJoystickDetectCallback() 488 SDL_memset(pNewJoystick->guid.data, 0, sizeof(pNewJoystick->guid.data)); in EnumJoystickDetectCallback() 509 CHECK(!SDL_ShouldIgnoreJoystick(pNewJoystick->joystickname, pNewJoystick->guid)); in EnumJoystickDetectCallback() 520 pNewJoystick = NULL; in EnumJoystickDetectCallback() 523 if (pNewJoystick) { in EnumJoystickDetectCallback() [all …]
|
/dports/x11/controllermap/SDL2-2.0.18/src/joystick/windows/ |
H A D | SDL_xinputjoystick.c | 240 while (pNewJoystick) { in AddXInputDevice() 241 …if (pNewJoystick->bXInputDevice && (pNewJoystick->XInputUserId == userid) && (pNewJoystick->SubTyp… in AddXInputDevice() 254 pPrevJoystick = pNewJoystick; in AddXInputDevice() 255 pNewJoystick = pNewJoystick->pNext; in AddXInputDevice() 259 if (!pNewJoystick) { in AddXInputDevice() 282 pNewJoystick->SubType = SubType; in AddXInputDevice() 286 SDL_free(pNewJoystick); in AddXInputDevice() 290 if (SDL_ShouldIgnoreJoystick(pNewJoystick->joystickname, pNewJoystick->guid)) { in AddXInputDevice() 291 SDL_free(pNewJoystick); in AddXInputDevice() 299 SDL_free(pNewJoystick); in AddXInputDevice() [all …]
|
H A D | SDL_dinputjoystick.c | 457 while (pNewJoystick) { in EnumJoystickDetectCallback() 474 pNewJoystick = NULL; in EnumJoystickDetectCallback() 479 pNewJoystick = pNewJoystick->pNext; in EnumJoystickDetectCallback() 483 CHECK(pNewJoystick); in EnumJoystickDetectCallback() 485 SDL_zerop(pNewJoystick); in EnumJoystickDetectCallback() 486 SDL_strlcpy(pNewJoystick->hidPath, hidPath, SDL_arraysize(pNewJoystick->hidPath)); in EnumJoystickDetectCallback() 488 SDL_memset(pNewJoystick->guid.data, 0, sizeof(pNewJoystick->guid.data)); in EnumJoystickDetectCallback() 509 CHECK(!SDL_ShouldIgnoreJoystick(pNewJoystick->joystickname, pNewJoystick->guid)); in EnumJoystickDetectCallback() 520 pNewJoystick = NULL; in EnumJoystickDetectCallback() 523 if (pNewJoystick) { in EnumJoystickDetectCallback() [all …]
|