Skip to content

Commit

Permalink
adjust logs
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Sep 9, 2024
1 parent 9d5d71c commit ac9d183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ LRESULT CALLBACK keyboard_hook_proc(int code, WPARAM wParam, LPARAM lParam)
BOOL key_released = !!(lParam & (1 << 31));
BOOL key_triggered = !(lParam & (1 << 30));

//TRACE("kbhook wParam=%u, triggered=%u, released=%u, alt_down=%u\n", wParam, key_triggered, key_released, alt_down);
//TRACE("kbhook code=%u, wParam=%u, triggered=%u, released=%u, alt_down=%u\n", code, wParam, key_triggered, key_released, alt_down);

if (wParam == VK_MENU && (key_released || key_triggered)) /* Fix for alt key being stuck on alt+tab in some games */
{
Expand Down

0 comments on commit ac9d183

Please sign in to comment.