gusmanb / PSVRFramework

GNU Affero General Public License v3.0
195 stars 37 forks source link

Cinemode with GamePad Icon #33

Open mungewell opened 7 years ago

mungewell commented 7 years ago

Messing around with Cmd 0x11, and the following causes a switch into VR mode and then to Cinemod - but without the circles logo. And then, when you look away from virtual screen it renders a game pad icon with an arrow implying you should push the options button... wtf?

            ep.write('\x11\x00\xaa\x08\x00\x11\x03\x11\xff\xff\xff\xff')
            time.sleep(5)
            ep.write('\x11\x00\xaa\x08\x02\x00\x03\x11\xff\xff\xff\xff')
gusmanb commented 7 years ago

Hey, that's really a very important finding, I mean, I never got the pad icon on my unit when using it from PC and that is a thing that happens always when it's connected to the PS4 in cinematic mode, whenever you look far away from the virtual screen the pad icon appears to signal the user he can recenter the view with the options button. This can be the bit of info we were missing to find the recentering and locking behavior, I will try to replicate this to get the pad icon on my device and recheck again all the other reports, nearly for sure the behavior of the device will change when it's on this mode.

Also, this gives a bit of meaning to my findings on this report, there is a combination of settings which puts the device on the "loading" state until you switch modes, so that can be meant for an initialization sequence: power on headset, put device in loading mode, send the reports you posted to let the device calibrate the sensors and finally release it to cinematic mode.

More work for this weekend! (but fun work XD)

mungewell commented 7 years ago

and another 'interesting' thing is that after we get the gamepad icon working, command 0x1b doesn't report it's error. It just seems to recenter the screen regardless of what value is written.

ep.write('\x1b\x00\xaa\x04\xff\xff\xff\xff')