Explorar el Código

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 hace 1 año
padre
commit
b8dbc7086d
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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