src/joystick/SDL_sysjoystick.h
changeset 8985 a89acd7254f2
parent 8972 dfc759d7486f
child 9380 07b7c1005a23
equal deleted inserted replaced
8984:bbc802ae0ada 8985:a89acd7254f2
   106 extern SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID(int device_index);
   106 extern SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID(int device_index);
   107 
   107 
   108 /* Function to return the stable GUID for a opened joystick */
   108 /* Function to return the stable GUID for a opened joystick */
   109 extern SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick);
   109 extern SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick);
   110 
   110 
       
   111 #if SDL_JOYSTICK_XINPUT
   111 /* Function returns SDL_TRUE if this device is an XInput gamepad */
   112 /* Function returns SDL_TRUE if this device is an XInput gamepad */
   112 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
   113 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
       
   114 #endif
   113 
   115 
   114 #endif /* _SDL_sysjoystick_h */
   116 #endif /* _SDL_sysjoystick_h */
   115 
   117 
   116 /* vi: set ts=4 sw=4 expandtab: */
   118 /* vi: set ts=4 sw=4 expandtab: */