Browse Source

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.
0xDEADCADE 1 month ago
parent
commit
3626598675
1 changed files with 0 additions and 8 deletions
  1. 0 8
      src/joystick/hidapi/SDL_hidapi_steam.c

+ 0 - 8
src/joystick/hidapi/SDL_hidapi_steam.c

@@ -75,18 +75,10 @@ typedef struct SteamControllerStateInternal_t
     short sRightPadX;
     short sRightPadX;
     short sRightPadY;
     short sRightPadY;
 
 
-    // Center pad coordinates
-    short sCenterPadX;
-    short sCenterPadY;
-
     // Left analog stick coordinates
     // Left analog stick coordinates
     short sLeftStickX;
     short sLeftStickX;
     short sLeftStickY;
     short sLeftStickY;
 
 
-    // Right analog stick coordinates
-    short sRightStickX;
-    short sRightStickY;
-
     unsigned short sTriggerL;
     unsigned short sTriggerL;
     unsigned short sTriggerR;
     unsigned short sTriggerR;