Update gamepad mappings and source URL

This matches the recent upstream update.
This commit is contained in:
Camilla Löwy
2017-11-23 19:17:46 +01:00
parent 65166858ff
commit fe9c7a01c5
2 changed files with 196 additions and 130 deletions

View File

@@ -1,7 +1,7 @@
# Usage:
# cmake -P GenerateMappings.cmake <path/to/mappings.h.in> <path/to/mappings.h>
set(source_url "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt")
set(source_url "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb_204.txt")
set(source_path "${CMAKE_CURRENT_BINARY_DIR}/gamecontrollerdb.txt")
set(template_path "${CMAKE_ARGV3}")
set(target_path "${CMAKE_ARGV4}")