Change unlock combination to Ctrl+Tab which doesn't conflict with any game bindings
This commit is contained in:
parent
271622e1f5
commit
7595f6d7e5
2 changed files with 6 additions and 6 deletions
10
main.c
10
main.c
|
@ -148,11 +148,11 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
ddraw->key_ctrl = TRUE;
|
||||
}
|
||||
if(wParam == VK_MENU)
|
||||
if(wParam == VK_TAB)
|
||||
{
|
||||
ddraw->key_alt = TRUE;
|
||||
ddraw->key_tab = TRUE;
|
||||
}
|
||||
if(ddraw->key_alt && ddraw->key_ctrl)
|
||||
if(ddraw->key_tab && ddraw->key_ctrl)
|
||||
{
|
||||
mouse_unlock();
|
||||
}
|
||||
|
@ -162,9 +162,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
ddraw->key_ctrl = FALSE;
|
||||
}
|
||||
if(wParam == VK_MENU)
|
||||
if(wParam == VK_TAB)
|
||||
{
|
||||
ddraw->key_alt = FALSE;
|
||||
ddraw->key_tab = FALSE;
|
||||
}
|
||||
break;
|
||||
case WM_LBUTTONDOWN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue