diff --git a/src/hidapi/ios/hid.m b/src/hidapi/ios/hid.m index 4ab72e3c19..e1171ff92f 100644 --- a/src/hidapi/ios/hid.m +++ b/src/hidapi/ios/hid.m @@ -78,7 +78,7 @@ typedef uint64_t uint64; // (READ/NOTIFICATIONS) #define VALVE_INPUT_CHAR_0x1106 @"100F6C33-1735-4313-B402-38567131E5F3" -#define VALVE_INPUT_CHAR_0x1303 @"100F6C77-1735-4313-B402-38567131E5F3" +#define VALVE_INPUT_CHAR_0x1303 @"100F6C7A-1735-4313-B402-38567131E5F3" //  (READ/WRITE) #define VALVE_REPORT_CHAR @"100F6C34-1735-4313-B402-38567131E5F3" diff --git a/src/joystick/hidapi/SDL_hidapi_steam_triton.c b/src/joystick/hidapi/SDL_hidapi_steam_triton.c index 2a423ea5e2..453becdec2 100644 --- a/src/joystick/hidapi/SDL_hidapi_steam_triton.c +++ b/src/joystick/hidapi/SDL_hidapi_steam_triton.c @@ -386,7 +386,7 @@ static bool HIDAPI_DriverSteamTriton_UpdateDevice(SDL_HIDAPI_Device *device) switch (data[0]) { case ID_TRITON_CONTROLLER_STATE: - case ID_TRITON_CONTROLLER_STATE_NO_QUATERNION: + case ID_TRITON_CONTROLLER_STATE_BLE: if (!joystick) { HIDAPI_DriverSteamTriton_SetControllerConnected(device, true); if (device->num_joysticks > 0) { diff --git a/src/joystick/hidapi/steam/controller_structs.h b/src/joystick/hidapi/steam/controller_structs.h index 2a14d725a7..2657346421 100644 --- a/src/joystick/hidapi/steam/controller_structs.h +++ b/src/joystick/hidapi/steam/controller_structs.h @@ -554,7 +554,7 @@ enum ETritonReportIDTypes { ID_TRITON_CONTROLLER_STATE = 0x42, ID_TRITON_BATTERY_STATUS = 0x43, - ID_TRITON_CONTROLLER_STATE_NO_QUATERNION = 0x45, + ID_TRITON_CONTROLLER_STATE_BLE = 0x45, ID_TRITON_WIRELESS_STATUS_X = 0x46, ID_TRITON_WIRELESS_STATUS = 0x79, };