Fixed build

This commit is contained in:
Sam Lantinga
2026-05-21 10:05:20 -07:00
parent 13f91a67fc
commit fe1918a47f

View File

@@ -3281,7 +3281,7 @@ bool SDL_ShouldIgnoreGamepad(Uint16 vendor_id, Uint16 product_id, Uint16 version
case GAMEPAD_BLACKLIST_ANYWHERE:
if (SDL_strstr(name, blacklist_word->str) != NULL) {
if (SDL_startswith(name, "PG-") {
if (SDL_startswith(name, "PG-")) {
// Ipega gamepads have modes with keyboard keys in addition to gamepad controls
break;
}