瀏覽代碼

Added missing linux source.

Enable HAVE_LINUX_INPUT_H by default.
Brucey 2 年之前
父節點
當前提交
faff660396

+ 1 - 0
sdl.mod/include/linuxarm64/SDL_config.h

@@ -75,6 +75,7 @@
 #define HAVE_STRING_H 1
 #define HAVE_STRING_H 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_WCHAR_H 1
 #define HAVE_WCHAR_H 1
+#define HAVE_LINUX_INPUT_H 1
 /* #undef HAVE_PTHREAD_NP_H */
 /* #undef HAVE_PTHREAD_NP_H */
 /* #undef HAVE_LIBUNWIND_H */
 /* #undef HAVE_LIBUNWIND_H */
 
 

+ 1 - 0
sdl.mod/include/linuxx64/SDL_config.h

@@ -75,6 +75,7 @@
 #define HAVE_STRING_H 1
 #define HAVE_STRING_H 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_WCHAR_H 1
 #define HAVE_WCHAR_H 1
+#define HAVE_LINUX_INPUT_H 1
 /* #undef HAVE_PTHREAD_NP_H */
 /* #undef HAVE_PTHREAD_NP_H */
 /* #undef HAVE_LIBUNWIND_H */
 /* #undef HAVE_LIBUNWIND_H */
 
 

+ 1 - 0
sdl.mod/include/linuxx86/SDL_config.h

@@ -75,6 +75,7 @@
 #define HAVE_STRING_H 1
 #define HAVE_STRING_H 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_WCHAR_H 1
 #define HAVE_WCHAR_H 1
+#define HAVE_LINUX_INPUT_H 1
 /* #undef HAVE_PTHREAD_NP_H */
 /* #undef HAVE_PTHREAD_NP_H */
 /* #undef HAVE_LIBUNWIND_H */
 /* #undef HAVE_LIBUNWIND_H */
 
 

+ 1 - 0
sdl.mod/linux_source.bmx

@@ -37,6 +37,7 @@ Import "SDL/src/core/linux/SDL_udev.c"
 Import "SDL/src/core/linux/SDL_threadprio.c"
 Import "SDL/src/core/linux/SDL_threadprio.c"
 Import "SDL/src/core/unix/SDL_poll.c"
 Import "SDL/src/core/unix/SDL_poll.c"
 Import "SDL/src/events/imKStoUCS.c"
 Import "SDL/src/events/imKStoUCS.c"
+Import "SDL/src/events/SDL_keysym_to_scancode.c"
 Import "SDL/src/events/SDL_scancode_tables.c"
 Import "SDL/src/events/SDL_scancode_tables.c"
 Import "SDL/src/filesystem/unix/SDL_sysfilesystem.c"
 Import "SDL/src/filesystem/unix/SDL_sysfilesystem.c"
 Import "SDL/src/haptic/linux/SDL_syshaptic.c"
 Import "SDL/src/haptic/linux/SDL_syshaptic.c"