Lines Matching defs:IsKeyDown
157 static inline bool IsKeyDown(LONG key) {return (::WinGetKeyState(HWND_DESKTOP, key) & 0x8000) != 0; }
158 static inline bool IsShiftDown() { return IsKeyDown(VK_SHIFT); }
159 static inline bool IsCtrlDown() { return IsKeyDown(VK_CTRL); }
3893 rEvent.m_leftDown = IsKeyDown(VK_BUTTON1);
3894 rEvent.m_middleDown = IsKeyDown(VK_BUTTON3);
3895 rEvent.m_rightDown = IsKeyDown(VK_BUTTON2);
4517 return IsKeyDown(vk);
5073 ms.SetLeftDown(IsKeyDown(VK_BUTTON1));
5074 ms.SetMiddleDown(IsKeyDown(VK_BUTTON3));
5075 ms.SetRightDown(IsKeyDown(VK_BUTTON2));
5078 ms.SetAltDown(IsKeyDown(VK_ALT)|IsKeyDown(VK_ALTGRAF));
5079 ms.SetMetaDown(IsKeyDown(VK_ALTGRAF));