OpenXR - Camera adjustment using PSP keys

This commit is contained in:
Lubos committed 2022-11-07 17:13:08 +01:00
1 parent 90d117ce71
commit cd49dc6627
5 files changed
+30 -47

No files matched your search

+2 -2
View File
@@ -1297,8 +1297,8 @@ bool NativeTouch(const TouchInput &touch) {
bool NativeKey(const KeyInput &key) {
// Special key VR actions
if (IsVREnabled()) {
UpdateVRSpecialKeys(key);
if (IsVREnabled() && !UpdateVRSpecialKeys(key)) {
return false;
}
// INFO_LOG(SYSTEM, "Key code: %i flags: %i", key.keyCode, key.flags);