microsoftrbx-cursor-fix
microsoftrbx-cursor-fix copied to clipboard
Force center lock improvement
- [ ] Depends on #32
This fixes the Force center lock option using the same logic I have used for option 2 and 3 (That's why the previous PR is required for this to be merged too). It tightens the window until the mouse can barely move, it also adds a fullscreen method too, like the 2 additional options just in case. The following video will show how it looks like.
https://github.com/mengdeveloper/microsoftrbx-cursor-fix/assets/42496614/3f3867b0-492d-49bb-9afd-2f2a54252ef3
Why do I think was necessary? Looking at Issue #27, I guess the first option would be affected by the same thing too, seeing how poorly it was introduced (not to be taken personally. I love the initial work that has been done). Looking at it that way, using a high DPI option on the mouse/high sensitivity settings or moving the mouse fast enough could actually let the mouse escape the game window when in windowed, or in fullscreen when using a multi-monitor setup.
Considering how I already improved the second and third option (but the PR still not being merged yet), I made it a requirement to get the previous PR in, cuz I prioritize it more than this one, thus fixing everything so far.
Why I made it a Draft? Once the changes from #32 get merged. I want to add the stuff to the .cpp manually, but keep this for easy copy/paste. It will become a normal PR after.
I will check that out later
kk