mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-30 06:12:20 -06:00
CtrlCore: GetMouseRight barrel support
git-svn-id: svn://ultimatepp.org/upp/trunk@15907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
acb4342581
commit
4091c57320
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ bool GetCtrl() { return !!(GetKeyStateSafe(VK_CONTROL) & 0x8000); }
|
|||
bool GetAlt() { return !!(GetKeyStateSafe(VK_MENU) & 0x8000); }
|
||||
bool GetCapsLock() { return !!(GetKeyStateSafe(VK_CAPITAL) & 1); }
|
||||
bool GetMouseLeft() { return pendown || !!(GetKeyStateSafe(VK_LBUTTON) & 0x8000); }
|
||||
bool GetMouseRight() { return !!(GetKeyStateSafe(VK_RBUTTON) & 0x8000); }
|
||||
bool GetMouseRight() { return Ctrl::GetPenInfo().barrel || !!(GetKeyStateSafe(VK_RBUTTON) & 0x8000); }
|
||||
bool GetMouseMiddle() { return !!(GetKeyStateSafe(VK_MBUTTON) & 0x8000); }
|
||||
|
||||
Point Ctrl::CurrentMousePos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue