Ryujinx-git/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy
Ac_K 313f8d2eb6
am/lbl/hid/pctl: Enabled VR Rendering (#1688)
* am/lbl/hid/pctl: Enabled VR Rendering

This PR enable VR rendering on games which support it through the Toy-Con VR Goggles.

Please remember Ryujinx currently don't support console SixAxis sensor and for now, in some games, the view can't be moved.

Everything is implemented accordingly to RE:
- am: ICommonStateGetter: SetVrModeEnabled, BeginVrModeEx, EndVrModeEx.
- lbl: ILblController: SetBrightnessReflectionDelayLevel, GetBrightnessReflectionDelayLevel, SetCurrentAmbientLightSensorMapping, GetCurrentAmbientLightSensorMapping, SetCurrentBrightnessSettingForVrMode, GetCurrentBrightnessSettingForVrMode, EnableVrMode, DisableVrMode, IsVrModeEnabled.
- pctl: IParentalControlService: ConfirmStereoVisionPermission, ConfirmStereoVisionRestrictionConfigurable, GetStereoVisionRestriction, SetStereoVisionRestriction, ResetConfirmedStereoVisionPermission, IsStereoVisionPermitted.
- hid: IHidServer: ResetSevenSixAxisSensorTimestamp is stubbed because we don't support console SixAxisSensor for now.

Maybe we could add a setting later to enable or disable VR. But I think it's fine to keep this always available since you have to enable it in games.

* Fix permission flag check

* Address gdkchan feedback
2020-11-15 22:30:20 +01:00
..
Types Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IApplicationCreator.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAudioController.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
ICommonStateGetter.cs am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
IDebugFunctions.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IDisplayController.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IGlobalStateController.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IHomeMenuFunctions.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
ILibraryAppletCreator.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
ISelfController.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
IWindowController.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00