Hacker News new | ask | show | jobs
by tec27 5094 days ago
Yeah, it does exist and is usable in current versions of Chrome if you change the flag for it. I'm not sure if the Chrome version of the API is what the final one will be though, since it seems to differ somewhat from the version documented on MDN: https://developer.mozilla.org/en/API/Pointer_Lock_API

Still it would probably be fairly easy to add support for it to this and replace the annoying click-drag camera movement when possible.