Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened

This commit is contained in:
Sam Lantinga 2018-03-07 13:30:40 -08:00
parent 9e651b6915
commit a8ac588549
7 changed files with 58 additions and 22 deletions

View file

@ -669,3 +669,4 @@
#define SDL_WinRTGetDeviceFamily SDL_WinRTGetDeviceFamily_REAL
#define SDL_log10 SDL_log10_REAL
#define SDL_log10f SDL_log10f_REAL
#define SDL_GameControllerMappingForDeviceIndex SDL_GameControllerMappingForDeviceIndex_REAL