mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Fixes Issue 1910
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4886 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5c27050cd8
commit
f60c3e8445
2 changed files with 6 additions and 6 deletions
|
@ -329,7 +329,11 @@ bool IsKey(int Key)
|
|||
if ((Key == EWM_SHAKE && GetAsyncKeyState(VK_MBUTTON))
|
||||
|| (Key == EWM_A && GetAsyncKeyState(VK_LBUTTON))
|
||||
|| (Key == EWM_B && GetAsyncKeyState(VK_RBUTTON)))
|
||||
Ret = 1;
|
||||
{
|
||||
float x, y;
|
||||
GetMousePos(x, y);
|
||||
Ret = !(x < 0 || x > 1 || y < 0 || y > 1);
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue