{"action":"created","issue":{"url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3291","repository_url":"https://api.github.com/repos/RPCS3/rpcs3","labels_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3291/labels{/name}","comments_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3291/comments","events_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3291/events","html_url":"https://github.com/RPCS3/rpcs3/pull/3291","id":251691135,"number":3291,"title":"Respect the controller setting when returning data from cellPadGetData.","user":{"login":"jjsat","id":1445782,"avatar_url":"https://avatars2.githubusercontent.com/u/1445782?v=4","gravatar_id":"","url":"https://api.github.com/users/jjsat","html_url":"https://github.com/jjsat","followers_url":"https://api.github.com/users/jjsat/followers","following_url":"https://api.github.com/users/jjsat/following{/other_user}","gists_url":"https://api.github.com/users/jjsat/gists{/gist_id}","starred_url":"https://api.github.com/users/jjsat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjsat/subscriptions","organizations_url":"https://api.github.com/users/jjsat/orgs","repos_url":"https://api.github.com/users/jjsat/repos","events_url":"https://api.github.com/users/jjsat/events{/privacy}","received_events_url":"https://api.github.com/users/jjsat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-21T15:19:35Z","updated_at":"2017-08-22T06:30:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RPCS3/rpcs3/pulls/3291","html_url":"https://github.com/RPCS3/rpcs3/pull/3291","diff_url":"https://github.com/RPCS3/rpcs3/pull/3291.diff","patch_url":"https://github.com/RPCS3/rpcs3/pull/3291.patch"},"body":"I did some tests on a PS3 regarding the behaviour of cellPadGetData. Depending on the setting, more or less data is returned as indicated in the \"length\" field. If there is no change, 0 is returned as length. Enabling the motion control seems to disable this mechanism and always returns the whole buffer. I don't know if this is because the motion input alway jitters in the LSB (and therefore always changes) or if this is by design. I guess the latter because the analog inputs also jitter but have a deadzone and don't trigger a continous update.\r\n\r\nThis fixes issue #1280 (input problem in the Silent Hill HD collection)."},"comment":{"url":"https://api.github.com/repos/RPCS3/rpcs3/issues/comments/323932146","html_url":"https://github.com/RPCS3/rpcs3/pull/3291#issuecomment-323932146","issue_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3291","id":323932146,"user":{"login":"jjsat","id":1445782,"avatar_url":"https://avatars2.githubusercontent.com/u/1445782?v=4","gravatar_id":"","url":"https://api.github.com/users/jjsat","html_url":"https://github.com/jjsat","followers_url":"https://api.github.com/users/jjsat/followers","following_url":"https://api.github.com/users/jjsat/following{/other_user}","gists_url":"https://api.github.com/users/jjsat/gists{/gist_id}","starred_url":"https://api.github.com/users/jjsat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjsat/subscriptions","organizations_url":"https://api.github.com/users/jjsat/orgs","repos_url":"https://api.github.com/users/jjsat/repos","events_url":"https://api.github.com/users/jjsat/events{/privacy}","received_events_url":"https://api.github.com/users/jjsat/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T06:30:46Z","updated_at":"2017-08-22T06:30:46Z","body":"I can only say that my tests show that there is always \"length = 24\" data in the buffer even if nothing changes (including gyro data) if the gyro is enabled. Turns out my second controller has a much lower jitter and can actually produce the same values for both analog sticks and the gyro indefinitetly. Still I never get a \"length = 0\" reply.\r\n\r\nEnabling the gyro and then waiting for a 0 packet seems like a game bug to me and should definitely not work at all from what I can see. Maybe some other function that the game calls actually resets the controller input and that is not correctly emulated?"}}
{"actor":{"display_login":"jjsat"}}