{"action":"closed","number":3899,"pull_request":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/3899","id":73815420,"html_url":"https://github.com/dolphin-emu/dolphin/pull/3899","diff_url":"https://github.com/dolphin-emu/dolphin/pull/3899.diff","patch_url":"https://github.com/dolphin-emu/dolphin/pull/3899.patch","issue_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3899","number":3899,"state":"closed","locked":false,"title":"Abbreviate controls shown to user in input config GUI, so they fit the box","user":{"login":"CarlKenner","id":3021446,"avatar_url":"https://avatars.githubusercontent.com/u/3021446?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlKenner","html_url":"https://github.com/CarlKenner","followers_url":"https://api.github.com/users/CarlKenner/followers","following_url":"https://api.github.com/users/CarlKenner/following{/other_user}","gists_url":"https://api.github.com/users/CarlKenner/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlKenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlKenner/subscriptions","organizations_url":"https://api.github.com/users/CarlKenner/orgs","repos_url":"https://api.github.com/users/CarlKenner/repos","events_url":"https://api.github.com/users/CarlKenner/events{/privacy}","received_events_url":"https://api.github.com/users/CarlKenner/received_events","type":"User","site_admin":false},"body":"Abbreviate controls shown to user in input config GUI, so they fit in the box. Also show them in the tooltip in case they still don't fit in the box. For example, instead of seeing in the tiny box a random unrecognisable part of the middle of this:\r\n`((LMENU | RMENU) & !(LSHIFT | RSHIFT) & !(LCONTROL | RCONTROL)) & RETURN`\r\nthey now see this:\r\n`Alt & RETURN`\r\nand instead of seeing this:\r\n(\\`XInput/0/Gamepad:Shoulder L\\` & !\\`XInput/0/Gamepad:Shoulder R\\` & !\\`XInput/0/Gamepad:Trigger L\\` & \\`XInput/0/Gamepad:Button X\\`) | ((!(\\`DInput/0/Keyboard Mouse:LMENU\\` | \\`DInput/0/Keyboard Mouse:RMENU\\`) & (\\`DInput/0/Keyboard Mouse:LSHIFT\\` | \\`DInput/0/Keyboard Mouse:RSHIFT\\`) & !(\\`DInput/0/Keyboard Mouse:LCONTROL\\` | \\`DInput/0/Keyboard Mouse:RCONTROL\\`)) & \\`DInput/0/Keyboard Mouse:1\\`)\r\nthey now see:\r\n`(X:Shoulder L & !X:Shoulder R & !X:Trigger L & X:Button X) | (K:Shift & K:1)`\r\nWhich still doesn't fit the tiny box, but they can see it in the tooltip.\r\nRight clicking it still always shows the long unabbreviated version for the user to edit.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/dolphin-emu/dolphin/3899)\n<!-- Reviewable:end -->\n","created_at":"2016-06-14T21:18:17Z","updated_at":"2016-07-15T16:05:23Z","closed_at":"2016-07-15T16:05:23Z","merged_at":null,"merge_commit_sha":"a88a185f32fe939c3b3741dccf1e2f12b6ab6e06","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/3899/commits","review_comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/3899/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/3899/comments","statuses_url":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/89899fcea6ec3a4af302bf1c982444c53f1eea73","head":{"label":"CarlKenner:AbbreviateControls","ref":"AbbreviateControls","sha":"89899fcea6ec3a4af302bf1c982444c53f1eea73","user":{"login":"CarlKenner","id":3021446,"avatar_url":"https://avatars.githubusercontent.com/u/3021446?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlKenner","html_url":"https://github.com/CarlKenner","followers_url":"https://api.github.com/users/CarlKenner/followers","following_url":"https://api.github.com/users/CarlKenner/following{/other_user}","gists_url":"https://api.github.com/users/CarlKenner/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlKenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlKenner/subscriptions","organizations_url":"https://api.github.com/users/CarlKenner/orgs","repos_url":"https://api.github.com/users/CarlKenner/repos","events_url":"https://api.github.com/users/CarlKenner/events{/privacy}","received_events_url":"https://api.github.com/users/CarlKenner/received_events","type":"User","site_admin":false},"repo":{"id":19907616,"name":"dolphin","full_name":"CarlKenner/dolphin","owner":{"login":"CarlKenner","id":3021446,"avatar_url":"https://avatars.githubusercontent.com/u/3021446?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlKenner","html_url":"https://github.com/CarlKenner","followers_url":"https://api.github.com/users/CarlKenner/followers","following_url":"https://api.github.com/users/CarlKenner/following{/other_user}","gists_url":"https://api.github.com/users/CarlKenner/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlKenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlKenner/subscriptions","organizations_url":"https://api.github.com/users/CarlKenner/orgs","repos_url":"https://api.github.com/users/CarlKenner/repos","events_url":"https://api.github.com/users/CarlKenner/events{/privacy}","received_events_url":"https://api.github.com/users/CarlKenner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CarlKenner/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/CarlKenner/dolphin","forks_url":"https://api.github.com/repos/CarlKenner/dolphin/forks","keys_url":"https://api.github.com/repos/CarlKenner/dolphin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CarlKenner/dolphin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CarlKenner/dolphin/teams","hooks_url":"https://api.github.com/repos/CarlKenner/dolphin/hooks","issue_events_url":"https://api.github.com/repos/CarlKenner/dolphin/issues/events{/number}","events_url":"https://api.github.com/repos/CarlKenner/dolphin/events","assignees_url":"https://api.github.com/repos/CarlKenner/dolphin/assignees{/user}","branches_url":"https://api.github.com/repos/CarlKenner/dolphin/branches{/branch}","tags_url":"https://api.github.com/repos/CarlKenner/dolphin/tags","blobs_url":"https://api.github.com/repos/CarlKenner/dolphin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CarlKenner/dolphin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CarlKenner/dolphin/git/refs{/sha}","trees_url":"https://api.github.com/repos/CarlKenner/dolphin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CarlKenner/dolphin/statuses/{sha}","languages_url":"https://api.github.com/repos/CarlKenner/dolphin/languages","stargazers_url":"https://api.github.com/repos/CarlKenner/dolphin/stargazers","contributors_url":"https://api.github.com/repos/CarlKenner/dolphin/contributors","subscribers_url":"https://api.github.com/repos/CarlKenner/dolphin/subscribers","subscription_url":"https://api.github.com/repos/CarlKenner/dolphin/subscription","commits_url":"https://api.github.com/repos/CarlKenner/dolphin/commits{/sha}","git_commits_url":"https://api.github.com/repos/CarlKenner/dolphin/git/commits{/sha}","comments_url":"https://api.github.com/repos/CarlKenner/dolphin/comments{/number}","issue_comment_url":"https://api.github.com/repos/CarlKenner/dolphin/issues/comments{/number}","contents_url":"https://api.github.com/repos/CarlKenner/dolphin/contents/{+path}","compare_url":"https://api.github.com/repos/CarlKenner/dolphin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CarlKenner/dolphin/merges","archive_url":"https://api.github.com/repos/CarlKenner/dolphin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CarlKenner/dolphin/downloads","issues_url":"https://api.github.com/repos/CarlKenner/dolphin/issues{/number}","pulls_url":"https://api.github.com/repos/CarlKenner/dolphin/pulls{/number}","milestones_url":"https://api.github.com/repos/CarlKenner/dolphin/milestones{/number}","notifications_url":"https://api.github.com/repos/CarlKenner/dolphin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CarlKenner/dolphin/labels{/name}","releases_url":"https://api.github.com/repos/CarlKenner/dolphin/releases{/id}","deployments_url":"https://api.github.com/repos/CarlKenner/dolphin/deployments","created_at":"2014-05-18T09:55:21Z","updated_at":"2016-07-10T15:02:32Z","pushed_at":"2016-07-14T08:51:54Z","git_url":"git://github.com/CarlKenner/dolphin.git","ssh_url":"git@github.com:CarlKenner/dolphin.git","clone_url":"https://github.com/CarlKenner/dolphin.git","svn_url":"https://github.com/CarlKenner/dolphin","homepage":null,"size":274820,"stargazers_count":68,"watchers_count":68,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":40,"forks":21,"open_issues":40,"watchers":68,"default_branch":"VR-Hydra"}},"base":{"label":"dolphin-emu:master","ref":"master","sha":"10ab646408f480fee8494e1e41c23a8ea67aca1d","user":{"login":"dolphin-emu","id":5050316,"avatar_url":"https://avatars.githubusercontent.com/u/5050316?v=3","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,"name":"dolphin","full_name":"dolphin-emu/dolphin","owner":{"login":"dolphin-emu","id":5050316,"avatar_url":"https://avatars.githubusercontent.com/u/5050316?v=3","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},"private":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":"2016-07-15T00:00:56Z","pushed_at":"2016-07-15T15:44:30Z","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":301338,"stargazers_count":2506,"watchers_count":2506,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":697,"mirror_url":null,"open_issues_count":121,"forks":697,"open_issues":121,"watchers":2506,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/3899"},"html":{"href":"https://github.com/dolphin-emu/dolphin/pull/3899"},"issue":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3899"},"comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3899/comments"},"review_comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/3899/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/3899/commits"},"statuses":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/89899fcea6ec3a4af302bf1c982444c53f1eea73"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":28,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"lioncash"}}