testmanymouse: enable raw keyboard events on Windows

This commit is contained in:
Anonymous Maarten authored and Sam Lantinga committed 2024-06-22 11:35:00 -07:00
1 parent f8ad4abe4e
commit 2018882bf2
1 file changed
+3
+3
View File
@@ -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) {