Hacker News new | ask | show | jobs
by repsilat 4488 days ago
Applications in most operating systems can set the cursor position. Full-screen games often reset it to the middle of the screen every frame.

IIRC it isn't exposed to JS except maybe for some new fullscreen API (not my area, sorry.)