mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
CtrlCore: Developing Rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3468 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
97a83019dd
commit
6d387ef755
13 changed files with 566 additions and 583 deletions
|
|
@ -65,6 +65,14 @@ void SetWinceMouse(HWND hwnd, LPARAM lparam)
|
|||
}
|
||||
#else
|
||||
void SetWinceMouse(HWND hwnd, LPARAM lparam) {}
|
||||
|
||||
bool GetShift() { return !!(GetKeyState(VK_SHIFT) & 0x8000); }
|
||||
bool GetCtrl() { return !!(GetKeyState(VK_CONTROL) & 0x8000); }
|
||||
bool GetAlt() { return !!(GetKeyState(VK_MENU) & 0x8000); }
|
||||
bool GetCapsLock() { return !!(GetKeyState(VK_CAPITAL) & 1); }
|
||||
bool GetMouseLeft() { return !!(GetKeyState(VK_LBUTTON) & 0x8000); }
|
||||
bool GetMouseRight() { return !!(GetKeyState(VK_RBUTTON) & 0x8000); }
|
||||
bool GetMouseMiddle() { return !!(GetKeyState(VK_MBUTTON) & 0x8000); }
|
||||
#endif
|
||||
|
||||
void AvoidPaintingCheck__()
|
||||
|
|
|
|||
Loading…
Reference in a new issue