Bläddra i källkod

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 23 timmar sedan
förälder
incheckning
3626598675
1 ändrade filer med 0 tillägg och 8 borttagningar
  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;