Skip to content

Commit 558f62e

Browse files
committed
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 2d7f300)
1 parent 4ad0d1f commit 558f62e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/joystick/SDL_joystick.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3086,7 +3086,7 @@ SDL_GamepadType SDL_GetGamepadTypeFromVIDPID(Uint16 vendor, Uint16 product, cons
30863086
if (forUI) {
30873087
type = SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_PRO;
30883088
} else {
3089-
type = SDL_GAMEPAD_TYPE_STANDARD;
3089+
type = SDL_GAMEPAD_TYPE_XBOX360;
30903090
}
30913091
break;
30923092
default:

0 commit comments

Comments
 (0)