ryujinx/Ryujinx.HLE
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
..
Exceptions HID SharedMem Rework (#1003) 2020-04-03 11:10:02 +11:00
FileSystem Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
HOS am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Loaders IPSwitch: Quick fix to patch sets toggling (#1668) 2020-11-13 02:35:49 +01:00
Utilities Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Homebrew.npdm Better process implementation (#491) 2018-11-28 20:18:09 -02:00
IHostUiHandler.cs Basic impl of Error Applet (#1551) 2020-09-28 00:00:38 +02:00
PerformanceStatistics.cs Replace Host FPS with GPU command queue load ("Fifo %") (#1585) 2020-10-14 07:54:42 +11:00
Ryujinx.HLE.csproj infra: Migrate to .NET 5 (#1694) 2020-11-15 19:27:15 +01:00
RyujinxProfileImage.jpg Implement friend:a IFriendService: 10101 (#429) 2018-09-25 19:59:29 -03:00
Switch.cs Update performance mode when docked mode changes. (#1696) 2020-11-12 16:59:18 +11:00