跳转至

Point lock API

不用释放按钮,就锁定鼠标。

https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API