mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
OpenXR - Support camera adjust using joystick
This commit is contained in:
1 parent
3e481634ac
commit
0ae1d75daf
3 files changed
+24
-12
No files matched your search
+7
-2
@@ -1306,8 +1306,8 @@ bool NativeTouch(const TouchInput &touch) {
|
||||
}
|
||||
|
||||
bool NativeKey(const KeyInput &key) {
|
||||
// Special key VR actions
|
||||
if (IsVREnabled() && !UpdateVRSpecialKeys(key)) {
|
||||
// VR actions
|
||||
if (IsVREnabled() && !UpdateVRKeys(key)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1331,6 +1331,11 @@ bool NativeKey(const KeyInput &key) {
|
||||
}
|
||||
|
||||
bool NativeAxis(const AxisInput &axis) {
|
||||
// VR actions
|
||||
if (IsVREnabled() && !UpdateVRAxis(axis)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!screenManager) {
|
||||
// Too early.
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user