{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/5033","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/5033/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/5033/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/5033/events","html_url":"https://github.com/godotengine/godot/issues/5033","id":158503780,"number":5033,"title":"A proper mean to get the list of InputMap actions","user":{"login":"SuperUserNameMan","id":9801802,"avatar_url":"https://avatars.githubusercontent.com/u/9801802?v=3","gravatar_id":"","url":"https://api.github.com/users/SuperUserNameMan","html_url":"https://github.com/SuperUserNameMan","followers_url":"https://api.github.com/users/SuperUserNameMan/followers","following_url":"https://api.github.com/users/SuperUserNameMan/following{/other_user}","gists_url":"https://api.github.com/users/SuperUserNameMan/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperUserNameMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperUserNameMan/subscriptions","organizations_url":"https://api.github.com/users/SuperUserNameMan/orgs","repos_url":"https://api.github.com/users/SuperUserNameMan/repos","events_url":"https://api.github.com/users/SuperUserNameMan/events{/privacy}","received_events_url":"https://api.github.com/users/SuperUserNameMan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-04T13:00:23Z","updated_at":"2016-06-04T13:29:19Z","closed_at":null,"body":"**Operating system or device - Godot version:**\r\nOfficial 2.0.3stable win64\r\n\r\n\r\n**Issue description** (what happened, and what was expected):\r\nI've found no clean way to iterate through InputMap actions, and i've found no way to get the list of actions names.\r\n\r\nIf I do something like this, this ends up with an error.\r\n````\r\n\tvar index = 1 # <------ index 0 seems unavailable\r\n\tvar action = InputMap.get_action_from_id(index)\r\n\twhile action != \"\":\r\n\t\tprint(action)\r\n\t\tindex+=1\r\n\t\taction = InputMap.get_action_from_id(index)\r\n````\r\n\r\n**ERROR:** `InputMap::get_action_from_id: Condition ' !input_id_map.has(p_id) ' is true. returned: StringName()`\r\n`   At: core\\input_map.cpp:74`\r\n\r\n**Steps to reproduce:**\r\n\r\n\r\n**Link to minimal example project** (optional but very welcome):\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/223755718","html_url":"https://github.com/godotengine/godot/issues/5033#issuecomment-223755718","issue_url":"https://api.github.com/repos/godotengine/godot/issues/5033","id":223755718,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","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":"2016-06-04T13:29:19Z","updated_at":"2016-06-04T13:29:19Z","body":"Hm indeed. It should be implemented then."}}
{"actor":{"display_login":"akien-mga"}}