{"action":"closed","number":1494,"pull_request":{"url":"https://api.github.com/repos/ppy/osu-framework/pulls/1494","id":179070128,"html_url":"https://github.com/ppy/osu-framework/pull/1494","diff_url":"https://github.com/ppy/osu-framework/pull/1494.diff","patch_url":"https://github.com/ppy/osu-framework/pull/1494.patch","issue_url":"https://api.github.com/repos/ppy/osu-framework/issues/1494","number":1494,"state":"closed","locked":false,"title":"Implement joystick input","user":{"login":"smoogipoo","id":1329837,"avatar_url":"https://avatars0.githubusercontent.com/u/1329837?v=4","gravatar_id":"","url":"https://api.github.com/users/smoogipoo","html_url":"https://github.com/smoogipoo","followers_url":"https://api.github.com/users/smoogipoo/followers","following_url":"https://api.github.com/users/smoogipoo/following{/other_user}","gists_url":"https://api.github.com/users/smoogipoo/gists{/gist_id}","starred_url":"https://api.github.com/users/smoogipoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoogipoo/subscriptions","organizations_url":"https://api.github.com/users/smoogipoo/orgs","repos_url":"https://api.github.com/users/smoogipoo/repos","events_url":"https://api.github.com/users/smoogipoo/events{/privacy}","received_events_url":"https://api.github.com/users/smoogipoo/received_events","type":"User","site_admin":false},"body":"Axes + buttons are implemented.\r\n\r\n`IJoystickState` provices:\r\n* `Buttons`: All the pressed buttons. These include axes as buttons, which is what mania/taiko/catch(?)/osu are all going to use.\r\n* `Axes`: The raw values of all axes.\r\n* `AxisDelta()`: To get the delta for one axis.\r\n\r\nCurrently supports 20 buttons + 10 axes. We can increase this later if needed but it's already a very extreme use-case.\r\n\r\n~Hats not implemented (I don't have a controller to test these with anyway).~\r\n\r\nTested on my FP7 EMP controller.\r\n\r\nSupports keybindings (see changes in `InputKey`).","created_at":"2018-04-03T11:33:12Z","updated_at":"2018-05-12T16:30:44Z","closed_at":"2018-05-12T16:30:44Z","merged_at":"2018-05-12T16:30:44Z","merge_commit_sha":"fac688633b8fcf34ae5d0514c26b03e217161eb4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":756682583,"url":"https://api.github.com/repos/ppy/osu-framework/labels/input","name":"input","color":"0b16ba","default":false}],"milestone":{"url":"https://api.github.com/repos/ppy/osu-framework/milestones/12","html_url":"https://github.com/ppy/osu-framework/milestone/12","labels_url":"https://api.github.com/repos/ppy/osu-framework/milestones/12/labels","id":3306706,"number":12,"title":"May 2018","description":"","creator":{"login":"peppy","id":191335,"avatar_url":"https://avatars3.githubusercontent.com/u/191335?v=4","gravatar_id":"","url":"https://api.github.com/users/peppy","html_url":"https://github.com/peppy","followers_url":"https://api.github.com/users/peppy/followers","following_url":"https://api.github.com/users/peppy/following{/other_user}","gists_url":"https://api.github.com/users/peppy/gists{/gist_id}","starred_url":"https://api.github.com/users/peppy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peppy/subscriptions","organizations_url":"https://api.github.com/users/peppy/orgs","repos_url":"https://api.github.com/users/peppy/repos","events_url":"https://api.github.com/users/peppy/events{/privacy}","received_events_url":"https://api.github.com/users/peppy/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":11,"state":"open","created_at":"2018-04-29T12:58:58Z","updated_at":"2018-05-12T16:30:44Z","due_on":"2018-05-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/ppy/osu-framework/pulls/1494/commits","review_comments_url":"https://api.github.com/repos/ppy/osu-framework/pulls/1494/comments","review_comment_url":"https://api.github.com/repos/ppy/osu-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ppy/osu-framework/issues/1494/comments","statuses_url":"https://api.github.com/repos/ppy/osu-framework/statuses/eaa640972ca9c67f0ea15a942035b5b3a78f1570","head":{"label":"smoogipoo:joystick","ref":"joystick","sha":"eaa640972ca9c67f0ea15a942035b5b3a78f1570","user":{"login":"smoogipoo","id":1329837,"avatar_url":"https://avatars0.githubusercontent.com/u/1329837?v=4","gravatar_id":"","url":"https://api.github.com/users/smoogipoo","html_url":"https://github.com/smoogipoo","followers_url":"https://api.github.com/users/smoogipoo/followers","following_url":"https://api.github.com/users/smoogipoo/following{/other_user}","gists_url":"https://api.github.com/users/smoogipoo/gists{/gist_id}","starred_url":"https://api.github.com/users/smoogipoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoogipoo/subscriptions","organizations_url":"https://api.github.com/users/smoogipoo/orgs","repos_url":"https://api.github.com/users/smoogipoo/repos","events_url":"https://api.github.com/users/smoogipoo/events{/privacy}","received_events_url":"https://api.github.com/users/smoogipoo/received_events","type":"User","site_admin":false},"repo":{"id":67277282,"name":"osu-framework","full_name":"smoogipoo/osu-framework","owner":{"login":"smoogipoo","id":1329837,"avatar_url":"https://avatars0.githubusercontent.com/u/1329837?v=4","gravatar_id":"","url":"https://api.github.com/users/smoogipoo","html_url":"https://github.com/smoogipoo","followers_url":"https://api.github.com/users/smoogipoo/followers","following_url":"https://api.github.com/users/smoogipoo/following{/other_user}","gists_url":"https://api.github.com/users/smoogipoo/gists{/gist_id}","starred_url":"https://api.github.com/users/smoogipoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoogipoo/subscriptions","organizations_url":"https://api.github.com/users/smoogipoo/orgs","repos_url":"https://api.github.com/users/smoogipoo/repos","events_url":"https://api.github.com/users/smoogipoo/events{/privacy}","received_events_url":"https://api.github.com/users/smoogipoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smoogipoo/osu-framework","description":"A game framework written with osu! in mind.","fork":true,"url":"https://api.github.com/repos/smoogipoo/osu-framework","forks_url":"https://api.github.com/repos/smoogipoo/osu-framework/forks","keys_url":"https://api.github.com/repos/smoogipoo/osu-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smoogipoo/osu-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smoogipoo/osu-framework/teams","hooks_url":"https://api.github.com/repos/smoogipoo/osu-framework/hooks","issue_events_url":"https://api.github.com/repos/smoogipoo/osu-framework/issues/events{/number}","events_url":"https://api.github.com/repos/smoogipoo/osu-framework/events","assignees_url":"https://api.github.com/repos/smoogipoo/osu-framework/assignees{/user}","branches_url":"https://api.github.com/repos/smoogipoo/osu-framework/branches{/branch}","tags_url":"https://api.github.com/repos/smoogipoo/osu-framework/tags","blobs_url":"https://api.github.com/repos/smoogipoo/osu-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smoogipoo/osu-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smoogipoo/osu-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/smoogipoo/osu-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smoogipoo/osu-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/smoogipoo/osu-framework/languages","stargazers_url":"https://api.github.com/repos/smoogipoo/osu-framework/stargazers","contributors_url":"https://api.github.com/repos/smoogipoo/osu-framework/contributors","subscribers_url":"https://api.github.com/repos/smoogipoo/osu-framework/subscribers","subscription_url":"https://api.github.com/repos/smoogipoo/osu-framework/subscription","commits_url":"https://api.github.com/repos/smoogipoo/osu-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/smoogipoo/osu-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/smoogipoo/osu-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/smoogipoo/osu-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/smoogipoo/osu-framework/contents/{+path}","compare_url":"https://api.github.com/repos/smoogipoo/osu-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smoogipoo/osu-framework/merges","archive_url":"https://api.github.com/repos/smoogipoo/osu-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smoogipoo/osu-framework/downloads","issues_url":"https://api.github.com/repos/smoogipoo/osu-framework/issues{/number}","pulls_url":"https://api.github.com/repos/smoogipoo/osu-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/smoogipoo/osu-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/smoogipoo/osu-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smoogipoo/osu-framework/labels{/name}","releases_url":"https://api.github.com/repos/smoogipoo/osu-framework/releases{/id}","deployments_url":"https://api.github.com/repos/smoogipoo/osu-framework/deployments","created_at":"2016-09-03T07:26:53Z","updated_at":"2018-04-13T11:28:57Z","pushed_at":"2018-05-12T11:56:34Z","git_url":"git://github.com/smoogipoo/osu-framework.git","ssh_url":"git@github.com:smoogipoo/osu-framework.git","clone_url":"https://github.com/smoogipoo/osu-framework.git","svn_url":"https://github.com/smoogipoo/osu-framework","homepage":"","size":28181,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ppy:master","ref":"master","sha":"f8079973011b54e84e5c0e677fe2b56e55947666","user":{"login":"ppy","id":995763,"avatar_url":"https://avatars1.githubusercontent.com/u/995763?v=4","gravatar_id":"","url":"https://api.github.com/users/ppy","html_url":"https://github.com/ppy","followers_url":"https://api.github.com/users/ppy/followers","following_url":"https://api.github.com/users/ppy/following{/other_user}","gists_url":"https://api.github.com/users/ppy/gists{/gist_id}","starred_url":"https://api.github.com/users/ppy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppy/subscriptions","organizations_url":"https://api.github.com/users/ppy/orgs","repos_url":"https://api.github.com/users/ppy/repos","events_url":"https://api.github.com/users/ppy/events{/privacy}","received_events_url":"https://api.github.com/users/ppy/received_events","type":"Organization","site_admin":false},"repo":{"id":66614524,"name":"osu-framework","full_name":"ppy/osu-framework","owner":{"login":"ppy","id":995763,"avatar_url":"https://avatars1.githubusercontent.com/u/995763?v=4","gravatar_id":"","url":"https://api.github.com/users/ppy","html_url":"https://github.com/ppy","followers_url":"https://api.github.com/users/ppy/followers","following_url":"https://api.github.com/users/ppy/following{/other_user}","gists_url":"https://api.github.com/users/ppy/gists{/gist_id}","starred_url":"https://api.github.com/users/ppy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppy/subscriptions","organizations_url":"https://api.github.com/users/ppy/orgs","repos_url":"https://api.github.com/users/ppy/repos","events_url":"https://api.github.com/users/ppy/events{/privacy}","received_events_url":"https://api.github.com/users/ppy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ppy/osu-framework","description":"A game framework written with osu! in mind.","fork":false,"url":"https://api.github.com/repos/ppy/osu-framework","forks_url":"https://api.github.com/repos/ppy/osu-framework/forks","keys_url":"https://api.github.com/repos/ppy/osu-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppy/osu-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppy/osu-framework/teams","hooks_url":"https://api.github.com/repos/ppy/osu-framework/hooks","issue_events_url":"https://api.github.com/repos/ppy/osu-framework/issues/events{/number}","events_url":"https://api.github.com/repos/ppy/osu-framework/events","assignees_url":"https://api.github.com/repos/ppy/osu-framework/assignees{/user}","branches_url":"https://api.github.com/repos/ppy/osu-framework/branches{/branch}","tags_url":"https://api.github.com/repos/ppy/osu-framework/tags","blobs_url":"https://api.github.com/repos/ppy/osu-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppy/osu-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppy/osu-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppy/osu-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppy/osu-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/ppy/osu-framework/languages","stargazers_url":"https://api.github.com/repos/ppy/osu-framework/stargazers","contributors_url":"https://api.github.com/repos/ppy/osu-framework/contributors","subscribers_url":"https://api.github.com/repos/ppy/osu-framework/subscribers","subscription_url":"https://api.github.com/repos/ppy/osu-framework/subscription","commits_url":"https://api.github.com/repos/ppy/osu-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppy/osu-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppy/osu-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppy/osu-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppy/osu-framework/contents/{+path}","compare_url":"https://api.github.com/repos/ppy/osu-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppy/osu-framework/merges","archive_url":"https://api.github.com/repos/ppy/osu-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppy/osu-framework/downloads","issues_url":"https://api.github.com/repos/ppy/osu-framework/issues{/number}","pulls_url":"https://api.github.com/repos/ppy/osu-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/ppy/osu-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/ppy/osu-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppy/osu-framework/labels{/name}","releases_url":"https://api.github.com/repos/ppy/osu-framework/releases{/id}","deployments_url":"https://api.github.com/repos/ppy/osu-framework/deployments","created_at":"2016-08-26T03:45:35Z","updated_at":"2018-05-12T02:09:31Z","pushed_at":"2018-05-12T16:30:44Z","git_url":"git://github.com/ppy/osu-framework.git","ssh_url":"git@github.com:ppy/osu-framework.git","clone_url":"https://github.com/ppy/osu-framework.git","svn_url":"https://github.com/ppy/osu-framework","homepage":"","size":26954,"stargazers_count":231,"watchers_count":231,"language":"C#","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":123,"mirror_url":null,"archived":false,"open_issues_count":66,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":123,"open_issues":66,"watchers":231,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ppy/osu-framework/pulls/1494"},"html":{"href":"https://github.com/ppy/osu-framework/pull/1494"},"issue":{"href":"https://api.github.com/repos/ppy/osu-framework/issues/1494"},"comments":{"href":"https://api.github.com/repos/ppy/osu-framework/issues/1494/comments"},"review_comments":{"href":"https://api.github.com/repos/ppy/osu-framework/pulls/1494/comments"},"review_comment":{"href":"https://api.github.com/repos/ppy/osu-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ppy/osu-framework/pulls/1494/commits"},"statuses":{"href":"https://api.github.com/repos/ppy/osu-framework/statuses/eaa640972ca9c67f0ea15a942035b5b3a78f1570"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"peppy","id":191335,"avatar_url":"https://avatars3.githubusercontent.com/u/191335?v=4","gravatar_id":"","url":"https://api.github.com/users/peppy","html_url":"https://github.com/peppy","followers_url":"https://api.github.com/users/peppy/followers","following_url":"https://api.github.com/users/peppy/following{/other_user}","gists_url":"https://api.github.com/users/peppy/gists{/gist_id}","starred_url":"https://api.github.com/users/peppy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peppy/subscriptions","organizations_url":"https://api.github.com/users/peppy/orgs","repos_url":"https://api.github.com/users/peppy/repos","events_url":"https://api.github.com/users/peppy/events{/privacy}","received_events_url":"https://api.github.com/users/peppy/received_events","type":"User","site_admin":false},"comments":3,"review_comments":6,"maintainer_can_modify":false,"commits":36,"additions":1904,"deletions":6,"changed_files":18}}
{"actor":{"display_login":"peppy"}}