Added SDL_JoystickGetXInputUserIndex()

This commit is contained in:
Sam Lantinga committed 2018-10-25 12:54:42 -07:00
1 parent 4d4e18c4bb
commit 9987ca69f3
6 files changed
+18

No files matched your search

+5
View File
@@ -384,6 +384,11 @@ extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick * joystick);
*/
extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL_Joystick * joystick);
/**
* Return the XInput user index for this joystick, or -1 if it's not available
*/
extern DECLSPEC int SDLCALL SDL_JoystickGetXInputUserIndex(SDL_Joystick * joystick);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}