{"action":"closed","issue":{"url":"https://api.github.com/repos/ottokiksmaler/nx500_nx1_modding/issues/12","repository_url":"https://api.github.com/repos/ottokiksmaler/nx500_nx1_modding","labels_url":"https://api.github.com/repos/ottokiksmaler/nx500_nx1_modding/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ottokiksmaler/nx500_nx1_modding/issues/12/comments","events_url":"https://api.github.com/repos/ottokiksmaler/nx500_nx1_modding/issues/12/events","html_url":"https://github.com/ottokiksmaler/nx500_nx1_modding/issues/12","id":147792640,"number":12,"title":"program to verify key state?","user":{"login":"gitvasile","id":1905335,"avatar_url":"https://avatars.githubusercontent.com/u/1905335?v=3","gravatar_id":"","url":"https://api.github.com/users/gitvasile","html_url":"https://github.com/gitvasile","followers_url":"https://api.github.com/users/gitvasile/followers","following_url":"https://api.github.com/users/gitvasile/following{/other_user}","gists_url":"https://api.github.com/users/gitvasile/gists{/gist_id}","starred_url":"https://api.github.com/users/gitvasile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitvasile/subscriptions","organizations_url":"https://api.github.com/users/gitvasile/orgs","repos_url":"https://api.github.com/users/gitvasile/repos","events_url":"https://api.github.com/users/gitvasile/events{/privacy}","received_events_url":"https://api.github.com/users/gitvasile/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-12T15:45:14Z","updated_at":"2016-04-15T16:56:27Z","closed_at":"2016-04-15T16:56:27Z","body":"Otto, I have something naughty in mind :-) but before I move on with it, is there a way to check key state - hypothetically, I'd like to be able to do this in a script:\r\nisKeyPressed \"OK\"\r\nreturn 0 if yes, 255 if no\r\n"}}