Handle both "Sony Interactive Intertainment" and "Sony Computer Entertainment" when ignoring motion sensors
diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c
index c028716..69e41ca 100644
--- a/src/joystick/SDL_gamecontroller.c
+++ b/src/joystick/SDL_gamecontroller.c
@@ -1469,7 +1469,7 @@
Uint32 vidpid;
#if defined(__LINUX__)
- if (name && SDL_strcmp(name, "Sony Interactive Entertainment Wireless Controller Motion Sensors") == 0) {
+ if (name && SDL_strstr(name, "Wireless Controller Motion Sensors")) {
/* Don't treat the PS4 motion controls as a separate game controller */
return SDL_TRUE;
}