testmanymouse: enable raw keyboard events on Windows

This commit is contained in:
Anonymous Maarten
2024-06-22 20:14:15 +02:00
committed by Sam Lantinga
parent f8ad4abe4e
commit 2018882bf2

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) {