#ifndef EMULATOR_SRC_LIBS_HMD2_H_ #define EMULATOR_SRC_LIBS_HMD2_H_ #include #include namespace Libs::Hmd2 { inline constexpr uint32_t PANEL_WIDTH = 4000; inline constexpr uint32_t PANEL_HEIGHT = 2040; inline constexpr uint64_t OUTPUT_MODE_89_91HZ = 0x2000c; inline constexpr uint64_t OUTPUT_MODE_119_88HZ = 0x2000f; inline constexpr int32_t ERROR_REPROJECTION_NOT_INITIALIZED = -1972240373; // 0x8a72000b struct ReprojectionState { std::atomic output_mode {0}; std::atomic timing_us {3000}; }; [[nodiscard]] ReprojectionState* GetReprojectionState(); } // namespace Libs::Hmd2 #endif // EMULATOR_SRC_LIBS_HMD2_H_