mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 16:08:30 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool down = ((rawkeyboard->Flags & RI_KEY_BREAK) != 0);
|
bool down = !(rawkeyboard->Flags & RI_KEY_BREAK);
|
||||||
SDL_Scancode code;
|
SDL_Scancode code;
|
||||||
USHORT rawcode = rawkeyboard->MakeCode;
|
USHORT rawcode = rawkeyboard->MakeCode;
|
||||||
if (data->pending_E1_key_sequence) {
|
if (data->pending_E1_key_sequence) {
|
||||||
|
Reference in New Issue
Block a user