mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 15:08:31 +00:00
@@ -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)
|
||||
|
Reference in New Issue
Block a user