From 3626598675f499f0b24a369ebb52b23628d4898d Mon Sep 17 00:00:00 2001
From: 0xDEADCADE <[EMAIL REDACTED]>
Date: Sat, 23 May 2026 14:01:42 +0200
Subject: [PATCH] Remove CenterPad and RightStick from Steam Controller (2015)
internal state struct
These values are never used for the Steam Controller (2015), as it does not physically have these inputs.
---
src/joystick/hidapi/SDL_hidapi_steam.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/joystick/hidapi/SDL_hidapi_steam.c b/src/joystick/hidapi/SDL_hidapi_steam.c
index 624e8b5dd517f..3a50d1fc890f8 100644
--- a/src/joystick/hidapi/SDL_hidapi_steam.c
+++ b/src/joystick/hidapi/SDL_hidapi_steam.c
@@ -75,18 +75,10 @@ typedef struct SteamControllerStateInternal_t
short sRightPadX;
short sRightPadY;
- // Center pad coordinates
- short sCenterPadX;
- short sCenterPadY;
-
// Left analog stick coordinates
short sLeftStickX;
short sLeftStickY;
- // Right analog stick coordinates
- short sRightStickX;
- short sRightStickY;
-
unsigned short sTriggerL;
unsigned short sTriggerR;