{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenRoberta/robertalab/issues/166","repository_url":"https://api.github.com/repos/OpenRoberta/robertalab","labels_url":"https://api.github.com/repos/OpenRoberta/robertalab/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/OpenRoberta/robertalab/issues/166/comments","events_url":"https://api.github.com/repos/OpenRoberta/robertalab/issues/166/events","html_url":"https://github.com/OpenRoberta/robertalab/issues/166","id":165581926,"number":166,"title":"ButtonPressed sensor, buttons naming","user":{"login":"elhele","id":13983474,"avatar_url":"https://avatars.githubusercontent.com/u/13983474?v=3","gravatar_id":"","url":"https://api.github.com/users/elhele","html_url":"https://github.com/elhele","followers_url":"https://api.github.com/users/elhele/followers","following_url":"https://api.github.com/users/elhele/following{/other_user}","gists_url":"https://api.github.com/users/elhele/gists{/gist_id}","starred_url":"https://api.github.com/users/elhele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elhele/subscriptions","organizations_url":"https://api.github.com/users/elhele/orgs","repos_url":"https://api.github.com/users/elhele/repos","events_url":"https://api.github.com/users/elhele/events{/privacy}","received_events_url":"https://api.github.com/users/elhele/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenRoberta/robertalab/labels/NXT","name":"NXT","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"bjost2s","id":1613069,"avatar_url":"https://avatars.githubusercontent.com/u/1613069?v=3","gravatar_id":"","url":"https://api.github.com/users/bjost2s","html_url":"https://github.com/bjost2s","followers_url":"https://api.github.com/users/bjost2s/followers","following_url":"https://api.github.com/users/bjost2s/following{/other_user}","gists_url":"https://api.github.com/users/bjost2s/gists{/gist_id}","starred_url":"https://api.github.com/users/bjost2s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjost2s/subscriptions","organizations_url":"https://api.github.com/users/bjost2s/orgs","repos_url":"https://api.github.com/users/bjost2s/repos","events_url":"https://api.github.com/users/bjost2s/events{/privacy}","received_events_url":"https://api.github.com/users/bjost2s/received_events","type":"User","site_admin":false},"assignees":[{"login":"bjost2s","id":1613069,"avatar_url":"https://avatars.githubusercontent.com/u/1613069?v=3","gravatar_id":"","url":"https://api.github.com/users/bjost2s","html_url":"https://github.com/bjost2s","followers_url":"https://api.github.com/users/bjost2s/followers","following_url":"https://api.github.com/users/bjost2s/following{/other_user}","gists_url":"https://api.github.com/users/bjost2s/gists{/gist_id}","starred_url":"https://api.github.com/users/bjost2s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjost2s/subscriptions","organizations_url":"https://api.github.com/users/bjost2s/orgs","repos_url":"https://api.github.com/users/bjost2s/repos","events_url":"https://api.github.com/users/bjost2s/events{/privacy}","received_events_url":"https://api.github.com/users/bjost2s/received_events","type":"User","site_admin":false},{"login":"rbudde","id":15834363,"avatar_url":"https://avatars.githubusercontent.com/u/15834363?v=3","gravatar_id":"","url":"https://api.github.com/users/rbudde","html_url":"https://github.com/rbudde","followers_url":"https://api.github.com/users/rbudde/followers","following_url":"https://api.github.com/users/rbudde/following{/other_user}","gists_url":"https://api.github.com/users/rbudde/gists{/gist_id}","starred_url":"https://api.github.com/users/rbudde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbudde/subscriptions","organizations_url":"https://api.github.com/users/rbudde/orgs","repos_url":"https://api.github.com/users/rbudde/repos","events_url":"https://api.github.com/users/rbudde/events{/privacy}","received_events_url":"https://api.github.com/users/rbudde/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OpenRoberta/robertalab/milestones/2","html_url":"https://github.com/OpenRoberta/robertalab/milestones/ORA-2.0.0","labels_url":"https://api.github.com/repos/OpenRoberta/robertalab/milestones/2/labels","id":1433156,"number":2,"title":"ORA-2.0.0","description":"- integrate NXT\r\n- ...","creator":{"login":"BeateJ","id":14935456,"avatar_url":"https://avatars.githubusercontent.com/u/14935456?v=3","gravatar_id":"","url":"https://api.github.com/users/BeateJ","html_url":"https://github.com/BeateJ","followers_url":"https://api.github.com/users/BeateJ/followers","following_url":"https://api.github.com/users/BeateJ/following{/other_user}","gists_url":"https://api.github.com/users/BeateJ/gists{/gist_id}","starred_url":"https://api.github.com/users/BeateJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeateJ/subscriptions","organizations_url":"https://api.github.com/users/BeateJ/orgs","repos_url":"https://api.github.com/users/BeateJ/repos","events_url":"https://api.github.com/users/BeateJ/events{/privacy}","received_events_url":"https://api.github.com/users/BeateJ/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":3,"state":"open","created_at":"2015-11-28T07:57:13Z","updated_at":"2016-07-15T14:21:07Z","due_on":"2016-05-30T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-07-14T14:55:54Z","updated_at":"2016-07-15T14:21:07Z","closed_at":"2016-07-15T14:21:07Z","body":"The best way to implement this function without hardcoding is to get button key directly from the block:\r\n this.sb.append(\"ButtonPressed(\" + brickSensor.getKey() + \", false)\");\r\nWould it be possible to change the naming in xml in the following way:\r\nENTER -> BTNCENTER\r\nLEFT -> BTNLEFT\r\nRIGHT -> BTNRIGHT\r\nOr at least ENTER to CENTER?"}}
{"actor":{"display_login":"elhele"}}