mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[Win32k]
- Fix shift key handling, see bug 6175. svn path=/trunk/; revision=51540
This commit is contained in:
parent
b86b0d1048
commit
110864eec5
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ DWORD FASTCALL UserGetKeyState(DWORD key)
|
|||
if( key < 0x100 )
|
||||
{
|
||||
ret = (DWORD)MessageQueue->KeyState[key];
|
||||
if (MessageQueue->KeyState[key] & KS_DOWN_BIT)
|
||||
ret |= 0xFF00; // If down, windows returns 0xFF80.
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue