mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
OpenXR - VR camera features on any platform
This commit is contained in:
1 parent
c4076e359d
commit
3154a5fac1
8 files changed
+59
-34
No files matched your search
+2
-2
@@ -1322,7 +1322,7 @@ bool NativeKey(const KeyInput &key) {
|
||||
double now = time_now_d();
|
||||
|
||||
// VR actions
|
||||
if (IsVREnabled() && !UpdateVRKeys(key)) {
|
||||
if ((IsVREnabled() || g_Config.bForceVR) && !UpdateVRKeys(key)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1372,7 +1372,7 @@ bool NativeKey(const KeyInput &key) {
|
||||
|
||||
void NativeAxis(const AxisInput *axes, size_t count) {
|
||||
// VR actions
|
||||
if (IsVREnabled() && !UpdateVRAxis(axes, count)) {
|
||||
if ((IsVREnabled() || g_Config.bForceVR) && !UpdateVRAxis(axes, count)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user