Implemented mouse centering and hiding in game #384

Merged
mushgunAX merged 9 commits from SP3-10-input-management into main 2023-03-03 18:29:54 +08:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 9eb40d5928 - Show all commits

View File

@ -198,7 +198,8 @@ namespace SHADE
void SHWindow::SetMouseVisible(bool show)
{
ShowCursor(show);
while(GetMouseVisible() != show)
ShowCursor(show);
}
void SHWindow::SetMousePosition(int x, int y)