{"action":"created","comment":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments/35843220","id":35843220,"diff_hunk":"@@ -1426,6 +1426,64 @@ void CFrame::ParseHotkeys()\n \t{\n \t\tState::Load(g_saveSlot);\n \t}\n+\tif (IsHotkey(HK_TOGGLE_STEREO_SBS))\n+\t{\n+\t\tif (g_Config.iStereoMode != STEREO_SBS)\n+\t\t{\n+\t\t\tif (g_Config.sPostProcessingShader == \"dubois\")\n+\t\t\t{\n+\t\t\t\tg_Config.sPostProcessingShader = \"\";\n+\t\t\t}\n+\t\t\tg_Config.iStereoMode = STEREO_SBS;\n+\t\t}\n+\t\telse\n+\t\t{\n+\t\t\tg_Config.iStereoMode = STEREO_OFF;\n+\t\t}\n+\t}\n+\tif (IsHotkey(HK_TOGGLE_STEREO_TAB))\n+\t{\n+\t\tif (g_Config.iStereoMode != STEREO_TAB)\n+\t\t{\n+\t\t\tif (g_Config.sPostProcessingShader == \"dubois\")\n+\t\t\t{\n+\t\t\t\tg_Config.sPostProcessingShader = \"\";\n+\t\t\t}\n+\t\t\tg_Config.iStereoMode = STEREO_TAB;\n+\t\t}\n+\t\telse\n+\t\t{\n+\t\t\tg_Config.iStereoMode = STEREO_OFF;\n+\t\t}\n+\t}\n+\tif (IsHotkey(HK_TOGGLE_STEREO_ANAGLYPH))\n+\t{\n+\t\tif (g_Config.iStereoMode != STEREO_ANAGLYPH)\n+\t\t{\n+\t\t\tg_Config.iStereoMode = STEREO_ANAGLYPH;\n+\t\t\tg_Config.sPostProcessingShader = \"dubois\";\n+\t\t}\n+\t\telse\n+\t\t{\n+\t\t\tg_Config.iStereoMode = STEREO_OFF;\n+\t\t\tg_Config.sPostProcessingShader = \"\";\n+\t\t}\n+\t}\n+\tif (IsHotkey(HK_TOGGLE_STEREO_3DVISION))\n+\t{\n+\t\tif (g_Config.iStereoMode != STEREO_3DVISION)\n+\t\t{\n+\t\t\tif (g_Config.sPostProcessingShader == \"dubois\")","path":"Source/Core/DolphinWX/Frame.cpp","position":51,"original_position":51,"commit_id":"db78462bef7b9b2a1bfff0959a19629ac3d37806","original_commit_id":"db78462bef7b9b2a1bfff0959a19629ac3d37806","user":{"login":"degasus","id":2787141,"avatar_url":"https://avatars.githubusercontent.com/u/2787141?v=3","gravatar_id":"","url":"https://api.github.com/users/degasus","html_url":"https://github.com/degasus","followers_url":"https://api.github.com/users/degasus/followers","following_url":"https://api.github.com/users/degasus/following{/other_user}","gists_url":"https://api.github.com/users/degasus/gists{/gist_id}","starred_url":"https://api.github.com/users/degasus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degasus/subscriptions","organizations_url":"https://api.github.com/users/degasus/orgs","repos_url":"https://api.github.com/users/degasus/repos","events_url":"https://api.github.com/users/degasus/events{/privacy}","received_events_url":"https://api.github.com/users/degasus/received_events","type":"User","site_admin":false},"body":"3d vision also don't need a shader afaik","created_at":"2015-07-30T06:54:22Z","updated_at":"2015-07-30T06:54:22Z","html_url":"https://github.com/dolphin-emu/dolphin/pull/2788#discussion_r35843220","pull_request_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2788","_links":{"self":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments/35843220"},"html":{"href":"https://github.com/dolphin-emu/dolphin/pull/2788#discussion_r35843220"},"pull_request":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2788"}}},"pull_request":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2788","id":41177852,"html_url":"https://github.com/dolphin-emu/dolphin/pull/2788","diff_url":"https://github.com/dolphin-emu/dolphin/pull/2788.diff","patch_url":"https://github.com/dolphin-emu/dolphin/pull/2788.patch","issue_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2788","number":2788,"state":"open","locked":false,"title":"Added hotkeys for toggling different stereoscopy modes","user":{"login":"TurboK234","id":7449432,"avatar_url":"https://avatars.githubusercontent.com/u/7449432?v=3","gravatar_id":"","url":"https://api.github.com/users/TurboK234","html_url":"https://github.com/TurboK234","followers_url":"https://api.github.com/users/TurboK234/followers","following_url":"https://api.github.com/users/TurboK234/following{/other_user}","gists_url":"https://api.github.com/users/TurboK234/gists{/gist_id}","starred_url":"https://api.github.com/users/TurboK234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurboK234/subscriptions","organizations_url":"https://api.github.com/users/TurboK234/orgs","repos_url":"https://api.github.com/users/TurboK234/repos","events_url":"https://api.github.com/users/TurboK234/events{/privacy}","received_events_url":"https://api.github.com/users/TurboK234/received_events","type":"User","site_admin":false},"body":"Stereoscopy rocks, but I save it for 1) special occasions and 2) friend demonstrations. Both would benefit from a more streamlined ability to switch on (and off) stereoscopy, preferably with a hotkey.\r\nThis PR adds hotkeys for each stereoscopy mode. I didn't want to use cycling, as it's even uglier than using the GUI.\r\nThe downside of these hotkeys is that they mimic the GUI behaviour with anaglyph mode. Anaglyph is basically a post processing effect with OGL, and I don't have the skills to avoid _losing the possibly preset_ post processing effect after the user toggles the anaglyph mode off. I don't see this as much of a problem, since most stereoscopy users use a \"proper\" mode, like side-by-side, right? And you can still use pps's with side-by-side and top-and-bottom, if you like.\r\n\r\nI don't have NVIDIA hardware, so 3D Vision Hotkey has not been tested, but I suppose it should work.\r\n","created_at":"2015-07-29T22:05:01Z","updated_at":"2015-07-30T06:54:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90fd9af240f678600255601ce048bc2c32ef27ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2788/commits","review_comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2788/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/2788/comments","statuses_url":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/db78462bef7b9b2a1bfff0959a19629ac3d37806","head":{"label":"TurboK234:3d_hotkeys","ref":"3d_hotkeys","sha":"db78462bef7b9b2a1bfff0959a19629ac3d37806","user":{"login":"TurboK234","id":7449432,"avatar_url":"https://avatars.githubusercontent.com/u/7449432?v=3","gravatar_id":"","url":"https://api.github.com/users/TurboK234","html_url":"https://github.com/TurboK234","followers_url":"https://api.github.com/users/TurboK234/followers","following_url":"https://api.github.com/users/TurboK234/following{/other_user}","gists_url":"https://api.github.com/users/TurboK234/gists{/gist_id}","starred_url":"https://api.github.com/users/TurboK234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurboK234/subscriptions","organizations_url":"https://api.github.com/users/TurboK234/orgs","repos_url":"https://api.github.com/users/TurboK234/repos","events_url":"https://api.github.com/users/TurboK234/events{/privacy}","received_events_url":"https://api.github.com/users/TurboK234/received_events","type":"User","site_admin":false},"repo":{"id":20011923,"name":"dolphin","full_name":"TurboK234/dolphin","owner":{"login":"TurboK234","id":7449432,"avatar_url":"https://avatars.githubusercontent.com/u/7449432?v=3","gravatar_id":"","url":"https://api.github.com/users/TurboK234","html_url":"https://github.com/TurboK234","followers_url":"https://api.github.com/users/TurboK234/followers","following_url":"https://api.github.com/users/TurboK234/following{/other_user}","gists_url":"https://api.github.com/users/TurboK234/gists{/gist_id}","starred_url":"https://api.github.com/users/TurboK234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurboK234/subscriptions","organizations_url":"https://api.github.com/users/TurboK234/orgs","repos_url":"https://api.github.com/users/TurboK234/repos","events_url":"https://api.github.com/users/TurboK234/events{/privacy}","received_events_url":"https://api.github.com/users/TurboK234/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TurboK234/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/TurboK234/dolphin","forks_url":"https://api.github.com/repos/TurboK234/dolphin/forks","keys_url":"https://api.github.com/repos/TurboK234/dolphin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TurboK234/dolphin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TurboK234/dolphin/teams","hooks_url":"https://api.github.com/repos/TurboK234/dolphin/hooks","issue_events_url":"https://api.github.com/repos/TurboK234/dolphin/issues/events{/number}","events_url":"https://api.github.com/repos/TurboK234/dolphin/events","assignees_url":"https://api.github.com/repos/TurboK234/dolphin/assignees{/user}","branches_url":"https://api.github.com/repos/TurboK234/dolphin/branches{/branch}","tags_url":"https://api.github.com/repos/TurboK234/dolphin/tags","blobs_url":"https://api.github.com/repos/TurboK234/dolphin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TurboK234/dolphin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TurboK234/dolphin/git/refs{/sha}","trees_url":"https://api.github.com/repos/TurboK234/dolphin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TurboK234/dolphin/statuses/{sha}","languages_url":"https://api.github.com/repos/TurboK234/dolphin/languages","stargazers_url":"https://api.github.com/repos/TurboK234/dolphin/stargazers","contributors_url":"https://api.github.com/repos/TurboK234/dolphin/contributors","subscribers_url":"https://api.github.com/repos/TurboK234/dolphin/subscribers","subscription_url":"https://api.github.com/repos/TurboK234/dolphin/subscription","commits_url":"https://api.github.com/repos/TurboK234/dolphin/commits{/sha}","git_commits_url":"https://api.github.com/repos/TurboK234/dolphin/git/commits{/sha}","comments_url":"https://api.github.com/repos/TurboK234/dolphin/comments{/number}","issue_comment_url":"https://api.github.com/repos/TurboK234/dolphin/issues/comments{/number}","contents_url":"https://api.github.com/repos/TurboK234/dolphin/contents/{+path}","compare_url":"https://api.github.com/repos/TurboK234/dolphin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TurboK234/dolphin/merges","archive_url":"https://api.github.com/repos/TurboK234/dolphin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TurboK234/dolphin/downloads","issues_url":"https://api.github.com/repos/TurboK234/dolphin/issues{/number}","pulls_url":"https://api.github.com/repos/TurboK234/dolphin/pulls{/number}","milestones_url":"https://api.github.com/repos/TurboK234/dolphin/milestones{/number}","notifications_url":"https://api.github.com/repos/TurboK234/dolphin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TurboK234/dolphin/labels{/name}","releases_url":"https://api.github.com/repos/TurboK234/dolphin/releases{/id}","created_at":"2014-05-21T07:24:32Z","updated_at":"2014-08-25T11:12:01Z","pushed_at":"2015-07-29T22:23:29Z","git_url":"git://github.com/TurboK234/dolphin.git","ssh_url":"git@github.com:TurboK234/dolphin.git","clone_url":"https://github.com/TurboK234/dolphin.git","svn_url":"https://github.com/TurboK234/dolphin","homepage":"","size":189010,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dolphin-emu:master","ref":"master","sha":"567d0b20fa715324826519f0999b1f76099a1365","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}","created_at":"2013-07-22T09:07:57Z","updated_at":"2015-07-28T18:32:57Z","pushed_at":"2015-07-29T22:05:02Z","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":301009,"stargazers_count":1529,"watchers_count":1529,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":470,"mirror_url":null,"open_issues_count":70,"forks":470,"open_issues":70,"watchers":1529,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2788"},"html":{"href":"https://github.com/dolphin-emu/dolphin/pull/2788"},"issue":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2788"},"comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2788/comments"},"review_comments":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2788/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/2788/commits"},"statuses":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/statuses/db78462bef7b9b2a1bfff0959a19629ac3d37806"}}}}