Hello, everyone!
I develop my game prototype using BGFX + pure Win32 API for now. In future I will migrate to SDL.
I would like: 1) Hide mouse pointer (right now I use ShowCursor(FALSE); Win32 API);
2) Lock mouse pointer to my application window. By some reason ClipCursor() Win32 API function
does not work as I expect. It limits mouse movement to the current window, but…. I use mouse move messge handler to handle user direction and when mouse is near window border the user can not rotate its head.
Any help is anticipated!