{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/1","id":55566210,"html_url":"https://github.com/gareth/ruby_hid_api/pull/1","diff_url":"https://github.com/gareth/ruby_hid_api/pull/1.diff","patch_url":"https://github.com/gareth/ruby_hid_api/pull/1.patch","issue_url":"https://api.github.com/repos/gareth/ruby_hid_api/issues/1","number":1,"state":"open","locked":false,"title":"enable send/get feature report","user":{"login":"kurain","id":29504,"avatar_url":"https://avatars.githubusercontent.com/u/29504?v=3","gravatar_id":"","url":"https://api.github.com/users/kurain","html_url":"https://github.com/kurain","followers_url":"https://api.github.com/users/kurain/followers","following_url":"https://api.github.com/users/kurain/following{/other_user}","gists_url":"https://api.github.com/users/kurain/gists{/gist_id}","starred_url":"https://api.github.com/users/kurain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurain/subscriptions","organizations_url":"https://api.github.com/users/kurain/orgs","repos_url":"https://api.github.com/users/kurain/repos","events_url":"https://api.github.com/users/kurain/events{/privacy}","received_events_url":"https://api.github.com/users/kurain/received_events","type":"User","site_admin":false},"body":"To use HidApi.hid_send_feature_report and HidApi.hid_get_feature_report, I copied some code from 'write' method.\r\n\r\nI confirmed correctness of my code by using my HID USB device.\r\n","created_at":"2016-01-10T14:40:03Z","updated_at":"2016-01-10T14:40:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gareth/ruby_hid_api/issues/1/comments","statuses_url":"https://api.github.com/repos/gareth/ruby_hid_api/statuses/8f9dda24b17cd3bae1984fa23de1e1f0d03cccc5","head":{"label":"kurain:feature_report","ref":"feature_report","sha":"8f9dda24b17cd3bae1984fa23de1e1f0d03cccc5","user":{"login":"kurain","id":29504,"avatar_url":"https://avatars.githubusercontent.com/u/29504?v=3","gravatar_id":"","url":"https://api.github.com/users/kurain","html_url":"https://github.com/kurain","followers_url":"https://api.github.com/users/kurain/followers","following_url":"https://api.github.com/users/kurain/following{/other_user}","gists_url":"https://api.github.com/users/kurain/gists{/gist_id}","starred_url":"https://api.github.com/users/kurain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurain/subscriptions","organizations_url":"https://api.github.com/users/kurain/orgs","repos_url":"https://api.github.com/users/kurain/repos","events_url":"https://api.github.com/users/kurain/events{/privacy}","received_events_url":"https://api.github.com/users/kurain/received_events","type":"User","site_admin":false},"repo":{"id":49349823,"name":"ruby_hid_api","full_name":"kurain/ruby_hid_api","owner":{"login":"kurain","id":29504,"avatar_url":"https://avatars.githubusercontent.com/u/29504?v=3","gravatar_id":"","url":"https://api.github.com/users/kurain","html_url":"https://github.com/kurain","followers_url":"https://api.github.com/users/kurain/followers","following_url":"https://api.github.com/users/kurain/following{/other_user}","gists_url":"https://api.github.com/users/kurain/gists{/gist_id}","starred_url":"https://api.github.com/users/kurain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurain/subscriptions","organizations_url":"https://api.github.com/users/kurain/orgs","repos_url":"https://api.github.com/users/kurain/repos","events_url":"https://api.github.com/users/kurain/events{/privacy}","received_events_url":"https://api.github.com/users/kurain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kurain/ruby_hid_api","description":"An FFI wrapper around the C 'hidapi' library","fork":true,"url":"https://api.github.com/repos/kurain/ruby_hid_api","forks_url":"https://api.github.com/repos/kurain/ruby_hid_api/forks","keys_url":"https://api.github.com/repos/kurain/ruby_hid_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kurain/ruby_hid_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kurain/ruby_hid_api/teams","hooks_url":"https://api.github.com/repos/kurain/ruby_hid_api/hooks","issue_events_url":"https://api.github.com/repos/kurain/ruby_hid_api/issues/events{/number}","events_url":"https://api.github.com/repos/kurain/ruby_hid_api/events","assignees_url":"https://api.github.com/repos/kurain/ruby_hid_api/assignees{/user}","branches_url":"https://api.github.com/repos/kurain/ruby_hid_api/branches{/branch}","tags_url":"https://api.github.com/repos/kurain/ruby_hid_api/tags","blobs_url":"https://api.github.com/repos/kurain/ruby_hid_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kurain/ruby_hid_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kurain/ruby_hid_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/kurain/ruby_hid_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kurain/ruby_hid_api/statuses/{sha}","languages_url":"https://api.github.com/repos/kurain/ruby_hid_api/languages","stargazers_url":"https://api.github.com/repos/kurain/ruby_hid_api/stargazers","contributors_url":"https://api.github.com/repos/kurain/ruby_hid_api/contributors","subscribers_url":"https://api.github.com/repos/kurain/ruby_hid_api/subscribers","subscription_url":"https://api.github.com/repos/kurain/ruby_hid_api/subscription","commits_url":"https://api.github.com/repos/kurain/ruby_hid_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/kurain/ruby_hid_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/kurain/ruby_hid_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/kurain/ruby_hid_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/kurain/ruby_hid_api/contents/{+path}","compare_url":"https://api.github.com/repos/kurain/ruby_hid_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kurain/ruby_hid_api/merges","archive_url":"https://api.github.com/repos/kurain/ruby_hid_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kurain/ruby_hid_api/downloads","issues_url":"https://api.github.com/repos/kurain/ruby_hid_api/issues{/number}","pulls_url":"https://api.github.com/repos/kurain/ruby_hid_api/pulls{/number}","milestones_url":"https://api.github.com/repos/kurain/ruby_hid_api/milestones{/number}","notifications_url":"https://api.github.com/repos/kurain/ruby_hid_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kurain/ruby_hid_api/labels{/name}","releases_url":"https://api.github.com/repos/kurain/ruby_hid_api/releases{/id}","created_at":"2016-01-10T02:10:55Z","updated_at":"2016-01-10T02:10:56Z","pushed_at":"2016-01-10T14:35:28Z","git_url":"git://github.com/kurain/ruby_hid_api.git","ssh_url":"git@github.com:kurain/ruby_hid_api.git","clone_url":"https://github.com/kurain/ruby_hid_api.git","svn_url":"https://github.com/kurain/ruby_hid_api","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"gareth:master","ref":"master","sha":"8e6f175f3483cd6d4a297212f7b1a4773005dc9d","user":{"login":"gareth","id":4975,"avatar_url":"https://avatars.githubusercontent.com/u/4975?v=3","gravatar_id":"","url":"https://api.github.com/users/gareth","html_url":"https://github.com/gareth","followers_url":"https://api.github.com/users/gareth/followers","following_url":"https://api.github.com/users/gareth/following{/other_user}","gists_url":"https://api.github.com/users/gareth/gists{/gist_id}","starred_url":"https://api.github.com/users/gareth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gareth/subscriptions","organizations_url":"https://api.github.com/users/gareth/orgs","repos_url":"https://api.github.com/users/gareth/repos","events_url":"https://api.github.com/users/gareth/events{/privacy}","received_events_url":"https://api.github.com/users/gareth/received_events","type":"User","site_admin":false},"repo":{"id":39629801,"name":"ruby_hid_api","full_name":"gareth/ruby_hid_api","owner":{"login":"gareth","id":4975,"avatar_url":"https://avatars.githubusercontent.com/u/4975?v=3","gravatar_id":"","url":"https://api.github.com/users/gareth","html_url":"https://github.com/gareth","followers_url":"https://api.github.com/users/gareth/followers","following_url":"https://api.github.com/users/gareth/following{/other_user}","gists_url":"https://api.github.com/users/gareth/gists{/gist_id}","starred_url":"https://api.github.com/users/gareth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gareth/subscriptions","organizations_url":"https://api.github.com/users/gareth/orgs","repos_url":"https://api.github.com/users/gareth/repos","events_url":"https://api.github.com/users/gareth/events{/privacy}","received_events_url":"https://api.github.com/users/gareth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gareth/ruby_hid_api","description":"An FFI wrapper around the C 'hidapi' library","fork":false,"url":"https://api.github.com/repos/gareth/ruby_hid_api","forks_url":"https://api.github.com/repos/gareth/ruby_hid_api/forks","keys_url":"https://api.github.com/repos/gareth/ruby_hid_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gareth/ruby_hid_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gareth/ruby_hid_api/teams","hooks_url":"https://api.github.com/repos/gareth/ruby_hid_api/hooks","issue_events_url":"https://api.github.com/repos/gareth/ruby_hid_api/issues/events{/number}","events_url":"https://api.github.com/repos/gareth/ruby_hid_api/events","assignees_url":"https://api.github.com/repos/gareth/ruby_hid_api/assignees{/user}","branches_url":"https://api.github.com/repos/gareth/ruby_hid_api/branches{/branch}","tags_url":"https://api.github.com/repos/gareth/ruby_hid_api/tags","blobs_url":"https://api.github.com/repos/gareth/ruby_hid_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gareth/ruby_hid_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gareth/ruby_hid_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/gareth/ruby_hid_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gareth/ruby_hid_api/statuses/{sha}","languages_url":"https://api.github.com/repos/gareth/ruby_hid_api/languages","stargazers_url":"https://api.github.com/repos/gareth/ruby_hid_api/stargazers","contributors_url":"https://api.github.com/repos/gareth/ruby_hid_api/contributors","subscribers_url":"https://api.github.com/repos/gareth/ruby_hid_api/subscribers","subscription_url":"https://api.github.com/repos/gareth/ruby_hid_api/subscription","commits_url":"https://api.github.com/repos/gareth/ruby_hid_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/gareth/ruby_hid_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/gareth/ruby_hid_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/gareth/ruby_hid_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/gareth/ruby_hid_api/contents/{+path}","compare_url":"https://api.github.com/repos/gareth/ruby_hid_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gareth/ruby_hid_api/merges","archive_url":"https://api.github.com/repos/gareth/ruby_hid_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gareth/ruby_hid_api/downloads","issues_url":"https://api.github.com/repos/gareth/ruby_hid_api/issues{/number}","pulls_url":"https://api.github.com/repos/gareth/ruby_hid_api/pulls{/number}","milestones_url":"https://api.github.com/repos/gareth/ruby_hid_api/milestones{/number}","notifications_url":"https://api.github.com/repos/gareth/ruby_hid_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gareth/ruby_hid_api/labels{/name}","releases_url":"https://api.github.com/repos/gareth/ruby_hid_api/releases{/id}","created_at":"2015-07-24T11:41:35Z","updated_at":"2015-07-24T11:42:21Z","pushed_at":"2015-07-31T16:32:31Z","git_url":"git://github.com/gareth/ruby_hid_api.git","ssh_url":"git@github.com:gareth/ruby_hid_api.git","clone_url":"https://github.com/gareth/ruby_hid_api.git","svn_url":"https://github.com/gareth/ruby_hid_api","homepage":null,"size":132,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/1"},"html":{"href":"https://github.com/gareth/ruby_hid_api/pull/1"},"issue":{"href":"https://api.github.com/repos/gareth/ruby_hid_api/issues/1"},"comments":{"href":"https://api.github.com/repos/gareth/ruby_hid_api/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gareth/ruby_hid_api/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gareth/ruby_hid_api/statuses/8f9dda24b17cd3bae1984fa23de1e1f0d03cccc5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":3,"changed_files":1}}