forked from minecraft-linux/mcpelauncher-manifest
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load gamecontrollerdb.txt from data dir, add a default one
- Loading branch information
Showing
5 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
include(ExternalProject) | ||
|
||
set(GAMECONTROLLERDB_DIR ${CMAKE_BINARY_DIR}/gamecontrollerdb) | ||
|
||
ExternalProject_Add( | ||
gamecontrollerdb | ||
DOWNLOAD_DIR ${GAMECONTROLLERDB_DIR} | ||
URL "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt" | ||
"https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/LICENSE" | ||
DOWNLOAD_NO_EXTRACT TRUE | ||
DOWNLOAD_NO_PROGRESS TRUE | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
) | ||
|
||
install(FILES ${GAMECONTROLLERDB_DIR}/gamecontrollerdb.txt COMPONENT gamepad-mappings DESTINATION share/mcpelauncher | ||
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ) |
Submodule game-window
updated
5 files
+2 −0 | include/game_window_manager.h | |
+5 −0 | src/window_manager_eglut.cpp | |
+4 −2 | src/window_manager_eglut.h | |
+4 −0 | src/window_manager_glfw.cpp | |
+4 −2 | src/window_manager_glfw.h |
Submodule mcpelauncher-client
updated
4 files
+1 −0 | CPackSettings.cmake | |
+1 −0 | src/main.cpp | |
+13 −0 | src/window_callbacks.cpp | |
+2 −0 | src/window_callbacks.h |
Submodule mcpelauncher-common
updated
from 15fcfb to 1709ae