mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-17 14:31:10 +00:00
Don't accidentally switch the Horipad Mini into Switch report mode
The PS3 probing switches the HORI Horipad Mini into Nintendo Switch report mode, which we don't recognize since it's still using the Xbox 360 endpoint.
(cherry picked from commit 2d7f300783)
This commit is contained in:
@@ -3086,7 +3086,7 @@ SDL_GamepadType SDL_GetGamepadTypeFromVIDPID(Uint16 vendor, Uint16 product, cons
|
||||
if (forUI) {
|
||||
type = SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_PRO;
|
||||
} else {
|
||||
type = SDL_GAMEPAD_TYPE_STANDARD;
|
||||
type = SDL_GAMEPAD_TYPE_XBOX360;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user