Added patch note for SDL_GameControllerGetPlayerIndex() and friends
authorSam Lantinga <slouken@libsdl.org>
Fri, 26 Oct 2018 09:49:27 -0700
changeset 1236160cdd518cf9b
parent 12360 a21c0a3bf183
child 12362 67496c3f9626
Added patch note for SDL_GameControllerGetPlayerIndex() and friends
WhatsNew.txt
     1.1 --- a/WhatsNew.txt	Fri Oct 26 09:27:31 2018 -0700
     1.2 +++ b/WhatsNew.txt	Fri Oct 26 09:49:27 2018 -0700
     1.3 @@ -12,6 +12,7 @@
     1.4  * Added an event SDL_DISPLAYEVENT which is sent when the display orientation changes
     1.5  * Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms. (Thanks to Valve for contributing the PS4 and Nintendo Switch Pro controller support)
     1.6  * Added support for many other popular game controllers
     1.7 +* Added SDL_JoystickGetDevicePlayerIndex(), SDL_JoystickGetPlayerIndex(), and SDL_GameControllerGetPlayerIndex() to get the player index for a controller. For XInput controllers this returns the XInput index for the controller.
     1.8  * Added SDL_GameControllerRumble() and SDL_JoystickRumble() which allow simple rumble without using the haptics API
     1.9  * Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened
    1.10  * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_TIME to control the mouse double-click time