mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[NtUser]
- Get the right shift to pass through the keyboard subsystem. (WIP) svn path=/trunk/; revision=72204
This commit is contained in:
parent
018df975b6
commit
cbdab97572
|
@ -1090,8 +1090,17 @@ UserProcessKeyboardInput(
|
|||
KbdInput.dwFlags = 0;
|
||||
if (pKbdInputData->Flags & KEY_BREAK)
|
||||
KbdInput.dwFlags |= KEYEVENTF_KEYUP;
|
||||
|
||||
if (wVk & KBDEXT)
|
||||
KbdInput.dwFlags |= KEYEVENTF_EXTENDEDKEY;
|
||||
//
|
||||
// Based on wine input:test_Input_blackbox this is okay. It seems the
|
||||
// bit did not get set and more research is needed. Now the right
|
||||
// shift works.
|
||||
//
|
||||
if (wVk == VK_RSHIFT)
|
||||
KbdInput.dwFlags |= KEYEVENTF_EXTENDEDKEY;
|
||||
|
||||
KbdInput.time = 0;
|
||||
KbdInput.dwExtraInfo = pKbdInputData->ExtraInformation;
|
||||
UserSendKeyboardInput(&KbdInput, FALSE);
|
||||
|
|
Loading…
Reference in a new issue