diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c index 37de32510..ba0ab8369 100644 --- a/src/joystick/SDL_gamecontroller.c +++ b/src/joystick/SDL_gamecontroller.c @@ -892,7 +892,7 @@ static ControllerMapping_t *SDL_PrivateGetControllerMappingForNameAndGUID(const #endif /* __LINUX__ */ if (!mapping && name) { - if (SDL_strstr(name, "Xbox") || SDL_strstr(name, "X-Box")) { + if (SDL_strstr(name, "Xbox") || SDL_strstr(name, "X-Box") || SDL_strstr(name, "XBOX")) { mapping = s_pXInputMapping; } }