{"json_modified": "2016-09-30T15:22:59.880782", "uuid": "3a4e608a-8335-4f5e-823e-cbf9940307b4", "title": "Pointer Lock API", "url": "/en-US/docs/Web/API/Pointer_Lock_API", "tags": ["API", "Reference", "R\u00e9f\u00e9rence", "Advanced", "mouse lock", "pointer lock", "Games"], "translations": [{"uuid": "b1495511-b5db-49c4-9454-e687e8ec399d", "title": "API Pointer Lock", "url": "/es/docs/WebAPI/Pointer_Lock", "tags": [], "summary": "", "localization_tags": [], "locale": "es", "last_edit": "2013-06-27T08:38:13", "review_tags": []}, {"uuid": "c467f3ad-7d6e-44e8-97ec-d0dc8e837955", "title": "Pointer Lock API", "url": "/fr/docs/WebAPI/Pointer_Lock", "tags": [], "summary": "Pointer lock (en fran\u00e7ais Capture du curseur,\u00a0pr\u00e9cedement appel\u00e9 mouse lock) permet d'obtenir des informations sur le d\u00e9placement de la souris par rapport au temps \u00e9coul\u00e9 (autrement dit les deltas) et ne se cantonne donc pas seulement \u00e0 la position absolue du curseur sur l'\u00e9cran. Cette interface conf\u00e8re l'acc\u00e8s aux donn\u00e9es brutes de la souris, permet de verrouiller la cible des \u00e9v\u00e8nements \u00e0 un \u00e9l\u00e9ment unique, retire les limites de distance dans une direction donn\u00e9e et cache le curseur.

\n Cette API est utile pour les applications qui ont besoin d'\u00eatre attentives aux infos renvoy\u00e9es par la souris afin de controler des mouvements ou faire pivoter des objets sur leurs axes.", "localization_tags": [], "locale": "fr", "last_edit": "2016-01-15T08:20:39", "review_tags": []}, {"uuid": "b3009d50-1959-49a7-9ca2-0fdfd19309d8", "title": "Pointer Lock API", "url": "/ja/docs/API/Pointer_Lock_API", "tags": ["API", "Reference", "Advanced", "mouse lock", "pointer lock", "Games"], "summary": "Pointer Lock API (\u4ee5\u524d\u306f Mouse Lock API \u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3057\u305f) \u306f\u3001\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u5185\u306e\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u306e\u7d76\u5bfe\u4f4d\u7f6e\u3060\u3051\u3067\u306a\u304f\u3001\u6642\u9593\u306e\u7d4c\u904e\u306b\u4f34\u3046\u30de\u30a6\u30b9\u306e\u52d5\u304d (\u3059\u306a\u308f\u3061\u3001\u30c7\u30eb\u30bf) \u306b\u57fa\u3065\u304f\u5165\u529b\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30de\u30a6\u30b9\u306e\u52d5\u304d\u305d\u306e\u3082\u306e\u3092\u77e5\u308b\u3001\u30de\u30a6\u30b9\u30a4\u30d9\u30f3\u30c8\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u3072\u3068\u3064\u306e\u8981\u7d20\u306b\u30ed\u30c3\u30af\u3059\u308b\u3001\u30de\u30a6\u30b9\u304c\u4e00\u65b9\u5411\u3078\u3069\u308c\u3060\u3051\u79fb\u52d5\u3067\u304d\u308b\u304b\u306e\u5236\u9650\u3092\u9664\u53bb\u3059\u308b\u3001\u8996\u91ce\u304b\u3089\u30ab\u30fc\u30bd\u30eb\u3092\u53d6\u308a\u9664\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-12-01T07:18:07", "review_tags": []}, {"uuid": "c9bbf5a3-69b1-4cb4-a585-14a7b937e690", "title": "API Pointer Lock", "url": "/pt-BR/docs/Web/API/Pointer_Lock_API", "tags": ["mouse look", "API", "Games", "pointer look"], "summary": "Mouse Lock API", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-08-18T13:28:49", "review_tags": []}, {"uuid": "f19ca2d6-70c4-4df7-913e-3b67964fd460", "title": "Pointer Lock API", "url": "/ru/docs/Web/API/Pointer_Lock_API", "tags": [], "summary": "Pointer lock (\u043f\u0440\u0435\u0436\u043d\u0435\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u00a0mouse lock)\u00a0", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2014-12-23T04:56:11", "review_tags": []}, {"uuid": "34503f4b-b96e-4566-a0a3-066742adf8dd", "title": "Pointer Lock API", "url": "/zh-CN/docs/API/Pointer_Lock_API", "tags": [], "summary": "\u6307\u9488\u9501\u5b9a(\u4ee5\u524d\u53eb\u505a\u9f20\u6807\u9501\u5b9a) \u63d0\u4f9b\u4e86\u4e00\u79cd\u8f93\u5165\u65b9\u6cd5\uff0c\u8fd9\u79cd\u65b9\u6cd5\u662f\u57fa\u4e8e\u9f20\u6807\u968f\u7740\u65f6\u95f4\u63a8\u79fb\u7684\u8fd0\u52a8\u7684\uff08\u4e5f\u5c31\u662f\uff0cdeltas\uff09\uff0c\u800c\u4e0d\u4ec5\u662f\u9f20\u6807\u5149\u6807\u7684\u7edd\u5bf9\u4f4d\u7f6e\u3002\u901a\u8fc7\u5b83\u53ef\u4ee5\u8bbf\u95ee\u539f\u59cb\u7684\u9f20\u6807\u8fd0\u52a8\uff0c\u628a\u9f20\u6807\u4e8b\u4ef6\u7684\u76ee\u6807\u9501\u5b9a\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u5143\u7d20\uff0c\u8fd9\u5c31\u6d88\u9664\u4e86\u9f20\u6807\u5728\u4e00\u4e2a\u5355\u72ec\u7684\u65b9\u5411\u4e0a\u5230\u5e95\u53ef\u4ee5\u79fb\u52a8\u591a\u8fdc\u8fd9\u65b9\u9762\u7684\u9650\u5236\uff0c\u5e76\u4ece\u89c6\u56fe\u4e2d\u5220\u53bb\u5149\u6807\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2013-01-04T06:01:24", "review_tags": []}, {"uuid": "a4766ca8-cc63-4dbf-9fef-689c7fba0ebc", "title": "Pointer Lock API", "url": "/zh-TW/docs/WebAPI/Pointer_Lock", "tags": [], "summary": "Pointer lock (\u4e4b\u524d\u7a31\u70ba Mouse lock) \u63d0\u4f9b\u300c\u96a8\u6642\u9593\u7d93\u904e\u6240\u7522\u751f\u7684\u6ed1\u9f20\u4f4d\u79fb\u8cc7\u8a0a (\u5373 deltas)\u300d\u7684\u8f38\u5165\u65b9\u6cd5\uff0c\u800c\u4e0d\u53ea\u662f\u6ed1\u9f20\u6e38\u6a19\u7684\u7d55\u5c0d\u4f4d\u7f6e\u800c\u5df2\u3002\u6b64\u51fd\u5f0f\u53ef\u5b58\u53d6\u57fa\u672c\u7684\u6ed1\u9f20\u4f4d\u79fb\u3001\u5c07\u6ed1\u9f20\u4e8b\u4ef6\u7684\u76ee\u6a19\u9396\u5b9a\u81f3\u55ae\u4e00\u5143\u7d20\u3001\u8b93\u6ed1\u9f20\u55ae\u4e00\u65b9\u5411\u7684\u4f4d\u79fb\u8ddd\u96e2\u4e0d\u518d\u53d7\u9650\u3001\u5c07\u6e38\u6a19\u79fb\u9664\u5230\u8996\u9ede\u4e4b\u5916\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2014-03-02T21:46:43", "review_tags": []}], "modified": "2016-09-30T15:22:59", "label": "Pointer Lock API", "localization_tags": [], "locale": "en-US", "id": 1983, "last_edit": "2016-09-30T15:22:51", "summary": "The Pointer Lock API (formerly called Mouse Lock API) provides input methods based on the movement of the mouse over time (i.e., deltas), not just the absolute position of the mouse cursor in the viewport. It gives you access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits on how far mouse movement can go in a single direction, and removes the cursor from view.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "basics", "title": "Basic concepts"}, {"id": "method_overview", "title": "Method/properties\u00a0overview"}, {"id": "requestPointerLock()", "title": "requestPointerLock()"}, {"id": "pointerLockElement_and_exitPointerLock()", "title": "pointerLockElement and exitPointerLock()"}, {"id": "mouselocklostevent", "title": "pointerlockchange event"}, {"id": "mouselocklostevent", "title": "pointerlockerror event"}, {"id": "extensions", "title": "Extensions to mouse events"}, {"id": "locked_state", "title": "Locked state"}, {"id": "unlocked_state", "title": "Unlocked state"}, {"id": "example", "title": "Simple example walkthrough"}, {"id": "iframe_limitations", "title": "iframe limitations"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Pointer_Lock_API", "review_tags": []}