{"action":"created","comment":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments/228722041","pull_request_review_id":169065599,"id":228722041,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODcyMjA0MQ==","diff_hunk":"@@ -218,12 +234,38 @@ private void saveInput(String bind, String ui)\n     dismiss();\n   }\n \n+  private void saveRumble(InputDevice device)\n+  {\n+    SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getContext());\n+    SharedPreferences.Editor editor = preferences.edit();\n+\n+    Vibrator vibrator = device.getVibrator();\n+    if (vibrator != null && vibrator.hasVibrator())\n+    {\n+      setting.setValue(device.getName());\n+      editor.putString(setting.getKey(), String.valueOf(device.getName()));\n+      editor.putString(setting.getKey() + \"desc\", String.valueOf(device.getDescriptor()));","path":"Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/MotionAlertDialog.java","position":null,"original_position":63,"commit_id":"3499a416e7579fe31c6eaf340d05341d7a42e0ae","original_commit_id":"d42c0f39db6cc32439dac38046fc35b42c656fc9","user":{"login":"zackhow","id":427044,"node_id":"MDQ6VXNlcjQyNzA0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/427044?v=4","gravatar_id":"","url":"https://api.github.com/users/zackhow","html_url":"https://github.com/zackhow","followers_url":"https://api.github.com/users/zackhow/followers","following_url":"https://api.github.com/users/zackhow/following{/other_user}","gists_url":"https://api.github.com/users/zackhow/gists{/gist_id}","starred_url":"https://api.github.com/users/zackhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackhow/subscriptions","organizations_url":"https://api.github.com/users/zackhow/orgs","repos_url":"https://api.github.com/users/zackhow/repos","events_url":"https://api.github.com/users/zackhow/events{/privacy}","received_events_url":"https://api.github.com/users/zackhow/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-10-27T18:30:04Z","updated_at":"2018-10-27T18:30:04Z","html_url":"https://github.com/dolphin-emu/dolphin/pull/7443#discussion_r228722041","pull_request_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments/228722041"},"html":{"href":"https://github.com/dolphin-emu/dolphin/pull/7443#discussion_r228722041"},"pull_request":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443"}},"in_reply_to_id":228636259},"pull_request":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443","id":219551140,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NTUxMTQw","html_url":"https://github.com/dolphin-emu/dolphin/pull/7443","diff_url":"https://github.com/dolphin-emu/dolphin/pull/7443.diff","patch_url":"https://github.com/dolphin-emu/dolphin/pull/7443.patch","issue_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7443","number":7443,"state":"open","locked":false,"title":"Android: Add controller rumble support","user":{"login":"zackhow","id":427044,"node_id":"MDQ6VXNlcjQyNzA0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/427044?v=4","gravatar_id":"","url":"https://api.github.com/users/zackhow","html_url":"https://github.com/zackhow","followers_url":"https://api.github.com/users/zackhow/followers","following_url":"https://api.github.com/users/zackhow/following{/other_user}","gists_url":"https://api.github.com/users/zackhow/gists{/gist_id}","starred_url":"https://api.github.com/users/zackhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackhow/subscriptions","organizations_url":"https://api.github.com/users/zackhow/orgs","repos_url":"https://api.github.com/users/zackhow/repos","events_url":"https://api.github.com/users/zackhow/events{/privacy}","received_events_url":"https://api.github.com/users/zackhow/received_events","type":"User","site_admin":false},"body":"Android can be funky with controller vibration. Of the three controlers I have that contain a\r\nvibrator(PS3, Xbox360, 2017 Shield controller), only the Xbox360 controller registered as having\r\na vibrator. So YYMV depending on the driver support of the device.","created_at":"2018-10-02T00:08:15Z","updated_at":"2018-10-27T18:30:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06bc002f30b155803051689fbc24a47c15c5afb7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443/commits","review_comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443/comments","review_comment_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7443/comments","statuses_url":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/3499a416e7579fe31c6eaf340d05341d7a42e0ae","head":{"label":"zackhow:device-rumble","ref":"device-rumble","sha":"3499a416e7579fe31c6eaf340d05341d7a42e0ae","user":{"login":"zackhow","id":427044,"node_id":"MDQ6VXNlcjQyNzA0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/427044?v=4","gravatar_id":"","url":"https://api.github.com/users/zackhow","html_url":"https://github.com/zackhow","followers_url":"https://api.github.com/users/zackhow/followers","following_url":"https://api.github.com/users/zackhow/following{/other_user}","gists_url":"https://api.github.com/users/zackhow/gists{/gist_id}","starred_url":"https://api.github.com/users/zackhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackhow/subscriptions","organizations_url":"https://api.github.com/users/zackhow/orgs","repos_url":"https://api.github.com/users/zackhow/repos","events_url":"https://api.github.com/users/zackhow/events{/privacy}","received_events_url":"https://api.github.com/users/zackhow/received_events","type":"User","site_admin":false},"repo":{"id":139930027,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5MzAwMjc=","name":"dolphin","full_name":"zackhow/dolphin","private":false,"owner":{"login":"zackhow","id":427044,"node_id":"MDQ6VXNlcjQyNzA0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/427044?v=4","gravatar_id":"","url":"https://api.github.com/users/zackhow","html_url":"https://github.com/zackhow","followers_url":"https://api.github.com/users/zackhow/followers","following_url":"https://api.github.com/users/zackhow/following{/other_user}","gists_url":"https://api.github.com/users/zackhow/gists{/gist_id}","starred_url":"https://api.github.com/users/zackhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackhow/subscriptions","organizations_url":"https://api.github.com/users/zackhow/orgs","repos_url":"https://api.github.com/users/zackhow/repos","events_url":"https://api.github.com/users/zackhow/events{/privacy}","received_events_url":"https://api.github.com/users/zackhow/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zackhow/dolphin","description":"Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.","fork":true,"url":"https://api.github.com/repos/zackhow/dolphin","forks_url":"https://api.github.com/repos/zackhow/dolphin/forks","keys_url":"https://api.github.com/repos/zackhow/dolphin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zackhow/dolphin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zackhow/dolphin/teams","hooks_url":"https://api.github.com/repos/zackhow/dolphin/hooks","issue_events_url":"https://api.github.com/repos/zackhow/dolphin/issues/events{/number}","events_url":"https://api.github.com/repos/zackhow/dolphin/events","assignees_url":"https://api.github.com/repos/zackhow/dolphin/assignees{/user}","branches_url":"https://api.github.com/repos/zackhow/dolphin/branches{/branch}","tags_url":"https://api.github.com/repos/zackhow/dolphin/tags","blobs_url":"https://api.github.com/repos/zackhow/dolphin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zackhow/dolphin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zackhow/dolphin/git/refs{/sha}","trees_url":"https://api.github.com/repos/zackhow/dolphin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zackhow/dolphin/statuses/{sha}","languages_url":"https://api.github.com/repos/zackhow/dolphin/languages","stargazers_url":"https://api.github.com/repos/zackhow/dolphin/stargazers","contributors_url":"https://api.github.com/repos/zackhow/dolphin/contributors","subscribers_url":"https://api.github.com/repos/zackhow/dolphin/subscribers","subscription_url":"https://api.github.com/repos/zackhow/dolphin/subscription","commits_url":"https://api.github.com/repos/zackhow/dolphin/commits{/sha}","git_commits_url":"https://api.github.com/repos/zackhow/dolphin/git/commits{/sha}","comments_url":"https://api.github.com/repos/zackhow/dolphin/comments{/number}","issue_comment_url":"https://api.github.com/repos/zackhow/dolphin/issues/comments{/number}","contents_url":"https://api.github.com/repos/zackhow/dolphin/contents/{+path}","compare_url":"https://api.github.com/repos/zackhow/dolphin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zackhow/dolphin/merges","archive_url":"https://api.github.com/repos/zackhow/dolphin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zackhow/dolphin/downloads","issues_url":"https://api.github.com/repos/zackhow/dolphin/issues{/number}","pulls_url":"https://api.github.com/repos/zackhow/dolphin/pulls{/number}","milestones_url":"https://api.github.com/repos/zackhow/dolphin/milestones{/number}","notifications_url":"https://api.github.com/repos/zackhow/dolphin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zackhow/dolphin/labels{/name}","releases_url":"https://api.github.com/repos/zackhow/dolphin/releases{/id}","deployments_url":"https://api.github.com/repos/zackhow/dolphin/deployments","created_at":"2018-07-06T03:44:25Z","updated_at":"2018-08-31T21:17:21Z","pushed_at":"2018-10-27T18:29:42Z","git_url":"git://github.com/zackhow/dolphin.git","ssh_url":"git@github.com:zackhow/dolphin.git","clone_url":"https://github.com/zackhow/dolphin.git","svn_url":"https://github.com/zackhow/dolphin","homepage":"https://dolphin-emu.org/","size":331558,"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":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dolphin-emu:master","ref":"master","sha":"dd922660c9fdc466c707049888a24dfea0fb4c8c","user":{"login":"dolphin-emu","id":5050316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTAzMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5050316?v=4","gravatar_id":"","url":"https://api.github.com/users/dolphin-emu","html_url":"https://github.com/dolphin-emu","followers_url":"https://api.github.com/users/dolphin-emu/followers","following_url":"https://api.github.com/users/dolphin-emu/following{/other_user}","gists_url":"https://api.github.com/users/dolphin-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/dolphin-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolphin-emu/subscriptions","organizations_url":"https://api.github.com/users/dolphin-emu/orgs","repos_url":"https://api.github.com/users/dolphin-emu/repos","events_url":"https://api.github.com/users/dolphin-emu/events{/privacy}","received_events_url":"https://api.github.com/users/dolphin-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":11577304,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU3NzMwNA==","name":"dolphin","full_name":"dolphin-emu/dolphin","private":false,"owner":{"login":"dolphin-emu","id":5050316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTAzMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5050316?v=4","gravatar_id":"","url":"https://api.github.com/users/dolphin-emu","html_url":"https://github.com/dolphin-emu","followers_url":"https://api.github.com/users/dolphin-emu/followers","following_url":"https://api.github.com/users/dolphin-emu/following{/other_user}","gists_url":"https://api.github.com/users/dolphin-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/dolphin-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolphin-emu/subscriptions","organizations_url":"https://api.github.com/users/dolphin-emu/orgs","repos_url":"https://api.github.com/users/dolphin-emu/repos","events_url":"https://api.github.com/users/dolphin-emu/events{/privacy}","received_events_url":"https://api.github.com/users/dolphin-emu/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dolphin-emu/dolphin","description":"Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.","fork":false,"url":"https://api.github.com/repos/dolphin-emu/dolphin","forks_url":"https://api.github.com/repos/dolphin-emu/dolphin/forks","keys_url":"https://api.github.com/repos/dolphin-emu/dolphin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dolphin-emu/dolphin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dolphin-emu/dolphin/teams","hooks_url":"https://api.github.com/repos/dolphin-emu/dolphin/hooks","issue_events_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/events{/number}","events_url":"https://api.github.com/repos/dolphin-emu/dolphin/events","assignees_url":"https://api.github.com/repos/dolphin-emu/dolphin/assignees{/user}","branches_url":"https://api.github.com/repos/dolphin-emu/dolphin/branches{/branch}","tags_url":"https://api.github.com/repos/dolphin-emu/dolphin/tags","blobs_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/refs{/sha}","trees_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/{sha}","languages_url":"https://api.github.com/repos/dolphin-emu/dolphin/languages","stargazers_url":"https://api.github.com/repos/dolphin-emu/dolphin/stargazers","contributors_url":"https://api.github.com/repos/dolphin-emu/dolphin/contributors","subscribers_url":"https://api.github.com/repos/dolphin-emu/dolphin/subscribers","subscription_url":"https://api.github.com/repos/dolphin-emu/dolphin/subscription","commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/commits{/sha}","git_commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/git/commits{/sha}","comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/comments{/number}","issue_comment_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/comments{/number}","contents_url":"https://api.github.com/repos/dolphin-emu/dolphin/contents/{+path}","compare_url":"https://api.github.com/repos/dolphin-emu/dolphin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dolphin-emu/dolphin/merges","archive_url":"https://api.github.com/repos/dolphin-emu/dolphin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dolphin-emu/dolphin/downloads","issues_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues{/number}","pulls_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls{/number}","milestones_url":"https://api.github.com/repos/dolphin-emu/dolphin/milestones{/number}","notifications_url":"https://api.github.com/repos/dolphin-emu/dolphin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dolphin-emu/dolphin/labels{/name}","releases_url":"https://api.github.com/repos/dolphin-emu/dolphin/releases{/id}","deployments_url":"https://api.github.com/repos/dolphin-emu/dolphin/deployments","created_at":"2013-07-22T09:07:57Z","updated_at":"2018-10-27T14:31:31Z","pushed_at":"2018-10-27T18:29:44Z","git_url":"git://github.com/dolphin-emu/dolphin.git","ssh_url":"git@github.com:dolphin-emu/dolphin.git","clone_url":"https://github.com/dolphin-emu/dolphin.git","svn_url":"https://github.com/dolphin-emu/dolphin","homepage":"https://dolphin-emu.org/","size":368878,"stargazers_count":4775,"watchers_count":4775,"language":"C++","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1127,"mirror_url":null,"archived":false,"open_issues_count":118,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1127,"open_issues":118,"watchers":4775,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443"},"html":{"href":"https://github.com/dolphin-emu/dolphin/pull/7443"},"issue":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7443"},"comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/7443/comments"},"review_comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443/comments"},"review_comment":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/7443/commits"},"statuses":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/3499a416e7579fe31c6eaf340d05341d7a42e0ae"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"zackhow"}}