From 84c21cf970ab434df041a440770a809c04d665fc Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 12 Feb 2026 14:34:20 -0800 Subject: [PATCH] Updated Steam Controller packet handling --- src/joystick/hidapi/SDL_hidapi_steam_triton.c | 1 + src/joystick/hidapi/steam/controller_structs.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/joystick/hidapi/SDL_hidapi_steam_triton.c b/src/joystick/hidapi/SDL_hidapi_steam_triton.c index a084f9e0e2..2a423ea5e2 100644 --- a/src/joystick/hidapi/SDL_hidapi_steam_triton.c +++ b/src/joystick/hidapi/SDL_hidapi_steam_triton.c @@ -386,6 +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: 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 dc67093c67..2a14d725a7 100644 --- a/src/joystick/hidapi/steam/controller_structs.h +++ b/src/joystick/hidapi/steam/controller_structs.h @@ -554,6 +554,7 @@ enum ETritonReportIDTypes { ID_TRITON_CONTROLLER_STATE = 0x42, ID_TRITON_BATTERY_STATUS = 0x43, + ID_TRITON_CONTROLLER_STATE_NO_QUATERNION = 0x45, ID_TRITON_WIRELESS_STATUS_X = 0x46, ID_TRITON_WIRELESS_STATUS = 0x79, };