summaryrefslogtreecommitdiff
path: root/WhatsNew.txt
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2018-10-26 09:49:27 -0700
committerSam Lantinga <slouken@libsdl.org>2018-10-26 09:49:27 -0700
commit1bd21d3d8396c407595efc743d2fa013f394cc20 (patch)
tree81b4f427b114bd1cdc118041d383824a0f9b957d /WhatsNew.txt
parentaec59d942bd3f4e90d20c7b805bfaa562f597a5d (diff)
downloadsdl-1bd21d3d8396c407595efc743d2fa013f394cc20.tar.gz
Added patch note for SDL_GameControllerGetPlayerIndex() and friends
Diffstat (limited to 'WhatsNew.txt')
-rw-r--r--WhatsNew.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/WhatsNew.txt b/WhatsNew.txt
index 771262381..56de7b678 100644
--- a/WhatsNew.txt
+++ b/WhatsNew.txt
@@ -12,6 +12,7 @@ General:
* Added an event SDL_DISPLAYEVENT which is sent when the display orientation changes
* 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)
* Added support for many other popular game controllers
+* 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.
* Added SDL_GameControllerRumble() and SDL_JoystickRumble() which allow simple rumble without using the haptics API
* Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened
* Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_TIME to control the mouse double-click time