Add CMake target for updating gamepad mappings

This adds the 'mappings' build target that downloads the upstream
gamecontrollerdb.txt file and regenerates the mappings.h header.

Related to #900.
This commit is contained in:
Camilla Löwy
2017-09-14 20:16:25 +02:00
parent 4637c31d82
commit 16ae02ab85
4 changed files with 115 additions and 0 deletions
+1
View File
@@ -163,6 +163,7 @@ information on what to include when reporting a bug.
- Added `GLFW_INCLUDE_ES32` for including the OpenGL ES 3.2 header
- Added `GLFW_OSMESA_CONTEXT_API` for creating OpenGL contexts with
[OSMesa](https://www.mesa3d.org/osmesa.html) (#281)
- Added `GenerateMappings.cmake` script for updating gamepad mappings
- Removed `GLFW_USE_RETINA` compile-time option
- Removed `GLFW_USE_CHDIR` compile-time option
- Removed `GLFW_USE_MENUBAR` compile-time option