Skip to content

Commit

Permalink
Fix key start event on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Sep 24, 2024
1 parent 5289c38 commit 1c14622
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sources/backends/windows/kinc/backend/system.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,11 @@ LRESULT WINAPI KoreWindowsMessageProcedure(HWND hWnd, UINT msg, WPARAM wParam, L
}
#endif
}
// No auto-repeat
kinc_internal_keyboard_trigger_key_down(keyTranslated[wParam]);
}
kinc_internal_keyboard_trigger_key_down(keyTranslated[wParam]);
// Auto-repeat
// kinc_internal_keyboard_trigger_key_down(keyTranslated[wParam]);
break;
case WM_KEYUP:
case WM_SYSKEYUP:
Expand Down

0 comments on commit 1c14622

Please sign in to comment.