0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-23 16:15:47 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Hid
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
..
HidDevices Motion Fixes (#1589) 2020-10-28 20:52:07 +01:00
HidServer Improve multi-controller support in HID and Controller Applet (#1453) 2020-08-23 22:54:11 +02:00
Irs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Types Add Motion controls (#1363) 2020-09-29 23:32:42 +02:00
Hid.cs Correct the threshold for control stick buttons (#1483) 2020-09-19 17:10:53 +02:00
IHidbusServer.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IHidDebugServer.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IHidServer.cs am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
IHidSystemServer.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
ISystemServer.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00