{"action":"created","comment":{"url":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/comments/43590168","id":43590168,"diff_hunk":"@@ -14,7 +14,7 @@\n  */\n var Util = window.Util || {};\n \n-Util.MIN_TIMESTEP = 0.001;\n+Util.MIN_TIMESTEP = 0.0001;","path":"src/util.js","position":5,"original_position":5,"commit_id":"b7ae17bc3919b97c876edf04948521d097e319d7","original_commit_id":"fb04225c35db033c74ca64d6e377f01313d20e1b","user":{"login":"caseyyee","id":1560884,"avatar_url":"https://avatars.githubusercontent.com/u/1560884?v=3","gravatar_id":"","url":"https://api.github.com/users/caseyyee","html_url":"https://github.com/caseyyee","followers_url":"https://api.github.com/users/caseyyee/followers","following_url":"https://api.github.com/users/caseyyee/following{/other_user}","gists_url":"https://api.github.com/users/caseyyee/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyyee/subscriptions","organizations_url":"https://api.github.com/users/caseyyee/orgs","repos_url":"https://api.github.com/users/caseyyee/repos","events_url":"https://api.github.com/users/caseyyee/events{/privacy}","received_events_url":"https://api.github.com/users/caseyyee/received_events","type":"User","site_admin":false},"body":"It looks like there are different rates that can be set for reading out Android sensor data at: NORMAL, UI, GAME or FASTEST.   Firefox devicemotion events are set to use _Fastest_.\r\n\r\nFor my device, the _Fastest_ rate is about 120hz, which equals to 9ms.   So what I am getting back seems about right for Firefox.  \r\n\r\nMaybe Chrome uses _Game_ rate?   Which on my device is ~50hz, which is 20ms.   Seems a bit off to me, but maybe still within the range?","created_at":"2015-11-01T23:44:57Z","updated_at":"2015-11-01T23:44:57Z","html_url":"https://github.com/borismus/webvr-polyfill/pull/14#discussion_r43590168","pull_request_url":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/comments/43590168"},"html":{"href":"https://github.com/borismus/webvr-polyfill/pull/14#discussion_r43590168"},"pull_request":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14","id":49217334,"html_url":"https://github.com/borismus/webvr-polyfill/pull/14","diff_url":"https://github.com/borismus/webvr-polyfill/pull/14.diff","patch_url":"https://github.com/borismus/webvr-polyfill/pull/14.patch","issue_url":"https://api.github.com/repos/borismus/webvr-polyfill/issues/14","number":14,"state":"open","locked":false,"title":"Fusion sensor device compatibility with Firefox Android.","user":{"login":"caseyyee","id":1560884,"avatar_url":"https://avatars.githubusercontent.com/u/1560884?v=3","gravatar_id":"","url":"https://api.github.com/users/caseyyee","html_url":"https://github.com/caseyyee","followers_url":"https://api.github.com/users/caseyyee/followers","following_url":"https://api.github.com/users/caseyyee/following{/other_user}","gists_url":"https://api.github.com/users/caseyyee/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyyee/subscriptions","organizations_url":"https://api.github.com/users/caseyyee/orgs","repos_url":"https://api.github.com/users/caseyyee/repos","events_url":"https://api.github.com/users/caseyyee/events{/privacy}","received_events_url":"https://api.github.com/users/caseyyee/received_events","type":"User","site_admin":false},"body":"Firefox Android Nightly edition has now landed faster devicemotion event updates,  windoworientationchange events and window.orientation property, which means that we can take advantage of the fusion position sensor device.\r\n\r\nThis changes in this PR account for the remaining differences in how Firefox returns devicemotion event timestamp.","created_at":"2015-10-30T00:11:00Z","updated_at":"2015-11-01T23:44:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00924224f929de44e24d0499b15260fc14961a4b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14/commits","review_comments_url":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14/comments","review_comment_url":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/borismus/webvr-polyfill/issues/14/comments","statuses_url":"https://api.github.com/repos/borismus/webvr-polyfill/statuses/b7ae17bc3919b97c876edf04948521d097e319d7","head":{"label":"caseyyee:ffdevicemotion","ref":"ffdevicemotion","sha":"b7ae17bc3919b97c876edf04948521d097e319d7","user":{"login":"caseyyee","id":1560884,"avatar_url":"https://avatars.githubusercontent.com/u/1560884?v=3","gravatar_id":"","url":"https://api.github.com/users/caseyyee","html_url":"https://github.com/caseyyee","followers_url":"https://api.github.com/users/caseyyee/followers","following_url":"https://api.github.com/users/caseyyee/following{/other_user}","gists_url":"https://api.github.com/users/caseyyee/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyyee/subscriptions","organizations_url":"https://api.github.com/users/caseyyee/orgs","repos_url":"https://api.github.com/users/caseyyee/repos","events_url":"https://api.github.com/users/caseyyee/events{/privacy}","received_events_url":"https://api.github.com/users/caseyyee/received_events","type":"User","site_admin":false},"repo":{"id":44772056,"name":"webvr-polyfill","full_name":"caseyyee/webvr-polyfill","owner":{"login":"caseyyee","id":1560884,"avatar_url":"https://avatars.githubusercontent.com/u/1560884?v=3","gravatar_id":"","url":"https://api.github.com/users/caseyyee","html_url":"https://github.com/caseyyee","followers_url":"https://api.github.com/users/caseyyee/followers","following_url":"https://api.github.com/users/caseyyee/following{/other_user}","gists_url":"https://api.github.com/users/caseyyee/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyyee/subscriptions","organizations_url":"https://api.github.com/users/caseyyee/orgs","repos_url":"https://api.github.com/users/caseyyee/repos","events_url":"https://api.github.com/users/caseyyee/events{/privacy}","received_events_url":"https://api.github.com/users/caseyyee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caseyyee/webvr-polyfill","description":"Use WebVR today, without requiring a special browser build.","fork":true,"url":"https://api.github.com/repos/caseyyee/webvr-polyfill","forks_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/forks","keys_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/teams","hooks_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/hooks","issue_events_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/issues/events{/number}","events_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/events","assignees_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/assignees{/user}","branches_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/branches{/branch}","tags_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/tags","blobs_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/git/refs{/sha}","trees_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/statuses/{sha}","languages_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/languages","stargazers_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/stargazers","contributors_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/contributors","subscribers_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/subscribers","subscription_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/subscription","commits_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/commits{/sha}","git_commits_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/git/commits{/sha}","comments_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/comments{/number}","issue_comment_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/issues/comments{/number}","contents_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/contents/{+path}","compare_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/merges","archive_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/downloads","issues_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/issues{/number}","pulls_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/pulls{/number}","milestones_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/milestones{/number}","notifications_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/labels{/name}","releases_url":"https://api.github.com/repos/caseyyee/webvr-polyfill/releases{/id}","created_at":"2015-10-22T20:41:09Z","updated_at":"2015-10-22T20:41:10Z","pushed_at":"2015-10-31T19:21:08Z","git_url":"git://github.com/caseyyee/webvr-polyfill.git","ssh_url":"git@github.com:caseyyee/webvr-polyfill.git","clone_url":"https://github.com/caseyyee/webvr-polyfill.git","svn_url":"https://github.com/caseyyee/webvr-polyfill","homepage":"http://smus.com/responsive-vr/","size":3590,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"borismus:master","ref":"master","sha":"78e8973159be842cb2f29fa95150b30ddbe4a4b4","user":{"login":"borismus","id":277632,"avatar_url":"https://avatars.githubusercontent.com/u/277632?v=3","gravatar_id":"","url":"https://api.github.com/users/borismus","html_url":"https://github.com/borismus","followers_url":"https://api.github.com/users/borismus/followers","following_url":"https://api.github.com/users/borismus/following{/other_user}","gists_url":"https://api.github.com/users/borismus/gists{/gist_id}","starred_url":"https://api.github.com/users/borismus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borismus/subscriptions","organizations_url":"https://api.github.com/users/borismus/orgs","repos_url":"https://api.github.com/users/borismus/repos","events_url":"https://api.github.com/users/borismus/events{/privacy}","received_events_url":"https://api.github.com/users/borismus/received_events","type":"User","site_admin":false},"repo":{"id":30087179,"name":"webvr-polyfill","full_name":"borismus/webvr-polyfill","owner":{"login":"borismus","id":277632,"avatar_url":"https://avatars.githubusercontent.com/u/277632?v=3","gravatar_id":"","url":"https://api.github.com/users/borismus","html_url":"https://github.com/borismus","followers_url":"https://api.github.com/users/borismus/followers","following_url":"https://api.github.com/users/borismus/following{/other_user}","gists_url":"https://api.github.com/users/borismus/gists{/gist_id}","starred_url":"https://api.github.com/users/borismus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borismus/subscriptions","organizations_url":"https://api.github.com/users/borismus/orgs","repos_url":"https://api.github.com/users/borismus/repos","events_url":"https://api.github.com/users/borismus/events{/privacy}","received_events_url":"https://api.github.com/users/borismus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borismus/webvr-polyfill","description":"Use WebVR today, without requiring a special browser build.","fork":false,"url":"https://api.github.com/repos/borismus/webvr-polyfill","forks_url":"https://api.github.com/repos/borismus/webvr-polyfill/forks","keys_url":"https://api.github.com/repos/borismus/webvr-polyfill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borismus/webvr-polyfill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borismus/webvr-polyfill/teams","hooks_url":"https://api.github.com/repos/borismus/webvr-polyfill/hooks","issue_events_url":"https://api.github.com/repos/borismus/webvr-polyfill/issues/events{/number}","events_url":"https://api.github.com/repos/borismus/webvr-polyfill/events","assignees_url":"https://api.github.com/repos/borismus/webvr-polyfill/assignees{/user}","branches_url":"https://api.github.com/repos/borismus/webvr-polyfill/branches{/branch}","tags_url":"https://api.github.com/repos/borismus/webvr-polyfill/tags","blobs_url":"https://api.github.com/repos/borismus/webvr-polyfill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borismus/webvr-polyfill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borismus/webvr-polyfill/git/refs{/sha}","trees_url":"https://api.github.com/repos/borismus/webvr-polyfill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borismus/webvr-polyfill/statuses/{sha}","languages_url":"https://api.github.com/repos/borismus/webvr-polyfill/languages","stargazers_url":"https://api.github.com/repos/borismus/webvr-polyfill/stargazers","contributors_url":"https://api.github.com/repos/borismus/webvr-polyfill/contributors","subscribers_url":"https://api.github.com/repos/borismus/webvr-polyfill/subscribers","subscription_url":"https://api.github.com/repos/borismus/webvr-polyfill/subscription","commits_url":"https://api.github.com/repos/borismus/webvr-polyfill/commits{/sha}","git_commits_url":"https://api.github.com/repos/borismus/webvr-polyfill/git/commits{/sha}","comments_url":"https://api.github.com/repos/borismus/webvr-polyfill/comments{/number}","issue_comment_url":"https://api.github.com/repos/borismus/webvr-polyfill/issues/comments{/number}","contents_url":"https://api.github.com/repos/borismus/webvr-polyfill/contents/{+path}","compare_url":"https://api.github.com/repos/borismus/webvr-polyfill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borismus/webvr-polyfill/merges","archive_url":"https://api.github.com/repos/borismus/webvr-polyfill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borismus/webvr-polyfill/downloads","issues_url":"https://api.github.com/repos/borismus/webvr-polyfill/issues{/number}","pulls_url":"https://api.github.com/repos/borismus/webvr-polyfill/pulls{/number}","milestones_url":"https://api.github.com/repos/borismus/webvr-polyfill/milestones{/number}","notifications_url":"https://api.github.com/repos/borismus/webvr-polyfill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borismus/webvr-polyfill/labels{/name}","releases_url":"https://api.github.com/repos/borismus/webvr-polyfill/releases{/id}","created_at":"2015-01-30T19:23:46Z","updated_at":"2015-10-26T08:04:26Z","pushed_at":"2015-10-31T19:21:10Z","git_url":"git://github.com/borismus/webvr-polyfill.git","ssh_url":"git@github.com:borismus/webvr-polyfill.git","clone_url":"https://github.com/borismus/webvr-polyfill.git","svn_url":"https://github.com/borismus/webvr-polyfill","homepage":"http://smus.com/responsive-vr/","size":3748,"stargazers_count":53,"watchers_count":53,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":7,"forks":14,"open_issues":7,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14"},"html":{"href":"https://github.com/borismus/webvr-polyfill/pull/14"},"issue":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/issues/14"},"comments":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/borismus/webvr-polyfill/statuses/b7ae17bc3919b97c876edf04948521d097e319d7"}}}}