{"action":"created","issue":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1017","labels_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1017/labels{/name}","comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1017/comments","events_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1017/events","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/issues/1017","id":117855792,"number":1017,"title":"Can key pressed accept input variable?","user":{"login":"maryfries","id":6549787,"avatar_url":"https://avatars.githubusercontent.com/u/6549787?v=3","gravatar_id":"","url":"https://api.github.com/users/maryfries","html_url":"https://github.com/maryfries","followers_url":"https://api.github.com/users/maryfries/followers","following_url":"https://api.github.com/users/maryfries/following{/other_user}","gists_url":"https://api.github.com/users/maryfries/gists{/gist_id}","starred_url":"https://api.github.com/users/maryfries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maryfries/subscriptions","organizations_url":"https://api.github.com/users/maryfries/orgs","repos_url":"https://api.github.com/users/maryfries/repos","events_url":"https://api.github.com/users/maryfries/events{/privacy}","received_events_url":"https://api.github.com/users/maryfries/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T16:49:47Z","updated_at":"2015-11-20T00:07:59Z","closed_at":null,"body":"Could we have a key pressed block that accepts an input variable? It would be nice to be able to loop through an array of keys and commands."},"comment":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/comments/158239594","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/issues/1017#issuecomment-158239594","issue_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1017","id":158239594,"user":{"login":"djdolphin","id":5834370,"avatar_url":"https://avatars.githubusercontent.com/u/5834370?v=3","gravatar_id":"","url":"https://api.github.com/users/djdolphin","html_url":"https://github.com/djdolphin","followers_url":"https://api.github.com/users/djdolphin/followers","following_url":"https://api.github.com/users/djdolphin/following{/other_user}","gists_url":"https://api.github.com/users/djdolphin/gists{/gist_id}","starred_url":"https://api.github.com/users/djdolphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djdolphin/subscriptions","organizations_url":"https://api.github.com/users/djdolphin/orgs","repos_url":"https://api.github.com/users/djdolphin/repos","events_url":"https://api.github.com/users/djdolphin/events{/privacy}","received_events_url":"https://api.github.com/users/djdolphin/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T00:07:59Z","updated_at":"2015-11-20T00:07:59Z","body":"This seems to already work, but it doesn't work well with other languages for the reason Jens stated:\r\n\r\n![key pressed](https://cloud.githubusercontent.com/assets/5834370/11288105/eacae258-8eee-11e5-81a3-30e00266d19d.png)\r\n![key pressed spanish](https://cloud.githubusercontent.com/assets/5834370/11288106/edaac3a8-8eee-11e5-8594-36242c0675ac.png)\r\n![key pressed espacio](https://cloud.githubusercontent.com/assets/5834370/11288109/ef783396-8eee-11e5-88f3-b97f743e7717.png)\r\n\r\nMaybe it could accept key codes instead?"}}