mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 20:08:13 +00:00
testmanymouse: enable raw keyboard events on Windows
This commit is contained in:

committed by
Sam Lantinga

parent
f8ad4abe4e
commit
2018882bf2
@@ -507,6 +507,9 @@ int main(int argc, char *argv[])
|
|||||||
/* Log all events, including mouse motion */
|
/* Log all events, including mouse motion */
|
||||||
SDL_SetHint(SDL_HINT_EVENT_LOGGING, "2");
|
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 */
|
/* Initialize test framework */
|
||||||
state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
|
state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
|
||||||
if (!state) {
|
if (!state) {
|
||||||
|
Reference in New Issue
Block a user