{"action":"created","issue":{"url":"https://api.github.com/repos/freundTech/surface-tools/issues/1","labels_url":"https://api.github.com/repos/freundTech/surface-tools/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/freundTech/surface-tools/issues/1/comments","events_url":"https://api.github.com/repos/freundTech/surface-tools/issues/1/events","html_url":"https://github.com/freundTech/surface-tools/pull/1","id":111940609,"number":1,"title":"Checks previous orientation before rotate(), and ctrl-c should kill programa","user":{"login":"soedar","id":571891,"avatar_url":"https://avatars.githubusercontent.com/u/571891?v=3","gravatar_id":"","url":"https://api.github.com/users/soedar","html_url":"https://github.com/soedar","followers_url":"https://api.github.com/users/soedar/followers","following_url":"https://api.github.com/users/soedar/following{/other_user}","gists_url":"https://api.github.com/users/soedar/gists{/gist_id}","starred_url":"https://api.github.com/users/soedar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soedar/subscriptions","organizations_url":"https://api.github.com/users/soedar/orgs","repos_url":"https://api.github.com/users/soedar/repos","events_url":"https://api.github.com/users/soedar/events{/privacy}","received_events_url":"https://api.github.com/users/soedar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-17T03:05:21Z","updated_at":"2015-10-17T13:49:11Z","closed_at":"2015-10-17T10:39:54Z","pull_request":{"url":"https://api.github.com/repos/freundTech/surface-tools/pulls/1","html_url":"https://github.com/freundTech/surface-tools/pull/1","diff_url":"https://github.com/freundTech/surface-tools/pull/1.diff","patch_url":"https://github.com/freundTech/surface-tools/pull/1.patch"},"body":"Some minor updates to autorotate:\r\n\r\n1. Only attempt to rotate the screen when the orientation changes. Although the scripts currently checks that, the `previousorientation` variable is not updated whenever the orientation changes\r\n2. Can't be killed using ctrl+c. \r\n3. Some minor cleanup\r\n\r\nLet me know if you would want me to break them up into different PR. I've decided to combine them together since they seem pretty small."},"comment":{"url":"https://api.github.com/repos/freundTech/surface-tools/issues/comments/148917212","html_url":"https://github.com/freundTech/surface-tools/pull/1#issuecomment-148917212","issue_url":"https://api.github.com/repos/freundTech/surface-tools/issues/1","id":148917212,"user":{"login":"soedar","id":571891,"avatar_url":"https://avatars.githubusercontent.com/u/571891?v=3","gravatar_id":"","url":"https://api.github.com/users/soedar","html_url":"https://github.com/soedar","followers_url":"https://api.github.com/users/soedar/followers","following_url":"https://api.github.com/users/soedar/following{/other_user}","gists_url":"https://api.github.com/users/soedar/gists{/gist_id}","starred_url":"https://api.github.com/users/soedar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soedar/subscriptions","organizations_url":"https://api.github.com/users/soedar/orgs","repos_url":"https://api.github.com/users/soedar/repos","events_url":"https://api.github.com/users/soedar/events{/privacy}","received_events_url":"https://api.github.com/users/soedar/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T13:49:11Z","updated_at":"2015-10-17T13:49:11Z","body":":+1:"}}