mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 17:05:45 +00:00
- Add key modifiers MK_CONTROL and MK_SHIFT to all mouse events.
- See issue #3557 for more details. svn path=/trunk/; revision=37525
This commit is contained in:
parent
968119aebb
commit
8cf20f8201
1 changed files with 11 additions and 0 deletions
|
@ -1109,6 +1109,17 @@ IntMouseInput(MOUSEINPUT *mi)
|
||||||
Msg.wParam = CurInfo->ButtonsDown;
|
Msg.wParam = CurInfo->ButtonsDown;
|
||||||
Msg.lParam = MAKELPARAM(MousePos.x, MousePos.y);
|
Msg.lParam = MAKELPARAM(MousePos.x, MousePos.y);
|
||||||
Msg.pt = MousePos;
|
Msg.pt = MousePos;
|
||||||
|
|
||||||
|
if (gQueueKeyStateTable[VK_SHIFT] & 0xc0)
|
||||||
|
{
|
||||||
|
Msg.wParam |= MK_SHIFT;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (gQueueKeyStateTable[VK_CONTROL] & 0xc0)
|
||||||
|
{
|
||||||
|
Msg.wParam |= MK_CONTROL;
|
||||||
|
}
|
||||||
|
|
||||||
if(DoMove)
|
if(DoMove)
|
||||||
{
|
{
|
||||||
Msg.message = WM_MOUSEMOVE;
|
Msg.message = WM_MOUSEMOVE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue