parent
6d7c211faf
commit
154452a726
126 changed files with 150 additions and 9582 deletions
|
@ -832,9 +832,6 @@ int SDL_GetJoystickPlayerIndexForID(SDL_JoystickID instance_id)
|
|||
*/
|
||||
static bool SDL_JoystickAxesCenteredAtZero(SDL_Joystick *joystick)
|
||||
{
|
||||
#ifdef SDL_PLATFORM_WINRT
|
||||
return true;
|
||||
#else
|
||||
// printf("JOYSTICK '%s' VID/PID 0x%.4x/0x%.4x AXES: %d\n", joystick->name, vendor, product, joystick->naxes);
|
||||
|
||||
if (joystick->naxes == 2) {
|
||||
|
@ -843,7 +840,6 @@ static bool SDL_JoystickAxesCenteredAtZero(SDL_Joystick *joystick)
|
|||
}
|
||||
|
||||
return SDL_VIDPIDInList(SDL_GetJoystickVendor(joystick), SDL_GetJoystickProduct(joystick), &zero_centered_devices);
|
||||
#endif // SDL_PLATFORM_WINRT
|
||||
}
|
||||
|
||||
static bool IsROGAlly(SDL_Joystick *joystick)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue