From 0b1c592fda398cfeb4cd930a67134da04e5ef7ac Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 12 Feb 2026 15:45:10 -0800
Subject: [PATCH] Steam Controller report 0x45 is used for BLE mode
---
src/hidapi/ios/hid.m | 2 +-
src/joystick/hidapi/SDL_hidapi_steam_triton.c | 2 +-
src/joystick/hidapi/steam/controller_structs.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/hidapi/ios/hid.m b/src/hidapi/ios/hid.m
index 4ab72e3c1905a..e1171ff92fc97 100644
--- a/src/hidapi/ios/hid.m
+++ b/src/hidapi/ios/hid.m
@@ -78,7 +78,7 @@
// (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 2a423ea5e2a19..453becdec27a1 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 2a14d725a77df..2657346421db2 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,
};