Browse Source

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 11 months ago
parent
commit
b8dbc7086d
1 changed files with 3 additions and 0 deletions
  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