{"action":"created","comment":{"url":"https://api.github.com/repos/thp/psmoveapi/pulls/comments/26445929","id":26445929,"diff_hunk":"@@ -994,8 +1024,13 @@ psmove_set_btaddr(PSMove *move, PSMove_Data_BTAddr *addr)\n     for (i=0; i<6; i++) {\n         bts[1+i] = (*addr)[i];\n     }\n-\n-    res = hid_send_feature_report(move->handle, bts, sizeof(bts));\n+    /* _WIN32 only has move->handle_addr for getting bluetooth address. */\n+    if (move->handle_addr){","path":"src/psmove.c","position":139,"original_position":139,"commit_id":"cfb7cc096eb760e25cc86c7585462908e30afb8a","original_commit_id":"cfb7cc096eb760e25cc86c7585462908e30afb8a","user":{"login":"thp","id":135241,"avatar_url":"https://avatars.githubusercontent.com/u/135241?v=3","gravatar_id":"","url":"https://api.github.com/users/thp","html_url":"https://github.com/thp","followers_url":"https://api.github.com/users/thp/followers","following_url":"https://api.github.com/users/thp/following{/other_user}","gists_url":"https://api.github.com/users/thp/gists{/gist_id}","starred_url":"https://api.github.com/users/thp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thp/subscriptions","organizations_url":"https://api.github.com/users/thp/orgs","repos_url":"https://api.github.com/users/thp/repos","events_url":"https://api.github.com/users/thp/events{/privacy}","received_events_url":"https://api.github.com/users/thp/received_events","type":"User","site_admin":false},"body":"Space before opening brace:\r\n```\r\nif (move->handle_addr) {\r\n```","created_at":"2015-03-15T09:19:29Z","updated_at":"2015-03-15T09:19:29Z","html_url":"https://github.com/thp/psmoveapi/pull/149#discussion_r26445929","pull_request_url":"https://api.github.com/repos/thp/psmoveapi/pulls/149","_links":{"self":{"href":"https://api.github.com/repos/thp/psmoveapi/pulls/comments/26445929"},"html":{"href":"https://github.com/thp/psmoveapi/pull/149#discussion_r26445929"},"pull_request":{"href":"https://api.github.com/repos/thp/psmoveapi/pulls/149"}}},"pull_request":{"url":"https://api.github.com/repos/thp/psmoveapi/pulls/149","id":29069673,"html_url":"https://github.com/thp/psmoveapi/pull/149","diff_url":"https://github.com/thp/psmoveapi/pull/149.diff","patch_url":"https://github.com/thp/psmoveapi/pull/149.patch","issue_url":"https://api.github.com/repos/thp/psmoveapi/issues/149","number":149,"state":"open","locked":false,"title":"Separation of feature reports across 3 devices in Win 8.1","user":{"login":"cboulay","id":303797,"avatar_url":"https://avatars.githubusercontent.com/u/303797?v=3","gravatar_id":"","url":"https://api.github.com/users/cboulay","html_url":"https://github.com/cboulay","followers_url":"https://api.github.com/users/cboulay/followers","following_url":"https://api.github.com/users/cboulay/following{/other_user}","gists_url":"https://api.github.com/users/cboulay/gists{/gist_id}","starred_url":"https://api.github.com/users/cboulay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboulay/subscriptions","organizations_url":"https://api.github.com/users/cboulay/orgs","repos_url":"https://api.github.com/users/cboulay/repos","events_url":"https://api.github.com/users/cboulay/events{/privacy}","received_events_url":"https://api.github.com/users/cboulay/received_events","type":"User","site_admin":false},"body":"Can someone (@nitsch) please test this in Windows 7? Or in other Windows 8 @betonme ?\r\nAll of the relevant changes are in ifdef tags so they should only affect Windows.\r\n\r\nWith these changes the controller works well for me in Windows 8.1. I can use the psmovepair utility, magnetometer_calibration, and test_calibration (USB connection required for the first time).","created_at":"2015-02-11T05:50:41Z","updated_at":"2015-03-15T09:19:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d53294fe349b87e4894913015e72dd94cd43202","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thp/psmoveapi/pulls/149/commits","review_comments_url":"https://api.github.com/repos/thp/psmoveapi/pulls/149/comments","review_comment_url":"https://api.github.com/repos/thp/psmoveapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thp/psmoveapi/issues/149/comments","statuses_url":"https://api.github.com/repos/thp/psmoveapi/statuses/cfb7cc096eb760e25cc86c7585462908e30afb8a","head":{"label":"cboulay:win8.1x64","ref":"win8.1x64","sha":"cfb7cc096eb760e25cc86c7585462908e30afb8a","user":{"login":"cboulay","id":303797,"avatar_url":"https://avatars.githubusercontent.com/u/303797?v=3","gravatar_id":"","url":"https://api.github.com/users/cboulay","html_url":"https://github.com/cboulay","followers_url":"https://api.github.com/users/cboulay/followers","following_url":"https://api.github.com/users/cboulay/following{/other_user}","gists_url":"https://api.github.com/users/cboulay/gists{/gist_id}","starred_url":"https://api.github.com/users/cboulay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboulay/subscriptions","organizations_url":"https://api.github.com/users/cboulay/orgs","repos_url":"https://api.github.com/users/cboulay/repos","events_url":"https://api.github.com/users/cboulay/events{/privacy}","received_events_url":"https://api.github.com/users/cboulay/received_events","type":"User","site_admin":false},"repo":{"id":30632400,"name":"psmoveapi","full_name":"cboulay/psmoveapi","owner":{"login":"cboulay","id":303797,"avatar_url":"https://avatars.githubusercontent.com/u/303797?v=3","gravatar_id":"","url":"https://api.github.com/users/cboulay","html_url":"https://github.com/cboulay","followers_url":"https://api.github.com/users/cboulay/followers","following_url":"https://api.github.com/users/cboulay/following{/other_user}","gists_url":"https://api.github.com/users/cboulay/gists{/gist_id}","starred_url":"https://api.github.com/users/cboulay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboulay/subscriptions","organizations_url":"https://api.github.com/users/cboulay/orgs","repos_url":"https://api.github.com/users/cboulay/repos","events_url":"https://api.github.com/users/cboulay/events{/privacy}","received_events_url":"https://api.github.com/users/cboulay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cboulay/psmoveapi","description":"PS Move Controller Low-Level API","fork":true,"url":"https://api.github.com/repos/cboulay/psmoveapi","forks_url":"https://api.github.com/repos/cboulay/psmoveapi/forks","keys_url":"https://api.github.com/repos/cboulay/psmoveapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cboulay/psmoveapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cboulay/psmoveapi/teams","hooks_url":"https://api.github.com/repos/cboulay/psmoveapi/hooks","issue_events_url":"https://api.github.com/repos/cboulay/psmoveapi/issues/events{/number}","events_url":"https://api.github.com/repos/cboulay/psmoveapi/events","assignees_url":"https://api.github.com/repos/cboulay/psmoveapi/assignees{/user}","branches_url":"https://api.github.com/repos/cboulay/psmoveapi/branches{/branch}","tags_url":"https://api.github.com/repos/cboulay/psmoveapi/tags","blobs_url":"https://api.github.com/repos/cboulay/psmoveapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cboulay/psmoveapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cboulay/psmoveapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/cboulay/psmoveapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cboulay/psmoveapi/statuses/{sha}","languages_url":"https://api.github.com/repos/cboulay/psmoveapi/languages","stargazers_url":"https://api.github.com/repos/cboulay/psmoveapi/stargazers","contributors_url":"https://api.github.com/repos/cboulay/psmoveapi/contributors","subscribers_url":"https://api.github.com/repos/cboulay/psmoveapi/subscribers","subscription_url":"https://api.github.com/repos/cboulay/psmoveapi/subscription","commits_url":"https://api.github.com/repos/cboulay/psmoveapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/cboulay/psmoveapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/cboulay/psmoveapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/cboulay/psmoveapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/cboulay/psmoveapi/contents/{+path}","compare_url":"https://api.github.com/repos/cboulay/psmoveapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cboulay/psmoveapi/merges","archive_url":"https://api.github.com/repos/cboulay/psmoveapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cboulay/psmoveapi/downloads","issues_url":"https://api.github.com/repos/cboulay/psmoveapi/issues{/number}","pulls_url":"https://api.github.com/repos/cboulay/psmoveapi/pulls{/number}","milestones_url":"https://api.github.com/repos/cboulay/psmoveapi/milestones{/number}","notifications_url":"https://api.github.com/repos/cboulay/psmoveapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cboulay/psmoveapi/labels{/name}","releases_url":"https://api.github.com/repos/cboulay/psmoveapi/releases{/id}","created_at":"2015-02-11T05:35:13Z","updated_at":"2015-02-27T22:18:43Z","pushed_at":"2015-03-15T00:26:03Z","git_url":"git://github.com/cboulay/psmoveapi.git","ssh_url":"git@github.com:cboulay/psmoveapi.git","clone_url":"https://github.com/cboulay/psmoveapi.git","svn_url":"https://github.com/cboulay/psmoveapi","homepage":"http://thp.io/2010/psmove/","size":6977,"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":"thp:master","ref":"master","sha":"197169b3eb0942aaf5b9fee960932cf55f24714b","user":{"login":"thp","id":135241,"avatar_url":"https://avatars.githubusercontent.com/u/135241?v=3","gravatar_id":"","url":"https://api.github.com/users/thp","html_url":"https://github.com/thp","followers_url":"https://api.github.com/users/thp/followers","following_url":"https://api.github.com/users/thp/following{/other_user}","gists_url":"https://api.github.com/users/thp/gists{/gist_id}","starred_url":"https://api.github.com/users/thp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thp/subscriptions","organizations_url":"https://api.github.com/users/thp/orgs","repos_url":"https://api.github.com/users/thp/repos","events_url":"https://api.github.com/users/thp/events{/privacy}","received_events_url":"https://api.github.com/users/thp/received_events","type":"User","site_admin":false},"repo":{"id":1472042,"name":"psmoveapi","full_name":"thp/psmoveapi","owner":{"login":"thp","id":135241,"avatar_url":"https://avatars.githubusercontent.com/u/135241?v=3","gravatar_id":"","url":"https://api.github.com/users/thp","html_url":"https://github.com/thp","followers_url":"https://api.github.com/users/thp/followers","following_url":"https://api.github.com/users/thp/following{/other_user}","gists_url":"https://api.github.com/users/thp/gists{/gist_id}","starred_url":"https://api.github.com/users/thp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thp/subscriptions","organizations_url":"https://api.github.com/users/thp/orgs","repos_url":"https://api.github.com/users/thp/repos","events_url":"https://api.github.com/users/thp/events{/privacy}","received_events_url":"https://api.github.com/users/thp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thp/psmoveapi","description":"PS Move Controller Low-Level API","fork":false,"url":"https://api.github.com/repos/thp/psmoveapi","forks_url":"https://api.github.com/repos/thp/psmoveapi/forks","keys_url":"https://api.github.com/repos/thp/psmoveapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thp/psmoveapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thp/psmoveapi/teams","hooks_url":"https://api.github.com/repos/thp/psmoveapi/hooks","issue_events_url":"https://api.github.com/repos/thp/psmoveapi/issues/events{/number}","events_url":"https://api.github.com/repos/thp/psmoveapi/events","assignees_url":"https://api.github.com/repos/thp/psmoveapi/assignees{/user}","branches_url":"https://api.github.com/repos/thp/psmoveapi/branches{/branch}","tags_url":"https://api.github.com/repos/thp/psmoveapi/tags","blobs_url":"https://api.github.com/repos/thp/psmoveapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thp/psmoveapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thp/psmoveapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/thp/psmoveapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thp/psmoveapi/statuses/{sha}","languages_url":"https://api.github.com/repos/thp/psmoveapi/languages","stargazers_url":"https://api.github.com/repos/thp/psmoveapi/stargazers","contributors_url":"https://api.github.com/repos/thp/psmoveapi/contributors","subscribers_url":"https://api.github.com/repos/thp/psmoveapi/subscribers","subscription_url":"https://api.github.com/repos/thp/psmoveapi/subscription","commits_url":"https://api.github.com/repos/thp/psmoveapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/thp/psmoveapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/thp/psmoveapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/thp/psmoveapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/thp/psmoveapi/contents/{+path}","compare_url":"https://api.github.com/repos/thp/psmoveapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thp/psmoveapi/merges","archive_url":"https://api.github.com/repos/thp/psmoveapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thp/psmoveapi/downloads","issues_url":"https://api.github.com/repos/thp/psmoveapi/issues{/number}","pulls_url":"https://api.github.com/repos/thp/psmoveapi/pulls{/number}","milestones_url":"https://api.github.com/repos/thp/psmoveapi/milestones{/number}","notifications_url":"https://api.github.com/repos/thp/psmoveapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thp/psmoveapi/labels{/name}","releases_url":"https://api.github.com/repos/thp/psmoveapi/releases{/id}","created_at":"2011-03-12T16:58:52Z","updated_at":"2015-03-03T17:56:37Z","pushed_at":"2015-03-01T19:16:48Z","git_url":"git://github.com/thp/psmoveapi.git","ssh_url":"git@github.com:thp/psmoveapi.git","clone_url":"https://github.com/thp/psmoveapi.git","svn_url":"https://github.com/thp/psmoveapi","homepage":"http://thp.io/2010/psmove/","size":5409,"stargazers_count":139,"watchers_count":139,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":35,"forks":51,"open_issues":35,"watchers":139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thp/psmoveapi/pulls/149"},"html":{"href":"https://github.com/thp/psmoveapi/pull/149"},"issue":{"href":"https://api.github.com/repos/thp/psmoveapi/issues/149"},"comments":{"href":"https://api.github.com/repos/thp/psmoveapi/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/thp/psmoveapi/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/thp/psmoveapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thp/psmoveapi/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/thp/psmoveapi/statuses/cfb7cc096eb760e25cc86c7585462908e30afb8a"}}}}