{"action":"created","comment":{"url":"https://api.github.com/repos/amethyst/amethyst/pulls/comments/241503829","pull_request_review_id":184794072,"id":241503829,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTUwMzgyOQ==","diff_hunk":"@@ -10,6 +10,28 @@ use super::{Axis, Button};\n /// Used for saving and loading input settings.\n ///\n /// An action can either be a single button or a combination of them.\n+///\n+/// # Examples\n+///\n+/// Example Ron config file:\n+/// ```ron\n+/// (\n+///     axes: {\n+///         \"updown\": Emulated(\n+///             pos: Key(Up),\n+///             neg: Key(Down)\n+///         ),\n+///         \"leftright\": Emulated(\n+///             pos: Key(Right),\n+///             neg: Key(Left)\n+///         )\n+///     },\n+///     actions: {\n+///         \"fire\": [ [Mouse(Left)], [Key(X)] ], // Up to four bindings for one action\n+///         \"reload\": [ [Key(LControl), Key(R)] ] // Combinations of two bindings possible","path":"amethyst_input/src/bindings.rs","position":22,"original_position":22,"commit_id":"3e0ae6466f73ae9506be06e0012d0f9e629a7993","original_commit_id":"3e0ae6466f73ae9506be06e0012d0f9e629a7993","user":{"login":"Xaeroxe","id":6182002,"node_id":"MDQ6VXNlcjYxODIwMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/6182002?v=4","gravatar_id":"","url":"https://api.github.com/users/Xaeroxe","html_url":"https://github.com/Xaeroxe","followers_url":"https://api.github.com/users/Xaeroxe/followers","following_url":"https://api.github.com/users/Xaeroxe/following{/other_user}","gists_url":"https://api.github.com/users/Xaeroxe/gists{/gist_id}","starred_url":"https://api.github.com/users/Xaeroxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xaeroxe/subscriptions","organizations_url":"https://api.github.com/users/Xaeroxe/orgs","repos_url":"https://api.github.com/users/Xaeroxe/repos","events_url":"https://api.github.com/users/Xaeroxe/events{/privacy}","received_events_url":"https://api.github.com/users/Xaeroxe/received_events","type":"User","site_admin":false},"body":"Please remove \"two\" and \"four\" here.  We optimize for those values as they're very common, but they're not hard limits.  You can have more.","created_at":"2018-12-13T18:02:18Z","updated_at":"2018-12-13T18:02:40Z","html_url":"https://github.com/amethyst/amethyst/pull/1248#discussion_r241503829","pull_request_url":"https://api.github.com/repos/amethyst/amethyst/pulls/1248","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/amethyst/amethyst/pulls/comments/241503829"},"html":{"href":"https://github.com/amethyst/amethyst/pull/1248#discussion_r241503829"},"pull_request":{"href":"https://api.github.com/repos/amethyst/amethyst/pulls/1248"}}},"pull_request":{"url":"https://api.github.com/repos/amethyst/amethyst/pulls/1248","id":238188102,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MTg4MTAy","html_url":"https://github.com/amethyst/amethyst/pull/1248","diff_url":"https://github.com/amethyst/amethyst/pull/1248.diff","patch_url":"https://github.com/amethyst/amethyst/pull/1248.patch","issue_url":"https://api.github.com/repos/amethyst/amethyst/issues/1248","number":1248,"state":"open","locked":false,"title":"Add example Ron configs to docs","user":{"login":"Sogomn","id":40247521,"node_id":"MDQ6VXNlcjQwMjQ3NTIx","avatar_url":"https://avatars3.githubusercontent.com/u/40247521?v=4","gravatar_id":"","url":"https://api.github.com/users/Sogomn","html_url":"https://github.com/Sogomn","followers_url":"https://api.github.com/users/Sogomn/followers","following_url":"https://api.github.com/users/Sogomn/following{/other_user}","gists_url":"https://api.github.com/users/Sogomn/gists{/gist_id}","starred_url":"https://api.github.com/users/Sogomn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sogomn/subscriptions","organizations_url":"https://api.github.com/users/Sogomn/orgs","repos_url":"https://api.github.com/users/Sogomn/repos","events_url":"https://api.github.com/users/Sogomn/events{/privacy}","received_events_url":"https://api.github.com/users/Sogomn/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-12T21:28:04Z","updated_at":"2018-12-13T18:02:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3f5c69b7e8b88543c79fc3da5958b95565ba5a5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":663029916,"node_id":"MDU6TGFiZWw2NjMwMjk5MTY=","url":"https://api.github.com/repos/amethyst/amethyst/labels/project:%20docs","name":"project: docs","color":"0e8a16","default":false},{"id":681253081,"node_id":"MDU6TGFiZWw2ODEyNTMwODE=","url":"https://api.github.com/repos/amethyst/amethyst/labels/status:%20ready","name":"status: ready","color":"bfe5bf","default":false},{"id":302199478,"node_id":"MDU6TGFiZWwzMDIxOTk0Nzg=","url":"https://api.github.com/repos/amethyst/amethyst/labels/type:%20improvement","name":"type: improvement","color":"84b6eb","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/amethyst/amethyst/pulls/1248/commits","review_comments_url":"https://api.github.com/repos/amethyst/amethyst/pulls/1248/comments","review_comment_url":"https://api.github.com/repos/amethyst/amethyst/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amethyst/amethyst/issues/1248/comments","statuses_url":"https://api.github.com/repos/amethyst/amethyst/statuses/3e0ae6466f73ae9506be06e0012d0f9e629a7993","head":{"label":"Sogomn:master","ref":"master","sha":"3e0ae6466f73ae9506be06e0012d0f9e629a7993","user":{"login":"Sogomn","id":40247521,"node_id":"MDQ6VXNlcjQwMjQ3NTIx","avatar_url":"https://avatars3.githubusercontent.com/u/40247521?v=4","gravatar_id":"","url":"https://api.github.com/users/Sogomn","html_url":"https://github.com/Sogomn","followers_url":"https://api.github.com/users/Sogomn/followers","following_url":"https://api.github.com/users/Sogomn/following{/other_user}","gists_url":"https://api.github.com/users/Sogomn/gists{/gist_id}","starred_url":"https://api.github.com/users/Sogomn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sogomn/subscriptions","organizations_url":"https://api.github.com/users/Sogomn/orgs","repos_url":"https://api.github.com/users/Sogomn/repos","events_url":"https://api.github.com/users/Sogomn/events{/privacy}","received_events_url":"https://api.github.com/users/Sogomn/received_events","type":"User","site_admin":false},"repo":{"id":161546853,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE1NDY4NTM=","name":"amethyst","full_name":"Sogomn/amethyst","private":false,"owner":{"login":"Sogomn","id":40247521,"node_id":"MDQ6VXNlcjQwMjQ3NTIx","avatar_url":"https://avatars3.githubusercontent.com/u/40247521?v=4","gravatar_id":"","url":"https://api.github.com/users/Sogomn","html_url":"https://github.com/Sogomn","followers_url":"https://api.github.com/users/Sogomn/followers","following_url":"https://api.github.com/users/Sogomn/following{/other_user}","gists_url":"https://api.github.com/users/Sogomn/gists{/gist_id}","starred_url":"https://api.github.com/users/Sogomn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sogomn/subscriptions","organizations_url":"https://api.github.com/users/Sogomn/orgs","repos_url":"https://api.github.com/users/Sogomn/repos","events_url":"https://api.github.com/users/Sogomn/events{/privacy}","received_events_url":"https://api.github.com/users/Sogomn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Sogomn/amethyst","description":"Data-oriented, and data driven game engine written in Rust","fork":true,"url":"https://api.github.com/repos/Sogomn/amethyst","forks_url":"https://api.github.com/repos/Sogomn/amethyst/forks","keys_url":"https://api.github.com/repos/Sogomn/amethyst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sogomn/amethyst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sogomn/amethyst/teams","hooks_url":"https://api.github.com/repos/Sogomn/amethyst/hooks","issue_events_url":"https://api.github.com/repos/Sogomn/amethyst/issues/events{/number}","events_url":"https://api.github.com/repos/Sogomn/amethyst/events","assignees_url":"https://api.github.com/repos/Sogomn/amethyst/assignees{/user}","branches_url":"https://api.github.com/repos/Sogomn/amethyst/branches{/branch}","tags_url":"https://api.github.com/repos/Sogomn/amethyst/tags","blobs_url":"https://api.github.com/repos/Sogomn/amethyst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sogomn/amethyst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sogomn/amethyst/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sogomn/amethyst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sogomn/amethyst/statuses/{sha}","languages_url":"https://api.github.com/repos/Sogomn/amethyst/languages","stargazers_url":"https://api.github.com/repos/Sogomn/amethyst/stargazers","contributors_url":"https://api.github.com/repos/Sogomn/amethyst/contributors","subscribers_url":"https://api.github.com/repos/Sogomn/amethyst/subscribers","subscription_url":"https://api.github.com/repos/Sogomn/amethyst/subscription","commits_url":"https://api.github.com/repos/Sogomn/amethyst/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sogomn/amethyst/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sogomn/amethyst/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sogomn/amethyst/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sogomn/amethyst/contents/{+path}","compare_url":"https://api.github.com/repos/Sogomn/amethyst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sogomn/amethyst/merges","archive_url":"https://api.github.com/repos/Sogomn/amethyst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sogomn/amethyst/downloads","issues_url":"https://api.github.com/repos/Sogomn/amethyst/issues{/number}","pulls_url":"https://api.github.com/repos/Sogomn/amethyst/pulls{/number}","milestones_url":"https://api.github.com/repos/Sogomn/amethyst/milestones{/number}","notifications_url":"https://api.github.com/repos/Sogomn/amethyst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sogomn/amethyst/labels{/name}","releases_url":"https://api.github.com/repos/Sogomn/amethyst/releases{/id}","deployments_url":"https://api.github.com/repos/Sogomn/amethyst/deployments","created_at":"2018-12-12T21:23:31Z","updated_at":"2018-12-12T21:25:51Z","pushed_at":"2018-12-12T21:25:49Z","git_url":"git://github.com/Sogomn/amethyst.git","ssh_url":"git@github.com:Sogomn/amethyst.git","clone_url":"https://github.com/Sogomn/amethyst.git","svn_url":"https://github.com/Sogomn/amethyst","homepage":"https://www.amethyst.rs/","size":30255,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"amethyst:master","ref":"master","sha":"45fe5d013402e50f479bdc20d5c86b382682d7e6","user":{"login":"amethyst","id":17814736,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODE0NzM2","avatar_url":"https://avatars1.githubusercontent.com/u/17814736?v=4","gravatar_id":"","url":"https://api.github.com/users/amethyst","html_url":"https://github.com/amethyst","followers_url":"https://api.github.com/users/amethyst/followers","following_url":"https://api.github.com/users/amethyst/following{/other_user}","gists_url":"https://api.github.com/users/amethyst/gists{/gist_id}","starred_url":"https://api.github.com/users/amethyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amethyst/subscriptions","organizations_url":"https://api.github.com/users/amethyst/orgs","repos_url":"https://api.github.com/users/amethyst/repos","events_url":"https://api.github.com/users/amethyst/events{/privacy}","received_events_url":"https://api.github.com/users/amethyst/received_events","type":"Organization","site_admin":false},"repo":{"id":48364554,"node_id":"MDEwOlJlcG9zaXRvcnk0ODM2NDU1NA==","name":"amethyst","full_name":"amethyst/amethyst","private":false,"owner":{"login":"amethyst","id":17814736,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODE0NzM2","avatar_url":"https://avatars1.githubusercontent.com/u/17814736?v=4","gravatar_id":"","url":"https://api.github.com/users/amethyst","html_url":"https://github.com/amethyst","followers_url":"https://api.github.com/users/amethyst/followers","following_url":"https://api.github.com/users/amethyst/following{/other_user}","gists_url":"https://api.github.com/users/amethyst/gists{/gist_id}","starred_url":"https://api.github.com/users/amethyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amethyst/subscriptions","organizations_url":"https://api.github.com/users/amethyst/orgs","repos_url":"https://api.github.com/users/amethyst/repos","events_url":"https://api.github.com/users/amethyst/events{/privacy}","received_events_url":"https://api.github.com/users/amethyst/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/amethyst/amethyst","description":"Data-oriented, and data driven game engine written in Rust","fork":false,"url":"https://api.github.com/repos/amethyst/amethyst","forks_url":"https://api.github.com/repos/amethyst/amethyst/forks","keys_url":"https://api.github.com/repos/amethyst/amethyst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amethyst/amethyst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amethyst/amethyst/teams","hooks_url":"https://api.github.com/repos/amethyst/amethyst/hooks","issue_events_url":"https://api.github.com/repos/amethyst/amethyst/issues/events{/number}","events_url":"https://api.github.com/repos/amethyst/amethyst/events","assignees_url":"https://api.github.com/repos/amethyst/amethyst/assignees{/user}","branches_url":"https://api.github.com/repos/amethyst/amethyst/branches{/branch}","tags_url":"https://api.github.com/repos/amethyst/amethyst/tags","blobs_url":"https://api.github.com/repos/amethyst/amethyst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amethyst/amethyst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amethyst/amethyst/git/refs{/sha}","trees_url":"https://api.github.com/repos/amethyst/amethyst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amethyst/amethyst/statuses/{sha}","languages_url":"https://api.github.com/repos/amethyst/amethyst/languages","stargazers_url":"https://api.github.com/repos/amethyst/amethyst/stargazers","contributors_url":"https://api.github.com/repos/amethyst/amethyst/contributors","subscribers_url":"https://api.github.com/repos/amethyst/amethyst/subscribers","subscription_url":"https://api.github.com/repos/amethyst/amethyst/subscription","commits_url":"https://api.github.com/repos/amethyst/amethyst/commits{/sha}","git_commits_url":"https://api.github.com/repos/amethyst/amethyst/git/commits{/sha}","comments_url":"https://api.github.com/repos/amethyst/amethyst/comments{/number}","issue_comment_url":"https://api.github.com/repos/amethyst/amethyst/issues/comments{/number}","contents_url":"https://api.github.com/repos/amethyst/amethyst/contents/{+path}","compare_url":"https://api.github.com/repos/amethyst/amethyst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amethyst/amethyst/merges","archive_url":"https://api.github.com/repos/amethyst/amethyst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amethyst/amethyst/downloads","issues_url":"https://api.github.com/repos/amethyst/amethyst/issues{/number}","pulls_url":"https://api.github.com/repos/amethyst/amethyst/pulls{/number}","milestones_url":"https://api.github.com/repos/amethyst/amethyst/milestones{/number}","notifications_url":"https://api.github.com/repos/amethyst/amethyst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amethyst/amethyst/labels{/name}","releases_url":"https://api.github.com/repos/amethyst/amethyst/releases{/id}","deployments_url":"https://api.github.com/repos/amethyst/amethyst/deployments","created_at":"2015-12-21T09:59:29Z","updated_at":"2018-12-13T16:47:48Z","pushed_at":"2018-12-13T15:57:16Z","git_url":"git://github.com/amethyst/amethyst.git","ssh_url":"git@github.com:amethyst/amethyst.git","clone_url":"https://github.com/amethyst/amethyst.git","svn_url":"https://github.com/amethyst/amethyst","homepage":"https://www.amethyst.rs/","size":33324,"stargazers_count":2189,"watchers_count":2189,"language":"Rust","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":268,"mirror_url":null,"archived":false,"open_issues_count":117,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":268,"open_issues":117,"watchers":2189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amethyst/amethyst/pulls/1248"},"html":{"href":"https://github.com/amethyst/amethyst/pull/1248"},"issue":{"href":"https://api.github.com/repos/amethyst/amethyst/issues/1248"},"comments":{"href":"https://api.github.com/repos/amethyst/amethyst/issues/1248/comments"},"review_comments":{"href":"https://api.github.com/repos/amethyst/amethyst/pulls/1248/comments"},"review_comment":{"href":"https://api.github.com/repos/amethyst/amethyst/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amethyst/amethyst/pulls/1248/commits"},"statuses":{"href":"https://api.github.com/repos/amethyst/amethyst/statuses/3e0ae6466f73ae9506be06e0012d0f9e629a7993"}},"author_association":"NONE"}}
{"actor":{"display_login":"Xaeroxe"}}