Ryujinx/Ryujinx.HLE/HOS/Services/Am/AppletAE
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
..
AllSystemAppletProxiesService am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Storage Fix inconsistencies with UserId (#906) 2020-02-02 14:24:17 +11:00
Types Implement a rudimentary applets system (#804) 2019-11-14 06:18:44 +01:00
AppletFifo.cs Initial swkbd implementation (#826) 2019-11-18 12:16:26 +01:00
AppletSession.cs Initial swkbd implementation (#826) 2019-11-18 12:16:26 +01:00
IAllSystemAppletProxiesService.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IAppletFifo.cs Initial swkbd implementation (#826) 2019-11-18 12:16:26 +01:00
IStorage.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IStorageAccessor.cs Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00