{"json_modified": "2016-03-28T08:32:08.968385", "uuid": "04e5ec55-67b9-4986-9d56-1473ca42fe74", "title": "Navigator.getGamepads()", "url": "/en-US/docs/Web/API/Navigator/getGamepads", "tags": ["API", "Gamepad API", "Reference", "Experimental", "Navigator", "Games", "Method"], "translations": [{"uuid": "bbdf14cc-625b-4055-8781-f2299d67ba33", "title": "Navigator.getGamepads()", "url": "/fr/docs/Web/API/Navigator/getGamepads", "tags": [], "summary": "La m\u00e9thode\u00a0Navigator.getGamepads()
\u00a0renvoie un tableau d'objets Gamepad
, un par contr\u00f4leur connect\u00e9 \u00e0 la machine.", "localization_tags": [], "locale": "fr", "last_edit": "2014-11-16T09:13:39", "review_tags": []}, {"uuid": "6d0878f8-8f7b-4c40-aecc-51e5b912daf8", "title": "Navigator.getGamepads()", "url": "/ru/docs/Web/API/Navigator/getGamepads", "tags": [], "summary": "Navigator.getGamepads()
\u043c\u0435\u0442\u043e\u0434, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 Gamepad
\u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u0435\u0439\u043c\u043f\u0430\u0434\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u043c\u0443 \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-04-28T05:04:33", "review_tags": []}], "modified": "2015-09-14T03:17:14", "label": "Navigator.getGamepads()", "localization_tags": [], "locale": "en-US", "id": 87811, "last_edit": "2015-09-14T03:09:11", "summary": "The Navigator.getGamepads()
method returns an array: the first value is null
, and the others are all Gamepad
objects, one for each gamepad connected to the device. So if no gamepads are connected, the method will just return null
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Navigator/getGamepads", "review_tags": []}