commit | c759387989d422a680821681c63dea76ad275420 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Fri Dec 20 20:12:03 2019 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Fri Dec 20 20:12:03 2019 -0800 |
tree | 52abc78e7b916bbf7059b2ef45d9ebc350d02635 | |
parent | c4b62cfd9d91e6514305f6a1e83efe9002c1db1c [diff] |
Automatically assign player indexes to game controllers, and allow changing the player index for game controllers and joysticks. Added the functions SDL_JoystickFromPlayerIndex(), SDL_JoystickSetPlayerIndex(), SDL_GameControllerFromPlayerIndex(), and SDL_GameControllerSetPlayerIndex()