mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Patched to compile on MingW.
(I think!)
This commit is contained in:
parent
58447b24c1
commit
4add16943e
@ -20,9 +20,10 @@
|
|||||||
*/
|
*/
|
||||||
#include "../../SDL_internal.h"
|
#include "../../SDL_internal.h"
|
||||||
|
|
||||||
|
#include "../SDL_sysjoystick.h"
|
||||||
|
|
||||||
#if SDL_JOYSTICK_DINPUT
|
#if SDL_JOYSTICK_DINPUT
|
||||||
|
|
||||||
#include "../SDL_sysjoystick.h"
|
|
||||||
#include "SDL_windowsjoystick_c.h"
|
#include "SDL_windowsjoystick_c.h"
|
||||||
#include "SDL_dinputjoystick_c.h"
|
#include "SDL_dinputjoystick_c.h"
|
||||||
#include "SDL_xinputjoystick_c.h"
|
#include "SDL_xinputjoystick_c.h"
|
||||||
@ -866,6 +867,7 @@ SDL_DINPUT_JoystickQuit(void)
|
|||||||
|
|
||||||
#else /* !SDL_JOYSTICK_DINPUT */
|
#else /* !SDL_JOYSTICK_DINPUT */
|
||||||
|
|
||||||
|
struct JoyStick_DeviceData;
|
||||||
|
|
||||||
int
|
int
|
||||||
SDL_DINPUT_JoystickInit(void)
|
SDL_DINPUT_JoystickInit(void)
|
||||||
|
@ -20,11 +20,12 @@
|
|||||||
*/
|
*/
|
||||||
#include "../../SDL_internal.h"
|
#include "../../SDL_internal.h"
|
||||||
|
|
||||||
|
#include "../SDL_sysjoystick.h"
|
||||||
|
|
||||||
#if SDL_JOYSTICK_XINPUT
|
#if SDL_JOYSTICK_XINPUT
|
||||||
|
|
||||||
#include "SDL_assert.h"
|
#include "SDL_assert.h"
|
||||||
#include "SDL_hints.h"
|
#include "SDL_hints.h"
|
||||||
#include "../SDL_sysjoystick.h"
|
|
||||||
#include "SDL_windowsjoystick_c.h"
|
#include "SDL_windowsjoystick_c.h"
|
||||||
#include "SDL_xinputjoystick_c.h"
|
#include "SDL_xinputjoystick_c.h"
|
||||||
|
|
||||||
@ -338,6 +339,7 @@ SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index)
|
|||||||
|
|
||||||
#else /* !SDL_JOYSTICK_XINPUT */
|
#else /* !SDL_JOYSTICK_XINPUT */
|
||||||
|
|
||||||
|
struct JoyStick_DeviceData;
|
||||||
|
|
||||||
SDL_bool SDL_XINPUT_Enabled(void)
|
SDL_bool SDL_XINPUT_Enabled(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user