{"json_modified": "2015-12-01T07:18:12.362092", "slug": "API/Pointer_Lock_API", "tags": ["API", "Reference", "Advanced", "WebAPI", "mouse lock", "pointer lock", "Games"], "locale": "ja", "title": "Pointer Lock API", "translations": [{"title": "Pointer Lock API", "url": "/en-US/docs/Web/API/Pointer_Lock_API", "tags": ["API", "Reference", "R\u00e9f\u00e9rence", "Advanced", "WebAPI", "mouse lock", "pointer lock", "Games"], "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.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-30T06:40:45", "review_tags": []}, {"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": []}, {"title": "Pointer Lock API", "url": "/fr/docs/WebAPI/Pointer_Lock", "tags": [], "summary": "Pointer lock (en fran\u00e7ais Capture du cusreur,\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": "2015-11-17T10:20:35", "review_tags": []}, {"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": []}, {"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": []}, {"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": []}], "modified": "2015-12-01T07:18:11", "label": "Pointer Lock API", "localization_tags": [], "url": "/ja/docs/API/Pointer_Lock_API", "last_edit": "2015-12-01T07:18:07", "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", "sections": [{"id": "Quick_Links", "title": null}, {"id": "basics", "title": "\u57fa\u672c\u6982\u5ff5"}, {"id": "method_overview", "title": "\u30e1\u30bd\u30c3\u30c9/\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u6982\u8981"}, {"id": "requestPointerLock()", "title": "requestPointerLock()"}, {"id": "pointerLockElement_and_exitPointerLock()", "title": "pointerLockElement \u3068 exitPointerLock()"}, {"id": "mouselocklostevent", "title": "pointerlockchange \u30a4\u30d9\u30f3\u30c8"}, {"id": "mouselocklostevent", "title": "pointerlockerror \u30a4\u30d9\u30f3\u30c8"}, {"id": "extensions", "title": "Mouse \u30a4\u30d9\u30f3\u30c8\u306e\u62e1\u5f35"}, {"id": "locked_state", "title": "\u30ed\u30c3\u30af\u3055\u308c\u305f\u72b6\u614b"}, {"id": "unlocked_state", "title": "\u30ed\u30c3\u30af\u304c\u89e3\u9664\u3055\u308c\u305f\u72b6\u614b"}, {"id": "example", "title": "\u4f8b"}, {"id": "iframe_limitations", "title": "iframe \u306e\u5236\u9650"}, {"id": "Specifications", "title": "\u4ed5\u69d8"}, {"id": "Browser_compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "See_also", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 60383, "review_tags": []}