SDL_SYS_IsXInputGamepad_DeviceIndex() is only available if SDL_JOYSTICK_XINPUT is true.
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 11:44:14 -0700
changeset 8985a89acd7254f2
parent 8984 bbc802ae0ada
child 8986 1c81316ac642
SDL_SYS_IsXInputGamepad_DeviceIndex() is only available if SDL_JOYSTICK_XINPUT is true.
src/joystick/SDL_sysjoystick.h
     1.1 --- a/src/joystick/SDL_sysjoystick.h	Mon Jul 07 11:13:19 2014 -0700
     1.2 +++ b/src/joystick/SDL_sysjoystick.h	Mon Jul 07 11:44:14 2014 -0700
     1.3 @@ -108,8 +108,10 @@
     1.4  /* Function to return the stable GUID for a opened joystick */
     1.5  extern SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick);
     1.6  
     1.7 +#if SDL_JOYSTICK_XINPUT
     1.8  /* Function returns SDL_TRUE if this device is an XInput gamepad */
     1.9  extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
    1.10 +#endif
    1.11  
    1.12  #endif /* _SDL_sysjoystick_h */
    1.13