Move to modern mappings database with modifiers

This commit is contained in:
Camilla Löwy
2018-02-13 18:57:56 +01:00
parent 3c9011030f
commit f4cd470bcb
2 changed files with 397 additions and 229 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_204.txt")
set(source_url "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt")
set(source_path "${CMAKE_CURRENT_BINARY_DIR}/gamecontrollerdb.txt")
set(template_path "${CMAKE_ARGV3}")
set(target_path "${CMAKE_ARGV4}")