From b8dbc7086d4041c8e79239552f8c7f1706448350 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 10 Sep 2024 15:29:52 -0700 Subject: [PATCH] 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. --- src/video/windows/SDL_windowsgameinput.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/windows/SDL_windowsgameinput.c b/src/video/windows/SDL_windowsgameinput.c index b132c4c846..6dfd1c087f 100644 --- a/src/video/windows/SDL_windowsgameinput.c +++ b/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