Pointer Lock API
- RECAPI that provides access to raw mouse movement data. This is done by ignoring boundaries resulting from screen edges where the cursor can't go beyond, providing proper control for first person or real time strategy games.
Chrome
- ❌ 4 - 15: Not supported
- ❌ 16 - 21: Disabled by default
- ✅ 22 - 36: Supported
- ✅ 37 - 130: Supported
- ✅ 131: Supported
- ✅ 132 - 134: Supported
Edge
- ❌ 12: Not supported
- ✅ 13 - 130: Supported
- ✅ 131: Supported
Safari
- ❌ 3.1 - 10: Not supported
- ✅ 10.1 - 18.0: Supported
- ✅ 18.1: Supported
- ✅ 18.2 - TP: Supported
Firefox
- ❌ 2 - 13: Not supported
- ✅ 14 - 49: Supported
- ✅ 50 - 131: Supported
- ✅ 132: Supported
- ✅ 133 - 135: Supported
Opera
- ❌ 9 - 12.1: Not supported
- ✅ 15 - 23: Supported
- ✅ 24 - 113: Supported
- ✅ 114: Supported
IE
- ❌ 5.5 - 10: Not supported
- ❌ 11: Not supported
Chrome for Android
- ❌ 131: Not supported
Safari on iOS
- ❌ 3.2 - 18.0: Not supported
- ❌ 18.1: Not supported
- ❌ 18.2: Not supported
Samsung Internet
- ❌ 4 - 25: Not supported
- ❌ 26: Not supported
Opera Mini
- ❌ all: Not supported
Opera Mobile
- ❌ 10 - 12.1: Not supported
- ﹖ 80: Support unknown
UC Browser for Android
- ﹖ 15.5: Support unknown
Android Browser
- ❌ 2.1 - 4.4.4: Not supported
- ❌ 131: Not supported
Firefox for Android
- ✅ 132: Supported
QQ Browser
- ﹖ 14.9: Support unknown
Baidu Browser
- ✅ 13.52: Supported
KaiOS Browser
- ✅ 2.5: Supported
- ✅ 3: Supported
- Resources:
- MDN Web Docs - Pointer Lock
- Simple demo