From 463d8ddf85d0c959574b228eb67549a91b098587 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 27 May 2026 18:20:17 -0700 Subject: [PATCH] Fix mistyped output report message for Steam Controller This caused hiccups in BlueZ BT driver for Linux (cherry picked from commit bb3c61390ab4ba4fba6b542451a6dc26566eb5cf) --- src/joystick/hidapi/steam/controller_structs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/joystick/hidapi/steam/controller_structs.h b/src/joystick/hidapi/steam/controller_structs.h index ae0c043e2d..3f707d7f5b 100644 --- a/src/joystick/hidapi/steam/controller_structs.h +++ b/src/joystick/hidapi/steam/controller_structs.h @@ -179,9 +179,8 @@ typedef struct uint16_t on_us; uint16_t off_us; uint16_t repeat_count; - uint16_t gain_db; } MsgHapticPulse; -#define HID_HAPTIC_PULSE_OUTPUT_REPORT_BYTES 10 +#define HID_HAPTIC_PULSE_OUTPUT_REPORT_BYTES 8 typedef struct {