Sam Lantinga il y a 8 heures
Parent
commit
fe1918a47f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/joystick/SDL_gamepad.c

+ 1 - 1
src/joystick/SDL_gamepad.c

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