瀏覽代碼

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 3 月之前
父節點
當前提交
3626598675
共有 1 個文件被更改,包括 0 次插入8 次删除
  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 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;