1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-11 22:22:01 +00:00
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 Refactor out Application details from Horizon (#1236) 2020-05-15 03:16:46 -03:00
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 Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
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 Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Erpt Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Es Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Eupld Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Fatal Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
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 Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Hid am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Ins Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
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 Add various error codes to Loader (#1208) 2020-05-04 13:22:28 +02:00
Mig Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
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 Add various error codes to NCM LR (#1225) 2020-05-08 16:06:32 +02:00
News Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nfc Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
Ngct Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
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 Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Npns Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
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 Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ovln Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pcie Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pctl am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Pcv Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pm Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Prepo Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Psc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ptm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Ro Implement modding support (#1249) 2020-07-09 14:31:15 +10:00
Sdb Refactor out Application details from Horizon (#1236) 2020-05-15 03:16:46 -03:00
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 Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Srepo Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
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 Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Vi Isolate more services to separate threads (#1573) 2020-09-25 20:18:28 +10:00
Wlan Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
CommandAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
DummyService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IIpcService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
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 IPC services refactoring (#726) 2019-07-10 12:59:54 -03:00