diff --git a/src/android/app/src/main/jni/vr/vr_main.cpp b/src/android/app/src/main/jni/vr/vr_main.cpp index 3fdea2892..4cad316e0 100644 --- a/src/android/app/src/main/jni/vr/vr_main.cpp +++ b/src/android/app/src/main/jni/vr/vr_main.cpp @@ -159,6 +159,7 @@ uint32_t GetDefaultGameResolutionFactorForHmd(const VRSettings::HMDType& hmdType kDefaultResolutionFactor); case VRSettings::HMDType::QUEST2: case VRSettings::HMDType::QUESTPRO: + case VRSettings::HMDType::QUEST3S: return kDefaultResolutionFactor; } } diff --git a/src/android/app/src/main/jni/vr/vr_settings.cpp b/src/android/app/src/main/jni/vr/vr_settings.cpp index 6388ca79d..8bd76c109 100644 --- a/src/android/app/src/main/jni/vr/vr_settings.cpp +++ b/src/android/app/src/main/jni/vr/vr_settings.cpp @@ -28,6 +28,8 @@ HMDType HmdTypeFromStr(const std::string& hmdType) { return HMDType::QUEST3; } else if (hmdType == "Quest Pro") { return HMDType::QUESTPRO; + } else if (hmdType == "Quest 3S" || hmdType == "Quest 3s" || hmdType == "Panther") { + return HMDType::QUEST3S; } return HMDType::UNKNOWN; } diff --git a/src/android/app/src/main/jni/vr/vr_settings.h b/src/android/app/src/main/jni/vr/vr_settings.h index bda311666..989c79080 100644 --- a/src/android/app/src/main/jni/vr/vr_settings.h +++ b/src/android/app/src/main/jni/vr/vr_settings.h @@ -25,7 +25,7 @@ License : Licensed under GPLv3 or any later version. namespace VRSettings { // NOTE: keep this in-sync with HMDType in sync with VRUtils.java -enum class HMDType { UNKNOWN = 0, QUEST1, QUEST2, QUEST3, QUESTPRO }; +enum class HMDType { UNKNOWN = 0, QUEST1, QUEST2, QUEST3, QUESTPRO, QUEST3S }; enum class VREnvironmentType { PASSTHROUGH = 1, VOID = 2 };