{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/19","id":30630268,"html_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris/pull/19","diff_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris/pull/19.diff","patch_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris/pull/19.patch","issue_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/19","number":19,"state":"open","locked":false,"title":"Basic Leap Controls","user":{"login":"AntonNiklasson","id":785676,"avatar_url":"https://avatars.githubusercontent.com/u/785676?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonNiklasson","html_url":"https://github.com/AntonNiklasson","followers_url":"https://api.github.com/users/AntonNiklasson/followers","following_url":"https://api.github.com/users/AntonNiklasson/following{/other_user}","gists_url":"https://api.github.com/users/AntonNiklasson/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonNiklasson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonNiklasson/subscriptions","organizations_url":"https://api.github.com/users/AntonNiklasson/orgs","repos_url":"https://api.github.com/users/AntonNiklasson/repos","events_url":"https://api.github.com/users/AntonNiklasson/events{/privacy}","received_events_url":"https://api.github.com/users/AntonNiklasson/received_events","type":"User","site_admin":false},"body":"Currently sideways movement and rotation is supported. Tested only in OSX.\r\n\r\nThere is still a lot of tweaking to make it more intuitive. LeapControls has functions for calculating intervals between events. Those are probably weird atm.\r\n\r\nKeyboardControls works just like before.","created_at":"2015-03-06T09:15:51Z","updated_at":"2015-03-06T09:15:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/19/commits","review_comments_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/19/comments","review_comment_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/19/comments","statuses_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/statuses/2dfb7d21d9af09df71b1913cc5c60292d2d69f64","head":{"label":"samuelnilsson:leapcontrols","ref":"leapcontrols","sha":"2dfb7d21d9af09df71b1913cc5c60292d2d69f64","user":{"login":"samuelnilsson","id":6771538,"avatar_url":"https://avatars.githubusercontent.com/u/6771538?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelnilsson","html_url":"https://github.com/samuelnilsson","followers_url":"https://api.github.com/users/samuelnilsson/followers","following_url":"https://api.github.com/users/samuelnilsson/following{/other_user}","gists_url":"https://api.github.com/users/samuelnilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelnilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelnilsson/subscriptions","organizations_url":"https://api.github.com/users/samuelnilsson/orgs","repos_url":"https://api.github.com/users/samuelnilsson/repos","events_url":"https://api.github.com/users/samuelnilsson/events{/privacy}","received_events_url":"https://api.github.com/users/samuelnilsson/received_events","type":"User","site_admin":false},"repo":{"id":31064118,"name":"TDDD57-Leap-Tetris","full_name":"samuelnilsson/TDDD57-Leap-Tetris","owner":{"login":"samuelnilsson","id":6771538,"avatar_url":"https://avatars.githubusercontent.com/u/6771538?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelnilsson","html_url":"https://github.com/samuelnilsson","followers_url":"https://api.github.com/users/samuelnilsson/followers","following_url":"https://api.github.com/users/samuelnilsson/following{/other_user}","gists_url":"https://api.github.com/users/samuelnilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelnilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelnilsson/subscriptions","organizations_url":"https://api.github.com/users/samuelnilsson/orgs","repos_url":"https://api.github.com/users/samuelnilsson/repos","events_url":"https://api.github.com/users/samuelnilsson/events{/privacy}","received_events_url":"https://api.github.com/users/samuelnilsson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris","description":"","fork":false,"url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris","forks_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/forks","keys_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/teams","hooks_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/hooks","issue_events_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/events{/number}","events_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/events","assignees_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/assignees{/user}","branches_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/branches{/branch}","tags_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/tags","blobs_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/refs{/sha}","trees_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/statuses/{sha}","languages_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/languages","stargazers_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/stargazers","contributors_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/contributors","subscribers_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/subscribers","subscription_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/subscription","commits_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/commits{/sha}","git_commits_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/commits{/sha}","comments_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/comments{/number}","issue_comment_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/comments{/number}","contents_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/contents/{+path}","compare_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/merges","archive_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/downloads","issues_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues{/number}","pulls_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls{/number}","milestones_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/milestones{/number}","notifications_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/labels{/name}","releases_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/releases{/id}","created_at":"2015-02-20T12:33:51Z","updated_at":"2015-03-05T19:17:01Z","pushed_at":"2015-03-06T09:14:00Z","git_url":"git://github.com/samuelnilsson/TDDD57-Leap-Tetris.git","ssh_url":"git@github.com:samuelnilsson/TDDD57-Leap-Tetris.git","clone_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris.git","svn_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris","homepage":null,"size":15048,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"samuelnilsson:master","ref":"master","sha":"320cab8fb19e6c53a77844c8b040c9ae0749c5c7","user":{"login":"samuelnilsson","id":6771538,"avatar_url":"https://avatars.githubusercontent.com/u/6771538?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelnilsson","html_url":"https://github.com/samuelnilsson","followers_url":"https://api.github.com/users/samuelnilsson/followers","following_url":"https://api.github.com/users/samuelnilsson/following{/other_user}","gists_url":"https://api.github.com/users/samuelnilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelnilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelnilsson/subscriptions","organizations_url":"https://api.github.com/users/samuelnilsson/orgs","repos_url":"https://api.github.com/users/samuelnilsson/repos","events_url":"https://api.github.com/users/samuelnilsson/events{/privacy}","received_events_url":"https://api.github.com/users/samuelnilsson/received_events","type":"User","site_admin":false},"repo":{"id":31064118,"name":"TDDD57-Leap-Tetris","full_name":"samuelnilsson/TDDD57-Leap-Tetris","owner":{"login":"samuelnilsson","id":6771538,"avatar_url":"https://avatars.githubusercontent.com/u/6771538?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelnilsson","html_url":"https://github.com/samuelnilsson","followers_url":"https://api.github.com/users/samuelnilsson/followers","following_url":"https://api.github.com/users/samuelnilsson/following{/other_user}","gists_url":"https://api.github.com/users/samuelnilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelnilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelnilsson/subscriptions","organizations_url":"https://api.github.com/users/samuelnilsson/orgs","repos_url":"https://api.github.com/users/samuelnilsson/repos","events_url":"https://api.github.com/users/samuelnilsson/events{/privacy}","received_events_url":"https://api.github.com/users/samuelnilsson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris","description":"","fork":false,"url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris","forks_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/forks","keys_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/teams","hooks_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/hooks","issue_events_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/events{/number}","events_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/events","assignees_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/assignees{/user}","branches_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/branches{/branch}","tags_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/tags","blobs_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/refs{/sha}","trees_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/statuses/{sha}","languages_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/languages","stargazers_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/stargazers","contributors_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/contributors","subscribers_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/subscribers","subscription_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/subscription","commits_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/commits{/sha}","git_commits_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/git/commits{/sha}","comments_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/comments{/number}","issue_comment_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/comments{/number}","contents_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/contents/{+path}","compare_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/merges","archive_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/downloads","issues_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues{/number}","pulls_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls{/number}","milestones_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/milestones{/number}","notifications_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/labels{/name}","releases_url":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/releases{/id}","created_at":"2015-02-20T12:33:51Z","updated_at":"2015-03-05T19:17:01Z","pushed_at":"2015-03-06T09:14:00Z","git_url":"git://github.com/samuelnilsson/TDDD57-Leap-Tetris.git","ssh_url":"git@github.com:samuelnilsson/TDDD57-Leap-Tetris.git","clone_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris.git","svn_url":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris","homepage":null,"size":15048,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/19"},"html":{"href":"https://github.com/samuelnilsson/TDDD57-Leap-Tetris/pull/19"},"issue":{"href":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/19"},"comments":{"href":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/samuelnilsson/TDDD57-Leap-Tetris/statuses/2dfb7d21d9af09df71b1913cc5c60292d2d69f64"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":185,"deletions":217,"changed_files":8}}