{"action":"created","comment":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/comments/22506355","id":22506355,"diff_hunk":"@@ -4,12 +4,33 @@\n \n #include <GLFW/glfw3.h>\n \n-#include \"citra/default_ini.h\"\n+#include \"citra/config.h\"\n #include \"common/file_util.h\"\n #include \"core/settings.h\"\n #include \"core/core.h\"\n \n-#include \"config.h\"\n+namespace Citra {\n+\n+static const char* default_config_file = R\"(\n+[Controls]\n+pad_start =\n+pad_select =\n+pad_home =\n+pad_dup =\n+pad_ddown =\n+pad_dleft =\n+pad_dright =\n+pad_a =\n+pad_b =\n+pad_x =\n+pad_y =\n+pad_r =\n+pad_l =\n+pad_sup =\n+pad_sdown =\n+pad_sleft =\n+pad_sright =\n+)\";","path":"src/citra/config.cpp","position":32,"original_position":32,"commit_id":"fcbec59ec6a5027fa25ea4b2b88a169163741735","original_commit_id":"fcbec59ec6a5027fa25ea4b2b88a169163741735","user":{"login":"bunnei","id":6956688,"avatar_url":"https://avatars.githubusercontent.com/u/6956688?v=3","gravatar_id":"","url":"https://api.github.com/users/bunnei","html_url":"https://github.com/bunnei","followers_url":"https://api.github.com/users/bunnei/followers","following_url":"https://api.github.com/users/bunnei/following{/other_user}","gists_url":"https://api.github.com/users/bunnei/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnei/subscriptions","organizations_url":"https://api.github.com/users/bunnei/orgs","repos_url":"https://api.github.com/users/bunnei/repos","events_url":"https://api.github.com/users/bunnei/events{/privacy}","received_events_url":"https://api.github.com/users/bunnei/received_events","type":"User","site_admin":false},"body":"Oh duh... because these are GLFW-specific","created_at":"2015-01-06T03:21:18Z","updated_at":"2015-01-06T03:21:18Z","html_url":"https://github.com/citra-emu/citra/pull/387#discussion_r22506355","pull_request_url":"https://api.github.com/repos/citra-emu/citra/pulls/387","_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments/22506355"},"html":{"href":"https://github.com/citra-emu/citra/pull/387#discussion_r22506355"},"pull_request":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/387"}}},"pull_request":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/387","id":26774757,"html_url":"https://github.com/citra-emu/citra/pull/387","diff_url":"https://github.com/citra-emu/citra/pull/387.diff","patch_url":"https://github.com/citra-emu/citra/pull/387.patch","issue_url":"https://api.github.com/repos/citra-emu/citra/issues/387","number":387,"state":"open","locked":false,"title":"Removed redundancy in frontend configs by creating a core config file, added new settings.","user":{"login":"archshift","id":5377832,"avatar_url":"https://avatars.githubusercontent.com/u/5377832?v=3","gravatar_id":"","url":"https://api.github.com/users/archshift","html_url":"https://github.com/archshift","followers_url":"https://api.github.com/users/archshift/followers","following_url":"https://api.github.com/users/archshift/following{/other_user}","gists_url":"https://api.github.com/users/archshift/gists{/gist_id}","starred_url":"https://api.github.com/users/archshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archshift/subscriptions","organizations_url":"https://api.github.com/users/archshift/orgs","repos_url":"https://api.github.com/users/archshift/repos","events_url":"https://api.github.com/users/archshift/events{/privacy}","received_events_url":"https://api.github.com/users/archshift/received_events","type":"User","site_admin":false},"body":"I also took the liberty to make the default INIs inlined into the `config.cpp` file instead of as a separate header, and I changed the comments on the INIs to use a semicolon in order to avoid the parse errors. ","created_at":"2015-01-02T23:02:46Z","updated_at":"2015-01-06T03:21:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8c6797cf3cb4175f1eda5f112c79beb09e2c95b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/citra-emu/citra/pulls/387/commits","review_comments_url":"https://api.github.com/repos/citra-emu/citra/pulls/387/comments","review_comment_url":"https://api.github.com/repos/citra-emu/citra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/citra-emu/citra/issues/387/comments","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/fcbec59ec6a5027fa25ea4b2b88a169163741735","head":{"label":"archshift:config","ref":"config","sha":"fcbec59ec6a5027fa25ea4b2b88a169163741735","user":{"login":"archshift","id":5377832,"avatar_url":"https://avatars.githubusercontent.com/u/5377832?v=3","gravatar_id":"","url":"https://api.github.com/users/archshift","html_url":"https://github.com/archshift","followers_url":"https://api.github.com/users/archshift/followers","following_url":"https://api.github.com/users/archshift/following{/other_user}","gists_url":"https://api.github.com/users/archshift/gists{/gist_id}","starred_url":"https://api.github.com/users/archshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archshift/subscriptions","organizations_url":"https://api.github.com/users/archshift/orgs","repos_url":"https://api.github.com/users/archshift/repos","events_url":"https://api.github.com/users/archshift/events{/privacy}","received_events_url":"https://api.github.com/users/archshift/received_events","type":"User","site_admin":false},"repo":{"id":19927346,"name":"citra","full_name":"archshift/citra","owner":{"login":"archshift","id":5377832,"avatar_url":"https://avatars.githubusercontent.com/u/5377832?v=3","gravatar_id":"","url":"https://api.github.com/users/archshift","html_url":"https://github.com/archshift","followers_url":"https://api.github.com/users/archshift/followers","following_url":"https://api.github.com/users/archshift/following{/other_user}","gists_url":"https://api.github.com/users/archshift/gists{/gist_id}","starred_url":"https://api.github.com/users/archshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archshift/subscriptions","organizations_url":"https://api.github.com/users/archshift/orgs","repos_url":"https://api.github.com/users/archshift/repos","events_url":"https://api.github.com/users/archshift/events{/privacy}","received_events_url":"https://api.github.com/users/archshift/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/archshift/citra","description":"Nintendo 3DS emulator/debugger","fork":true,"url":"https://api.github.com/repos/archshift/citra","forks_url":"https://api.github.com/repos/archshift/citra/forks","keys_url":"https://api.github.com/repos/archshift/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/archshift/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/archshift/citra/teams","hooks_url":"https://api.github.com/repos/archshift/citra/hooks","issue_events_url":"https://api.github.com/repos/archshift/citra/issues/events{/number}","events_url":"https://api.github.com/repos/archshift/citra/events","assignees_url":"https://api.github.com/repos/archshift/citra/assignees{/user}","branches_url":"https://api.github.com/repos/archshift/citra/branches{/branch}","tags_url":"https://api.github.com/repos/archshift/citra/tags","blobs_url":"https://api.github.com/repos/archshift/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/archshift/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/archshift/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/archshift/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/archshift/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/archshift/citra/languages","stargazers_url":"https://api.github.com/repos/archshift/citra/stargazers","contributors_url":"https://api.github.com/repos/archshift/citra/contributors","subscribers_url":"https://api.github.com/repos/archshift/citra/subscribers","subscription_url":"https://api.github.com/repos/archshift/citra/subscription","commits_url":"https://api.github.com/repos/archshift/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/archshift/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/archshift/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/archshift/citra/issues/comments/{number}","contents_url":"https://api.github.com/repos/archshift/citra/contents/{+path}","compare_url":"https://api.github.com/repos/archshift/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/archshift/citra/merges","archive_url":"https://api.github.com/repos/archshift/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/archshift/citra/downloads","issues_url":"https://api.github.com/repos/archshift/citra/issues{/number}","pulls_url":"https://api.github.com/repos/archshift/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/archshift/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/archshift/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/archshift/citra/labels{/name}","releases_url":"https://api.github.com/repos/archshift/citra/releases{/id}","created_at":"2014-05-19T02:50:51Z","updated_at":"2014-12-11T06:45:08Z","pushed_at":"2015-01-06T02:26:00Z","git_url":"git://github.com/archshift/citra.git","ssh_url":"git@github.com:archshift/citra.git","clone_url":"https://github.com/archshift/citra.git","svn_url":"https://github.com/archshift/citra","homepage":null,"size":7284,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"citra-emu:master","ref":"master","sha":"d66d1707cfed08624f5c49a9b4072a550034abb2","user":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars.githubusercontent.com/u/7605670?v=3","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":19866730,"name":"citra","full_name":"citra-emu/citra","owner":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars.githubusercontent.com/u/7605670?v=3","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citra-emu/citra","description":"Nintendo 3DS emulator/debugger","fork":false,"url":"https://api.github.com/repos/citra-emu/citra","forks_url":"https://api.github.com/repos/citra-emu/citra/forks","keys_url":"https://api.github.com/repos/citra-emu/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citra-emu/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citra-emu/citra/teams","hooks_url":"https://api.github.com/repos/citra-emu/citra/hooks","issue_events_url":"https://api.github.com/repos/citra-emu/citra/issues/events{/number}","events_url":"https://api.github.com/repos/citra-emu/citra/events","assignees_url":"https://api.github.com/repos/citra-emu/citra/assignees{/user}","branches_url":"https://api.github.com/repos/citra-emu/citra/branches{/branch}","tags_url":"https://api.github.com/repos/citra-emu/citra/tags","blobs_url":"https://api.github.com/repos/citra-emu/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citra-emu/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citra-emu/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/citra-emu/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/citra-emu/citra/languages","stargazers_url":"https://api.github.com/repos/citra-emu/citra/stargazers","contributors_url":"https://api.github.com/repos/citra-emu/citra/contributors","subscribers_url":"https://api.github.com/repos/citra-emu/citra/subscribers","subscription_url":"https://api.github.com/repos/citra-emu/citra/subscription","commits_url":"https://api.github.com/repos/citra-emu/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/citra-emu/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/citra-emu/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/citra-emu/citra/issues/comments/{number}","contents_url":"https://api.github.com/repos/citra-emu/citra/contents/{+path}","compare_url":"https://api.github.com/repos/citra-emu/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citra-emu/citra/merges","archive_url":"https://api.github.com/repos/citra-emu/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citra-emu/citra/downloads","issues_url":"https://api.github.com/repos/citra-emu/citra/issues{/number}","pulls_url":"https://api.github.com/repos/citra-emu/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/citra-emu/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/citra-emu/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citra-emu/citra/labels{/name}","releases_url":"https://api.github.com/repos/citra-emu/citra/releases{/id}","created_at":"2014-05-16T18:33:15Z","updated_at":"2015-01-06T03:10:56Z","pushed_at":"2015-01-06T03:10:56Z","git_url":"git://github.com/citra-emu/citra.git","ssh_url":"git@github.com:citra-emu/citra.git","clone_url":"https://github.com/citra-emu/citra.git","svn_url":"https://github.com/citra-emu/citra","homepage":null,"size":15497,"stargazers_count":432,"watchers_count":432,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":45,"forks":113,"open_issues":45,"watchers":432,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/387"},"html":{"href":"https://github.com/citra-emu/citra/pull/387"},"issue":{"href":"https://api.github.com/repos/citra-emu/citra/issues/387"},"comments":{"href":"https://api.github.com/repos/citra-emu/citra/issues/387/comments"},"review_comments":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/387/comments"},"review_comment":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/387/commits"},"statuses":{"href":"https://api.github.com/repos/citra-emu/citra/statuses/fcbec59ec6a5027fa25ea4b2b88a169163741735"}}}}