Forráskód Böngészése

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 7 hónapja
szülő
commit
b8dbc7086d
1 módosított fájl, 3 hozzáadás és 0 törlés
  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