Commit e42e9a12deb340bc34cb072622fb99f0a59b270c

Sam Lantinga 2021-08-13T20:48:56

Fixed build

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/joystick/iphoneos/SDL_mfijoystick.m b/src/joystick/iphoneos/SDL_mfijoystick.m
index 1a2c28e..fafe63b 100644
--- a/src/joystick/iphoneos/SDL_mfijoystick.m
+++ b/src/joystick/iphoneos/SDL_mfijoystick.m
@@ -298,10 +298,10 @@ IOS_AddMFIJoystickDevice(SDL_JoystickDeviceItem *device, GCController *controlle
                 subtype = 1;
             } else if (device->has_xbox_share_button) {
                 /* Assume Xbox Series X Controller unless/until GCController flows VID/PID */
-                product = USB_PRODUCT_XBOX_SERIES_X_BLUETOOTH;
+                product = USB_PRODUCT_XBOX_SERIES_X_BLE;
                 subtype = 1;
             } else {
-                /* Assume Xbox One S BLE Controller unless/until GCController flows VID/PID */
+                /* Assume Xbox One S Bluetooth Controller unless/until GCController flows VID/PID */
                 product = USB_PRODUCT_XBOX_ONE_S_REV1_BLUETOOTH;
                 subtype = 0;
             }