{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/6135","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/6135/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/6135/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/6135/events","html_url":"https://github.com/godotengine/godot/issues/6135","id":170937647,"node_id":"MDU6SXNzdWUxNzA5Mzc2NDc=","number":6135,"title":"Document lack of InputEvents with Input.action_press() and input.action_release()","user":{"login":"GalanCM","id":5281342,"node_id":"MDQ6VXNlcjUyODEzNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/5281342?v=4","gravatar_id":"","url":"https://api.github.com/users/GalanCM","html_url":"https://github.com/GalanCM","followers_url":"https://api.github.com/users/GalanCM/followers","following_url":"https://api.github.com/users/GalanCM/following{/other_user}","gists_url":"https://api.github.com/users/GalanCM/gists{/gist_id}","starred_url":"https://api.github.com/users/GalanCM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GalanCM/subscriptions","organizations_url":"https://api.github.com/users/GalanCM/orgs","repos_url":"https://api.github.com/users/GalanCM/repos","events_url":"https://api.github.com/users/GalanCM/events{/privacy}","received_events_url":"https://api.github.com/users/GalanCM/received_events","type":"User","site_admin":false},"labels":[{"id":283518839,"node_id":"MDU6TGFiZWwyODM1MTg4Mzk=","url":"https://api.github.com/repos/godotengine/godot/labels/documentation","name":"documentation","color":"ffbbff","default":false},{"id":279097966,"node_id":"MDU6TGFiZWwyNzkwOTc5NjY=","url":"https://api.github.com/repos/godotengine/godot/labels/topic:core","name":"topic:core","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-12T19:02:39Z","updated_at":"2018-09-10T12:13:26Z","closed_at":null,"author_association":"NONE","body":"Mac OS X 10.11.6\nGodot 2.1\n\nInput.action_press() and Input.action_release() don't seem to do anything.\n\nAfter a good chunk of trial and error I've simplified the code down to the following, attached to a global:\n\n``` gdscript\n\nextends Node\n\nfunc _ready():\n    set_process_input(true)\n    print('trigger ui_accept')\n    Input.action_press(\"ui_accept\")\n\nfunc _input(event):\n    if event.is_action_pressed(\"ui_accept\"):\n        print('ui_accepted')\n```\n\nWhich prints out:\n\n```\ntrigger ui_accept\n```\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/419891318","html_url":"https://github.com/godotengine/godot/issues/6135#issuecomment-419891318","issue_url":"https://api.github.com/repos/godotengine/godot/issues/6135","id":419891318,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTg5MTMxOA==","user":{"login":"akien-mga","id":4701338,"node_id":"MDQ6VXNlcjQ3MDEzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T12:13:26Z","updated_at":"2018-09-10T12:13:26Z","author_association":"MEMBER","body":"IMO `Input.action_press` and `Input.action_release` should be deprecated and eventually removed. I don't see any use case for them, and their name is super confusing."}}
{"actor":{"display_login":"akien-mga"}}