/* * WiVRn VR streaming * Copyright (C) 2023 Guillaume Meunier * Copyright (C) 2023 Patrick Nicolas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #pragma once #include enum class model { oculus_quest, oculus_quest_2, meta_quest_pro, meta_quest_3, pico_neo_3, pico_4, htc_vive_focus_3, htc_vive_xr_elite, lynx_r1, unknown }; enum class feature { microphone, eye_gaze, face_tracking, }; model guess_model(); XrViewConfigurationView override_view(XrViewConfigurationView, model); bool need_srgb_conversion(model); // Return nullptr if no permission is required const char * permission_name(feature f);