mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
RI_KEY_BREAK indicates key is up
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user