Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pirvi-public
glfw
Commits
f4cd470b
Commit
f4cd470b
authored
Feb 13, 2018
by
Camilla Löwy
Browse files
Move to modern mappings database with modifiers
parent
3c901103
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
CMake/GenerateMappings.cmake
View file @
f4cd470b
# 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
}
"
)
...
...
src/mappings.h
View file @
f4cd470b
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment