mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed the win32 global hotkey hook.
This commit is contained in:
parent
790fed8943
commit
5849a7a8f9
@ -61,8 +61,8 @@ LRESULT CALLBACK ShellProc(int code, WPARAM wParam, LPARAM lParam) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool ctrl = (bool) GetAsyncKeyState(VK_RCONTROL) & 0x8000;
|
||||
bool alt = (bool) GetAsyncKeyState(VK_RMENU) & 0x8000;
|
||||
short ctrl = GetAsyncKeyState(VK_RCONTROL) & 0x8000;
|
||||
short alt = GetAsyncKeyState(VK_RMENU) & 0x8000;
|
||||
//bool win = GetAsyncKeyState(VK_LWIN) & 0x8000;
|
||||
|
||||
if (ctrl && alt) {
|
||||
|
Loading…
Reference in New Issue
Block a user