mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-29 02:08:01 +03:00
Rename sdl_input.c to sdl_keytable.h
And move xsyskey.pl to tools/.
This commit is contained in:
+2
-2
@@ -137,7 +137,7 @@ endif()
|
||||
|
||||
# FIXME: set up dependency for xsystem35 on this
|
||||
if (ENABLE_SDL AND NOT EMSCRIPTEN AND NOT ANDROID)
|
||||
add_custom_target(sdl_input.c
|
||||
COMMAND perl xsyskey.pl ${SDL2_INCLUDE_DIRS} > sdl_input.c
|
||||
add_custom_target(sdl_keytable.h
|
||||
COMMAND perl ../tools/xsyskey.pl ${SDL2_INCLUDE_DIRS} > sdl_keytable.h
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
#include "menu.h"
|
||||
#include "input.h"
|
||||
#include "joystick.h"
|
||||
#include "sdl_input.c"
|
||||
#include "sdl_keytable.h"
|
||||
#include "texthook.h"
|
||||
|
||||
static void sdl_getEvent(void);
|
||||
|
||||
Reference in New Issue
Block a user