src/joystick/windows/SDL_xinputjoystick.c
changeset 8976 1a5d959d7b32
parent 8972 dfc759d7486f
child 8987 d0fd8420b019
     1.1 --- a/src/joystick/windows/SDL_xinputjoystick.c	Sun Jul 06 20:41:39 2014 -0700
     1.2 +++ b/src/joystick/windows/SDL_xinputjoystick.c	Mon Jul 07 10:26:28 2014 -0700
     1.3 @@ -234,7 +234,6 @@
     1.4      };
     1.5      WORD wButtons = pXInputState->Gamepad.wButtons;
     1.6      Uint8 button;
     1.7 -    Uint8 hat = SDL_HAT_CENTERED;
     1.8  
     1.9      SDL_PrivateJoystickAxis(joystick, 0, (Sint16)pXInputState->Gamepad.sThumbLX);
    1.10      SDL_PrivateJoystickAxis(joystick, 1, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbLY)));
    1.11 @@ -379,12 +378,6 @@
    1.12  {
    1.13  }
    1.14  
    1.15 -SDL_bool
    1.16 -SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index)
    1.17 -{
    1.18 -    return SDL_FALSE;
    1.19 -}
    1.20 -
    1.21  #endif /* SDL_JOYSTICK_XINPUT */
    1.22  
    1.23  /* vi: set ts=4 sw=4 expandtab: */