mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -1109,6 +1109,17 @@ IntMouseInput(MOUSEINPUT *mi)
|
||||
Msg.wParam = CurInfo->ButtonsDown;
|
||||
Msg.lParam = MAKELPARAM(MousePos.x, MousePos.y);
|
||||
Msg.pt = MousePos;
|
||||
|
||||
if (gQueueKeyStateTable[VK_SHIFT] & 0xc0)
|
||||
{
|
||||
Msg.wParam |= MK_SHIFT;
|
||||
}
|
||||
|
||||
if (gQueueKeyStateTable[VK_CONTROL] & 0xc0)
|
||||
{
|
||||
Msg.wParam |= MK_CONTROL;
|
||||
}
|
||||
|
||||
if(DoMove)
|
||||
{
|
||||
Msg.message = WM_MOUSEMOVE;
|
||||
|
||||
Reference in New Issue
Block a user