Просмотр исходного кода

Disable GameInput mouse and keyboard support

GameInput currently has a bug with keys stuck on focus change, and crashes on initialization on some systems, so we'll disable it until these issues are fixed.
Sam Lantinga 1 год назад
Родитель
Сommit
b8dbc7086d
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/video/windows/SDL_windowsgameinput.c

+ 3 - 0
src/video/windows/SDL_windowsgameinput.c

@@ -22,6 +22,9 @@
 
 #include "SDL_windowsvideo.h"
 
+// GameInput currently has a bug with keys stuck on focus change, and crashes on initialization on some systems, so we'll disable it until these issues are fixed.
+#undef HAVE_GAMEINPUT_H
+
 #ifdef HAVE_GAMEINPUT_H
 
 #define COBJMACROS