{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/33","id":93526491,"html_url":"https://github.com/keyboardio/KeyboardioFirmware/pull/33","diff_url":"https://github.com/keyboardio/KeyboardioFirmware/pull/33.diff","patch_url":"https://github.com/keyboardio/KeyboardioFirmware/pull/33.patch","issue_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/issues/33","number":33,"state":"open","locked":false,"title":"Add helper macros to access keys in a bitfield","user":{"login":"algernon","id":17243,"avatar_url":"https://avatars.githubusercontent.com/u/17243?v=3","gravatar_id":"","url":"https://api.github.com/users/algernon","html_url":"https://github.com/algernon","followers_url":"https://api.github.com/users/algernon/followers","following_url":"https://api.github.com/users/algernon/following{/other_user}","gists_url":"https://api.github.com/users/algernon/gists{/gist_id}","starred_url":"https://api.github.com/users/algernon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algernon/subscriptions","organizations_url":"https://api.github.com/users/algernon/orgs","repos_url":"https://api.github.com/users/algernon/repos","events_url":"https://api.github.com/users/algernon/events{/privacy}","received_events_url":"https://api.github.com/users/algernon/received_events","type":"User","site_admin":false},"body":"The RxCx set of macros help addressing key positions within the keydata the Scanner returns for us. These can be ORed together to form a pattern to match against, for example, or to look for a certain key by address, and so on.\r\n\r\nI'm not 100% sure this is correct, but am reasonably confident.","created_at":"2016-11-14T08:41:05Z","updated_at":"2016-11-14T08:41:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/33/commits","review_comments_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/33/comments","review_comment_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/issues/33/comments","statuses_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/statuses/03b4e0e325b11598b1e9d2746dff82af8d0cd0ac","head":{"label":"algernon:f/key-position-bits","ref":"f/key-position-bits","sha":"03b4e0e325b11598b1e9d2746dff82af8d0cd0ac","user":{"login":"algernon","id":17243,"avatar_url":"https://avatars.githubusercontent.com/u/17243?v=3","gravatar_id":"","url":"https://api.github.com/users/algernon","html_url":"https://github.com/algernon","followers_url":"https://api.github.com/users/algernon/followers","following_url":"https://api.github.com/users/algernon/following{/other_user}","gists_url":"https://api.github.com/users/algernon/gists{/gist_id}","starred_url":"https://api.github.com/users/algernon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algernon/subscriptions","organizations_url":"https://api.github.com/users/algernon/orgs","repos_url":"https://api.github.com/users/algernon/repos","events_url":"https://api.github.com/users/algernon/events{/privacy}","received_events_url":"https://api.github.com/users/algernon/received_events","type":"User","site_admin":false},"repo":{"id":66460915,"name":"KeyboardioFirmware","full_name":"algernon/KeyboardioFirmware","owner":{"login":"algernon","id":17243,"avatar_url":"https://avatars.githubusercontent.com/u/17243?v=3","gravatar_id":"","url":"https://api.github.com/users/algernon","html_url":"https://github.com/algernon","followers_url":"https://api.github.com/users/algernon/followers","following_url":"https://api.github.com/users/algernon/following{/other_user}","gists_url":"https://api.github.com/users/algernon/gists{/gist_id}","starred_url":"https://api.github.com/users/algernon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algernon/subscriptions","organizations_url":"https://api.github.com/users/algernon/orgs","repos_url":"https://api.github.com/users/algernon/repos","events_url":"https://api.github.com/users/algernon/events{/privacy}","received_events_url":"https://api.github.com/users/algernon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/algernon/KeyboardioFirmware","description":"Prototype firmware for the Keyboardio Model 01. Expect it to be rewritten from scratch before we ship","fork":true,"url":"https://api.github.com/repos/algernon/KeyboardioFirmware","forks_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/forks","keys_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/teams","hooks_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/hooks","issue_events_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/issues/events{/number}","events_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/events","assignees_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/assignees{/user}","branches_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/branches{/branch}","tags_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/tags","blobs_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/statuses/{sha}","languages_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/languages","stargazers_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/stargazers","contributors_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/contributors","subscribers_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/subscribers","subscription_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/subscription","commits_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/contents/{+path}","compare_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/merges","archive_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/downloads","issues_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/issues{/number}","pulls_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/pulls{/number}","milestones_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/milestones{/number}","notifications_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/labels{/name}","releases_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/releases{/id}","deployments_url":"https://api.github.com/repos/algernon/KeyboardioFirmware/deployments","created_at":"2016-08-24T12:11:07Z","updated_at":"2016-08-24T12:11:08Z","pushed_at":"2016-11-14T08:40:17Z","git_url":"git://github.com/algernon/KeyboardioFirmware.git","ssh_url":"git@github.com:algernon/KeyboardioFirmware.git","clone_url":"https://github.com/algernon/KeyboardioFirmware.git","svn_url":"https://github.com/algernon/KeyboardioFirmware","homepage":"http://keyboard.io","size":601,"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":"keyboardio:master","ref":"master","sha":"3426d5b4af10611605be86bcb97ef811172ba4a0","user":{"login":"keyboardio","id":13427430,"avatar_url":"https://avatars.githubusercontent.com/u/13427430?v=3","gravatar_id":"","url":"https://api.github.com/users/keyboardio","html_url":"https://github.com/keyboardio","followers_url":"https://api.github.com/users/keyboardio/followers","following_url":"https://api.github.com/users/keyboardio/following{/other_user}","gists_url":"https://api.github.com/users/keyboardio/gists{/gist_id}","starred_url":"https://api.github.com/users/keyboardio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyboardio/subscriptions","organizations_url":"https://api.github.com/users/keyboardio/orgs","repos_url":"https://api.github.com/users/keyboardio/repos","events_url":"https://api.github.com/users/keyboardio/events{/privacy}","received_events_url":"https://api.github.com/users/keyboardio/received_events","type":"Organization","site_admin":false},"repo":{"id":14060646,"name":"KeyboardioFirmware","full_name":"keyboardio/KeyboardioFirmware","owner":{"login":"keyboardio","id":13427430,"avatar_url":"https://avatars.githubusercontent.com/u/13427430?v=3","gravatar_id":"","url":"https://api.github.com/users/keyboardio","html_url":"https://github.com/keyboardio","followers_url":"https://api.github.com/users/keyboardio/followers","following_url":"https://api.github.com/users/keyboardio/following{/other_user}","gists_url":"https://api.github.com/users/keyboardio/gists{/gist_id}","starred_url":"https://api.github.com/users/keyboardio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyboardio/subscriptions","organizations_url":"https://api.github.com/users/keyboardio/orgs","repos_url":"https://api.github.com/users/keyboardio/repos","events_url":"https://api.github.com/users/keyboardio/events{/privacy}","received_events_url":"https://api.github.com/users/keyboardio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keyboardio/KeyboardioFirmware","description":"Firmware for the Keyboardio Model 01.","fork":false,"url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware","forks_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/forks","keys_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/teams","hooks_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/hooks","issue_events_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/issues/events{/number}","events_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/events","assignees_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/assignees{/user}","branches_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/branches{/branch}","tags_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/tags","blobs_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/statuses/{sha}","languages_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/languages","stargazers_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/stargazers","contributors_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/contributors","subscribers_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/subscribers","subscription_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/subscription","commits_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/contents/{+path}","compare_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/merges","archive_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/downloads","issues_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/issues{/number}","pulls_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls{/number}","milestones_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/milestones{/number}","notifications_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/labels{/name}","releases_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/releases{/id}","deployments_url":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/deployments","created_at":"2013-11-02T03:59:51Z","updated_at":"2016-11-12T12:25:21Z","pushed_at":"2016-11-14T08:41:05Z","git_url":"git://github.com/keyboardio/KeyboardioFirmware.git","ssh_url":"git@github.com:keyboardio/KeyboardioFirmware.git","clone_url":"https://github.com/keyboardio/KeyboardioFirmware.git","svn_url":"https://github.com/keyboardio/KeyboardioFirmware","homepage":"http://keyboard.io","size":610,"stargazers_count":140,"watchers_count":140,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":14,"forks":15,"open_issues":14,"watchers":140,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/33"},"html":{"href":"https://github.com/keyboardio/KeyboardioFirmware/pull/33"},"issue":{"href":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/issues/33"},"comments":{"href":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/keyboardio/KeyboardioFirmware/statuses/03b4e0e325b11598b1e9d2746dff82af8d0cd0ac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":68,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"algernon"}}