Fixed mingw64 build and warnings
This commit is contained in:
parent
1c89d592b7
commit
9d42bf534d
16 changed files with 43 additions and 46 deletions
|
@ -234,7 +234,6 @@ UpdateXInputJoystickState_OLD(SDL_Joystick * joystick, XINPUT_STATE_EX *pXInputS
|
|||
};
|
||||
WORD wButtons = pXInputState->Gamepad.wButtons;
|
||||
Uint8 button;
|
||||
Uint8 hat = SDL_HAT_CENTERED;
|
||||
|
||||
SDL_PrivateJoystickAxis(joystick, 0, (Sint16)pXInputState->Gamepad.sThumbLX);
|
||||
SDL_PrivateJoystickAxis(joystick, 1, (Sint16)(-SDL_max(-32767, pXInputState->Gamepad.sThumbLY)));
|
||||
|
@ -379,12 +378,6 @@ SDL_XINPUT_JoystickQuit(void)
|
|||
{
|
||||
}
|
||||
|
||||
SDL_bool
|
||||
SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index)
|
||||
{
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
#endif /* SDL_JOYSTICK_XINPUT */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue