SDL: Include GameInput.h as gameinput.h for compatibility with non-MSVC toolchains

From b5b868044fedc83959626fc433aa1a74e2c60200 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 7 Aug 2024 17:52:05 -0700
Subject: [PATCH] Include GameInput.h as gameinput.h for compatibility with
 non-MSVC toolchains

---
 CMakeLists.txt                           | 2 +-
 src/joystick/gdk/SDL_gameinputjoystick.c | 2 +-
 src/video/windows/SDL_windowsgameinput.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ffcd9e620245..dd8ce5dba838c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1882,7 +1882,7 @@ elseif(WINDOWS)
   check_c_source_compiles("
     #include <stdbool.h>
     #define COBJMACROS
-    #include <GameInput.h>
+    #include <gameinput.h>
     int main(int argc, char **argv) { return 0; }" HAVE_GAMEINPUT_H
   )
   check_include_file(dxgi1_6.h HAVE_DXGI1_6_H)
diff --git a/src/joystick/gdk/SDL_gameinputjoystick.c b/src/joystick/gdk/SDL_gameinputjoystick.c
index 31810b0b9a1f9..f203bb7a7bead 100644
--- a/src/joystick/gdk/SDL_gameinputjoystick.c
+++ b/src/joystick/gdk/SDL_gameinputjoystick.c
@@ -27,7 +27,7 @@
 
 #include <stdbool.h>
 #define COBJMACROS
-#include <GameInput.h>
+#include <gameinput.h>
 
 enum
 {
diff --git a/src/video/windows/SDL_windowsgameinput.c b/src/video/windows/SDL_windowsgameinput.c
index 6441d100175da..2cdb3e8029574 100644
--- a/src/video/windows/SDL_windowsgameinput.c
+++ b/src/video/windows/SDL_windowsgameinput.c
@@ -26,7 +26,7 @@
 
 #include <stdbool.h>
 #define COBJMACROS
-#include <GameInput.h>
+#include <gameinput.h>
 
 #include "../../events/SDL_mouse_c.h"
 #include "../../events/SDL_keyboard_c.h"