Преглед изворни кода

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 година
родитељ
комит
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"
 #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
 #ifdef HAVE_GAMEINPUT_H
 
 
 #define COBJMACROS
 #define COBJMACROS