mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-01 22:28:00 +03:00
s/input: fix freeze on wine for F2-3-4 keys
This commit is contained in:
parent
da6779a716
commit
1dac41680b
1 changed files with 1 additions and 1 deletions
|
@ -196,6 +196,7 @@ static void S_Input_DInput_KeyboardRead()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
S_Shell_SpinMessageLoop();
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool S_Input_KbdKey(INPUT_KEY key, INPUT_LAYOUT layout)
|
static bool S_Input_KbdKey(INPUT_KEY key, INPUT_LAYOUT layout)
|
||||||
|
@ -411,7 +412,6 @@ static HRESULT DInputJoystickPoll(DIJOYSTATE2 *joystate)
|
||||||
INPUT_STATE S_Input_GetCurrentState()
|
INPUT_STATE S_Input_GetCurrentState()
|
||||||
{
|
{
|
||||||
S_Input_DInput_KeyboardRead();
|
S_Input_DInput_KeyboardRead();
|
||||||
S_Shell_SpinMessageLoop();
|
|
||||||
|
|
||||||
INPUT_STATE linput = { 0 };
|
INPUT_STATE linput = { 0 };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue