SDL: testmanymouse: enable raw keyboard events on Windows

From 2018882bf23034ab2097c69c3337cca68c88494b Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 22 Jun 2024 20:14:15 +0200
Subject: [PATCH] testmanymouse: enable raw keyboard events on Windows

---
 test/testmanymouse.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/testmanymouse.c b/test/testmanymouse.c
index 60a34b15bc4e5..8c7180f7125c9 100644
--- a/test/testmanymouse.c
+++ b/test/testmanymouse.c
@@ -507,6 +507,9 @@ int main(int argc, char *argv[])
     /* Log all events, including mouse motion */
     SDL_SetHint(SDL_HINT_EVENT_LOGGING, "2");
 
+    /* Support for multiple keyboards requires raw keyboard events on Windows */
+    SDL_SetHint(SDL_HINT_WINDOWS_RAW_KEYBOARD, "1");
+
     /* Initialize test framework */
     state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
     if (!state) {