mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 01:12:58 +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
1 changed files with 9 additions and 0 deletions
|
@ -1090,8 +1090,17 @@ UserProcessKeyboardInput(
|
||||||
KbdInput.dwFlags = 0;
|
KbdInput.dwFlags = 0;
|
||||||
if (pKbdInputData->Flags & KEY_BREAK)
|
if (pKbdInputData->Flags & KEY_BREAK)
|
||||||
KbdInput.dwFlags |= KEYEVENTF_KEYUP;
|
KbdInput.dwFlags |= KEYEVENTF_KEYUP;
|
||||||
|
|
||||||
if (wVk & KBDEXT)
|
if (wVk & KBDEXT)
|
||||||
KbdInput.dwFlags |= KEYEVENTF_EXTENDEDKEY;
|
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.time = 0;
|
||||||
KbdInput.dwExtraInfo = pKbdInputData->ExtraInformation;
|
KbdInput.dwExtraInfo = pKbdInputData->ExtraInformation;
|
||||||
UserSendKeyboardInput(&KbdInput, FALSE);
|
UserSendKeyboardInput(&KbdInput, FALSE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue