GreemDev-Ryujinx/Ryujinx.HLE/HOS/Services
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
..
Account hle/ui: Basic multi programs support (#1560) 2020-09-21 13:45:30 +10:00
Am am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Apm apm/am: Refactoring/Unstub services (#1662) 2020-11-08 17:00:54 -03:00
Arp
Audio Run audren in a separate thread (#1572) 2020-09-23 23:21:43 +02:00
Bcat Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Bgtc
Bluetooth bluetooth: Fix event handle in IBluetoothDriver (#1464) 2020-08-13 01:04:59 +02:00
BluetoothManager Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Caps caps: Stub SetShimLibraryVersion (#1552) 2020-09-20 13:32:48 +10:00
Cec
Erpt
Es
Eupld
Fatal
Friend friend: Implement GetCompletionEvent and AddPlayHistory (#1554) 2020-09-20 13:45:46 +10:00
Fs Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
Grc
Hid am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Ins
Lbl am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Ldn Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Lm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Loader
Mig
Mii Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
Mm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Ncm
News
Nfc
Ngct
Nifm account: Implement IManagerForApplication calls and IAsyncContext (#1466) 2020-08-18 21:24:54 +02:00
Nim Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Notification
Npns
Ns Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Nv IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
Olsc
Ovln
Pcie
Pctl am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Pcv
Pm
Prepo Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Psc
Ptm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Ro
Sdb
Settings Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
Sm IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
Sockets IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
Spl
Srepo
Ssl Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
SurfaceFlinger surfaceflinger: Disable async buffer (#1603) 2020-10-10 21:45:49 +11:00
Time Isolate more services to separate threads (#1573) 2020-09-25 20:18:28 +10:00
Usb
Vi Isolate more services to separate threads (#1573) 2020-09-25 20:18:28 +10:00
Wlan
CommandAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
DummyService.cs
IIpcService.cs
IpcService.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
ServerBase.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
ServiceAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
ServiceConfiguration.cs