{"json_modified": "2016-03-28T08:32:08.365212", "uuid": "afc86a95-88e0-42ff-a02f-9b1f8830493c", "title": "GamepadButton.pressed", "url": "/en-US/docs/Web/API/GamepadButton/pressed", "tags": ["Property", "Gamepad API", "NeedsBetterSpecLink", "Reference", "NeedsMarkupWork", "API", "NeedsCompatTable", "R\u00e9f\u00e9rence", "Games"], "translations": [], "modified": "2015-07-23T00:55:54", "label": "GamepadButton.pressed", "localization_tags": [], "locale": "en-US", "id": 87801, "last_edit": "2015-07-23T00:55:52", "summary": "The GamepadButton.pressed
property of the GamepadButton
interface returns a boolean
indicating whether the button is currently pressed (true
) or unpressed (false
).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Value", "title": "Value"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/GamepadButton/pressed", "review_tags": []}