RI_KEY_BREAK indicates key is up

This commit is contained in:
mausimus authored and Sam Lantinga committed 2024-10-20 10:26:07 -07:00
1 parent 679dd4b181
commit a6536a9298
1 file changed
+1 -1
+1 -1
View File
@@ -706,7 +706,7 @@ static void WIN_HandleRawKeyboardInput(Uint64 timestamp, SDL_VideoData *data, HA
return;
}
bool down = ((rawkeyboard->Flags & RI_KEY_BREAK) != 0);
bool down = !(rawkeyboard->Flags & RI_KEY_BREAK);
SDL_Scancode code;
USHORT rawcode = rawkeyboard->MakeCode;
if (data->pending_E1_key_sequence) {