This sounds amazing, but also potentially easy to abuse.
MouseLock & PointerLock
Log in with itch.io to leave a comment.
One cannot easily abuse PointerLock API since the visitor can press Escape at any time to unlock the cursor, cursor can only be locked on interaction, and keyboard shortcuts to close/switch the page cannot be overridden.
As for window_mouse_set/display_mouse_set - kind of. Always has been.
Sounds like somebody upstream should update the APIs then.
That’s how Windows works in general, unfortunately - just about any program that you run could start executing automation functions at incredible pace, and you wouldn’t be able to do much about it, or even easily figure out which program is at fault.