From e42e9a12deb340bc34cb072622fb99f0a59b270c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 13 Aug 2021 20:48:56 -0700 Subject: [PATCH] Fixed build --- src/joystick/iphoneos/SDL_mfijoystick.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/joystick/iphoneos/SDL_mfijoystick.m b/src/joystick/iphoneos/SDL_mfijoystick.m index 1a2c28e00..fafe63b70 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; }