Compare commits
214
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a65e4f26c3 | ||
|
|
a1cdbbe0ba | ||
|
|
c9cd91af94 | ||
|
|
d3e10dc31b | ||
|
|
2f5496c06e | ||
|
|
286268d2c6 | ||
|
|
72e257b1ee | ||
|
|
b845f30454 | ||
|
|
3aa60efbde | ||
|
|
84ef968dc3 | ||
|
|
a1b94f1dfc | ||
|
|
d8c8020d84 | ||
|
|
6e6dfc68fc | ||
|
|
5307f2fe62 | ||
|
|
a8e2a8b237 | ||
|
|
ec42db83bc | ||
|
|
ed32676299 | ||
|
|
d64d5909ee | ||
|
|
d8ad913b27 | ||
|
|
c5dab27f3c | ||
|
|
f8e132234b | ||
|
|
717e93846a | ||
|
|
c682f8cd9f | ||
|
|
8f0ca7b04c | ||
|
|
74befe1f4a | ||
|
|
6f22068c42 | ||
|
|
86737b71e0 | ||
|
|
a6660434e9 | ||
|
|
ecf6dfd215 | ||
|
|
94431458dc | ||
|
|
88f03acfbf | ||
|
|
f2f31e69ac | ||
|
|
8686233b49 | ||
|
|
11cd9235d9 | ||
|
|
fbe5430dc2 | ||
|
|
be504b5944 | ||
|
|
c9e078bd47 | ||
|
|
db08e4f361 | ||
|
|
fafe01b76a | ||
|
|
b66ca2e561 | ||
|
|
0cdb00fa83 | ||
|
|
5bfc9ed942 | ||
|
|
904d4796f6 | ||
|
|
8e2719ff30 | ||
|
|
3ac31fe5cc | ||
|
|
f43ee229f1 | ||
|
|
a1c262808d | ||
|
|
1698f4aba6 | ||
|
|
90f49e579b | ||
|
|
56e68825ef | ||
|
|
54b5a385bd | ||
|
|
af69dc1f4e | ||
|
|
42c57b61e2 | ||
|
|
88f0f52afe | ||
|
|
66878a259d | ||
|
|
66b9ad8c87 | ||
|
|
1ad015ff65 | ||
|
|
3a33adbd86 | ||
|
|
2ba3d78cd4 | ||
|
|
2f3631b943 | ||
|
|
a2837904cc | ||
|
|
29b445e984 | ||
|
|
603c3148c5 | ||
|
|
f2760df4b7 | ||
|
|
8dc2b7a5e0 | ||
|
|
dd4d442f43 | ||
|
|
923d241a76 | ||
|
|
eacca07857 | ||
|
|
ef5dd8ff8e | ||
|
|
55b7f0e6c7 | ||
|
|
0dcfe76c78 | ||
|
|
2250143f00 | ||
|
|
795d88d9dc | ||
|
|
6377f21b99 | ||
|
|
e32018accb | ||
|
|
8691be2677 | ||
|
|
857e3af6cc | ||
|
|
4e53406ec5 | ||
|
|
ba970853ca | ||
|
|
dbcf4f99f7 | ||
|
|
6ad4e8ae51 | ||
|
|
b3c30f24ed | ||
|
|
d459c9489e | ||
|
|
2f1bb1e51a | ||
|
|
b75714c936 | ||
|
|
9e3951da78 | ||
|
|
d6cc209e76 | ||
|
|
4b0d53fa58 | ||
|
|
2ef30ce778 | ||
|
|
465904befd | ||
|
|
6e8af7bb9a | ||
|
|
272d423573 | ||
|
|
b9752276b7 | ||
|
|
e1109da677 | ||
|
|
95ab427517 | ||
|
|
8ddc6355f2 | ||
|
|
6748fcb565 | ||
|
|
081c45e7c6 | ||
|
|
4d3e2eb132 | ||
|
|
4ee47ab5d4 | ||
|
|
0fba21addf | ||
|
|
c27bc4afb0 | ||
|
|
b54d0c5dd5 | ||
|
|
4ea3c6bd96 | ||
|
|
1579299937 | ||
|
|
f301ba393a | ||
|
|
26ef107df4 | ||
|
|
f50933c8c6 | ||
|
|
8f3f570eb7 | ||
|
|
444a5fed9e | ||
|
|
10ac984935 | ||
|
|
c8c015b239 | ||
|
|
984a61a69f | ||
|
|
25f9b4b67d | ||
|
|
f189356c76 | ||
|
|
19dcec446f | ||
|
|
70ba578f23 | ||
|
|
5955b2c622 | ||
|
|
ab921c213c | ||
|
|
94c168d4e6 | ||
|
|
169e8bf206 | ||
|
|
9f362ed74c | ||
|
|
7e3b6d001e | ||
|
|
cdba101fe8 | ||
|
|
eb0aa46b83 | ||
|
|
ad136eae43 | ||
|
|
5422a66176 | ||
|
|
0ccc8b6239 | ||
|
|
7f0a56448f | ||
|
|
f2050fbe54 | ||
|
|
804bfc6291 | ||
|
|
b8c3d21ad1 | ||
|
|
2ee0604ccf | ||
|
|
92a381b1e0 | ||
|
|
40aeaab762 | ||
|
|
a20110ea08 | ||
|
|
711be3754b | ||
|
|
f6eb528ea7 | ||
|
|
1ed4d3cfe6 | ||
|
|
5be3a8aef4 | ||
|
|
a6c20e9520 | ||
|
|
3f91f9450f | ||
|
|
52b0bb0c42 | ||
|
|
e5fd6a69dc | ||
|
|
f2679f21d0 | ||
|
|
d065229cb7 | ||
|
|
629f26acd7 | ||
|
|
80622e16e6 | ||
|
|
caa2219a99 | ||
|
|
fa52f3eae8 | ||
|
|
c98b461809 | ||
|
|
cc8092dd90 | ||
|
|
557a70b28b | ||
|
|
810d3e9af3 | ||
|
|
b09feca313 | ||
|
|
09ff9abba8 | ||
|
|
24c38e2a02 | ||
|
|
fedd7917db | ||
|
|
18d1619d20 | ||
|
|
b3f3c1c7fc | ||
|
|
340ab47950 | ||
|
|
bfd102831e | ||
|
|
260fdea64a | ||
|
|
fd6435e920 | ||
|
|
2f9a46ff91 | ||
|
|
9bb11ae693 | ||
|
|
2fc35832b9 | ||
|
|
7b0cd08060 | ||
|
|
7bf24565d9 | ||
|
|
3d468bf8d6 | ||
|
|
ecfda51852 | ||
|
|
40f02b9404 | ||
|
|
1d6b444ec6 | ||
|
|
460fbec06d | ||
|
|
b698a21f13 | ||
|
|
e29a08ea2e | ||
|
|
0a53801f70 | ||
|
|
dc00dace61 | ||
|
|
c55bdc6e89 | ||
|
|
f5b6faf327 | ||
|
|
695ac2ea04 | ||
|
|
7a7fc7aacc | ||
|
|
64b446c0d8 | ||
|
|
aef8efba8a | ||
|
|
13897152ad | ||
|
|
5cebea6eda | ||
|
|
b12a96f9ba | ||
|
|
8233ab052b | ||
|
|
2f2192f292 | ||
|
|
d392d30d1c | ||
|
|
8b25a85843 | ||
|
|
53a6efe27a | ||
|
|
248a533d0e | ||
|
|
bd2f6a632e | ||
|
|
e2d9641019 | ||
|
|
b24c6e5ea1 | ||
|
|
cd72cf68b0 | ||
|
|
f7b77d21b8 | ||
|
|
5bf4da0c50 | ||
|
|
512eb5a45b | ||
|
|
774702007d | ||
|
|
c2c94a57bb | ||
|
|
908d21ffec | ||
|
|
1165fdbe0a | ||
|
|
5130bdeda5 | ||
|
|
38b64fe09c | ||
|
|
de7b1aba11 | ||
|
|
adcf159916 | ||
|
|
7f60c4e179 | ||
|
|
b630771522 | ||
|
|
4125cad44e | ||
|
|
6969e5f972 | ||
|
|
d0250abbc9 | ||
|
|
7485cd0880 |
@@ -77,6 +77,7 @@ body:
|
||||
- Quest 3
|
||||
- Quest 3S
|
||||
- Pico 4
|
||||
- Pico 4 Pro/Enterprise
|
||||
- Pico Neo 3
|
||||
- HTC Vive Focus 3
|
||||
- HTC Vive XR Elite
|
||||
|
||||
@@ -124,7 +124,7 @@ jobs:
|
||||
run: |
|
||||
git config --global --add safe.directory $(pwd)
|
||||
pip install toml aiohttp
|
||||
tools/gen_flatpak_manifest.py --git https://github.com/${{github.repository}}.git --out flatpak
|
||||
tools/gen_flatpak_manifest.py --gitlocal --out flatpak
|
||||
cat flatpak/io.github.wivrn.wivrn.yml
|
||||
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.4
|
||||
@@ -153,11 +153,13 @@ jobs:
|
||||
nix-test:
|
||||
name: Test Nix package and devshell
|
||||
runs-on: ubuntu-24.04
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- run: nix flake check
|
||||
- run: nix build
|
||||
@@ -574,7 +576,7 @@ jobs:
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
|
||||
sudo apt-get install python-toml python-aiohttp
|
||||
sudo apt-get install python3-toml python3-aiohttp
|
||||
|
||||
cd flathub
|
||||
git remote add upstream https://github.com/flathub/io.github.wivrn.wivrn.git
|
||||
|
||||
@@ -21,13 +21,14 @@ jobs:
|
||||
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
||||
token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
- uses: actions/checkout@master
|
||||
- name: Checkout stuff
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Merge sneed -> master
|
||||
uses: devmasx/merge-branch@master
|
||||
with:
|
||||
type: now
|
||||
from_branch: sneed
|
||||
target_branch: master
|
||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
||||
- name: Merge sneed -> master
|
||||
uses: devmasx/merge-branch@master
|
||||
with:
|
||||
type: now
|
||||
from_branch: sneed
|
||||
target_branch: master
|
||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
*~
|
||||
.cxx/
|
||||
.cache/
|
||||
.direnv/
|
||||
.gradle/
|
||||
_deps/
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
build/
|
||||
build-*/
|
||||
**/result
|
||||
|
||||
*.so
|
||||
a.out
|
||||
|
||||
@@ -39,11 +39,14 @@
|
||||
<uses-feature android:name="oculus.software.handtracking" android:required="false" />
|
||||
<uses-feature android:name="oculus.software.eye_tracking" android:required="false" />
|
||||
<uses-feature android:name="oculus.software.face_tracking" android:required="false" />
|
||||
<uses-feature android:name="com.oculus.software.body_tracking" android:required="false" />
|
||||
<uses-permission android:name="com.magicleap.permission.HAND_TRACKING" />
|
||||
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />
|
||||
<uses-permission android:name="com.oculus.permission.EYE_TRACKING" />
|
||||
<uses-permission android:name="com.picovr.permission.EYE_TRACKING" />
|
||||
<uses-permission android:name="com.oculus.permission.FACE_TRACKING" />
|
||||
<uses-permission android:name="com.picovr.permission.FACE_TRACKING" />
|
||||
<uses-permission android:name="com.oculus.permission.BODY_TRACKING" />
|
||||
|
||||
<!-- Required for XR_FB_render_model -->
|
||||
<uses-feature android:name="com.oculus.feature.RENDER_MODEL" android:required="false" />
|
||||
@@ -57,6 +60,7 @@
|
||||
<uses-feature android:name="wave.feature.handtracking" android:required="false" />
|
||||
<uses-feature android:name="wave.feature.eyetracking" android:required="false" />
|
||||
<uses-feature android:name="wave.feature.lipexpression" android:required="false" />
|
||||
<uses-feature android:name="wave.feature.tracker" android:required="false" />
|
||||
|
||||
<application
|
||||
android:allowBackup="false"
|
||||
@@ -70,6 +74,7 @@
|
||||
<meta-data android:name="pvr.app.type" android:value="vr" />
|
||||
<meta-data android:name="pvr.sdk.version" android:value="OpenXR" />
|
||||
<meta-data android:name="picovr.software.eye_tracking" android:value="true" />
|
||||
<meta-data android:name="picovr.software.face_tracking" android:value="true" />
|
||||
<meta-data android:name="com.oculus.intent.category.VR" android:value="vr_only"/>
|
||||
<meta-data android:name="com.oculus.supportedDevices" android:value="${ComOculusSupportedDevices}"/> <!-- "quest2|questpro|quest3" on Oculus Store, "all" otherwise -->
|
||||
<meta-data android:name="com.oculus.vr.focusaware" android:value="true"/>
|
||||
@@ -83,6 +88,8 @@
|
||||
|
||||
<!-- https://developer.oculus.com/documentation/native/android/mobile-splash/ -->
|
||||
<meta-data android:name="com.oculus.ossplash" android:value="true"/>
|
||||
<!-- https://developers.meta.com/horizon/documentation/native/android/mobile-passthrough-loading-screens -->
|
||||
<meta-data android:name="com.oculus.ossplash.background" android:value="passthrough-contextual"/>
|
||||
|
||||
<!-- The activity is the built-in NativeActivity framework class. -->
|
||||
<!-- launchMode is set to singleTask because there should never be multiple copies of the app running. -->
|
||||
|
||||
+14
-11
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.25)
|
||||
cmake_minimum_required(VERSION 3.28)
|
||||
project(WiVRn VERSION 0.0.0 LANGUAGES C CXX)
|
||||
|
||||
# Set default for FetchContent projects
|
||||
@@ -46,7 +46,7 @@ set(OVR_COMPAT_SEARCH_PATH "/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:
|
||||
|
||||
option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF)
|
||||
option(WIVRN_FEATURE_RENDERDOC "Support renderdoc" OFF)
|
||||
set(WIVRN_FEATURE_SOLARXR OFF) # Will be added back when merged in upstream Monado
|
||||
option(WIVRN_FEATURE_SOLARXR "Enable SolarXR driver" OFF)
|
||||
option(WIVRN_FEATURE_STEAMVR_LIGHTHOUSE "Enable SteamVR Lighthouse driver" OFF)
|
||||
|
||||
option(WIVRN_CHECK_CAPSYSNICE "Check if CAP_SYS_NICE is available at startup" ON)
|
||||
@@ -223,9 +223,9 @@ if (WIVRN_BUILD_CLIENT AND NOT ANDROID)
|
||||
find_package(Fontconfig REQUIRED)
|
||||
|
||||
if (WIVRN_USE_SYSTEM_OPENXR STREQUAL "AUTO")
|
||||
find_package(OpenXR 1.0.26)
|
||||
find_package(OpenXR 1.1.48)
|
||||
elseif(WIVRN_USE_SYSTEM_OPENXR STREQUAL "ON")
|
||||
find_package(OpenXR 1.0.26 REQUIRED)
|
||||
find_package(OpenXR 1.1.48 REQUIRED)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
@@ -239,9 +239,9 @@ endif()
|
||||
|
||||
if (WIVRN_BUILD_DISSECTOR)
|
||||
if (WIVRN_USE_SYSTEM_OPENXR STREQUAL "AUTO")
|
||||
find_package(OpenXR 1.0.34)
|
||||
find_package(OpenXR 1.1.48)
|
||||
elseif(WIVRN_USE_SYSTEM_OPENXR STREQUAL "ON")
|
||||
find_package(OpenXR 1.0.34 REQUIRED)
|
||||
find_package(OpenXR 1.1.48 REQUIRED)
|
||||
endif()
|
||||
find_package(Wireshark REQUIRED)
|
||||
endif()
|
||||
@@ -264,8 +264,8 @@ FetchContent_Declare(fastgltf EXCLUDE_FROM_ALL SYSTEM URL https://github.co
|
||||
URL_HASH SHA256=44bcb025dd5cd480236a3bc7a3f8c9a708a801ed773b7859677440d22e0e1e7c)
|
||||
FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/archive/refs/tags/1.0.1.tar.gz
|
||||
URL_HASH SHA256=9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c)
|
||||
FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.0.34.tar.gz
|
||||
URL_HASH SHA256=5fa2fac1b442a31e267ea522799a247e3aff6e6f5a418b1e31c337b8ca835b69)
|
||||
FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.48.tar.gz
|
||||
URL_HASH SHA256=c9372992dcdfac643e28796e41d4dbd36c4cdf0388d01fa89245628edae9d411)
|
||||
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz
|
||||
URL_HASH SHA256=1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b)
|
||||
FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip
|
||||
@@ -284,10 +284,11 @@ FetchContent_Declare(uni-algo EXCLUDE_FROM_ALL SYSTEM URL https://github.co
|
||||
URL_HASH SHA256=f2a1539cd8635bc6088d05144a73ecfe7b4d74ee0361fabed6f87f9f19e74ca9)
|
||||
|
||||
file(GLOB MONADO_PATCHES CONFIGURE_DEPENDS patches/monado/*)
|
||||
file(READ monado-rev MONADO_REV)
|
||||
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS monado-rev)
|
||||
file(STRINGS monado-rev MONADO_REV)
|
||||
# Server dependencies
|
||||
FetchContent_Declare(monado
|
||||
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado
|
||||
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado.git
|
||||
# The flatpak manifest is updated automatically
|
||||
GIT_TAG ${MONADO_REV}
|
||||
PATCH_COMMAND ${CMAKE_CURRENT_LIST_DIR}/patches/apply.sh ${MONADO_PATCHES}
|
||||
@@ -295,7 +296,9 @@ FetchContent_Declare(monado
|
||||
)
|
||||
|
||||
add_subdirectory(external)
|
||||
add_subdirectory(common)
|
||||
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
|
||||
add_subdirectory(common)
|
||||
endif()
|
||||
|
||||
if (WIVRN_BUILD_CLIENT)
|
||||
add_subdirectory(client)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 581 B After Width: | Height: | Size: 306 B |
+1
-1
@@ -55,7 +55,7 @@ task "generatePngs"() {
|
||||
|
||||
android {
|
||||
namespace "org.meumeu.wivrn"
|
||||
ndkVersion "27.1.12297006"
|
||||
ndkVersion "28.1.13356709"
|
||||
|
||||
lint {
|
||||
disable += "ExpiredTargetSdkVersion"
|
||||
|
||||
+3
-13
@@ -225,14 +225,8 @@ add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.png
|
||||
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn.png ${RSVG_OPTS}
|
||||
DEPENDS ${IMG_SRC_DIR}/wivrn.svg ${WIVRN_CSS_ABS})
|
||||
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.png
|
||||
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn-pride.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn-pride.png ${RSVG_OPTS}
|
||||
DEPENDS ${IMG_SRC_DIR}/wivrn-pride.svg ${WIVRN_CSS_ABS})
|
||||
|
||||
add_custom_target(assets ALL DEPENDS
|
||||
${ASSETS_DIR}/wivrn.png
|
||||
${ASSETS_DIR}/wivrn-pride.png
|
||||
)
|
||||
${ASSETS_DIR}/wivrn.png)
|
||||
|
||||
add_dependencies(wivrn assets)
|
||||
|
||||
@@ -241,9 +235,6 @@ if(ANDROID)
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.ktx2
|
||||
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn.ktx2 ${ASSETS_DIR}/wivrn.png
|
||||
DEPENDS ${ASSETS_DIR}/wivrn.png)
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.ktx2
|
||||
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn-pride.ktx2 ${ASSETS_DIR}/wivrn-pride.png
|
||||
DEPENDS ${ASSETS_DIR}/wivrn-pride.png)
|
||||
|
||||
add_custom_command(OUTPUT ${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2
|
||||
COMMAND ${TOKTX} --encode astc --astc_blk_d 12x12 --astc_quality 100 --genmipmap ${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2 ${AST_SRC_DIR}/WoodFloor051_1K-JPG_Color.jpg
|
||||
@@ -255,10 +246,9 @@ if(ANDROID)
|
||||
|
||||
add_custom_target(assets-android ALL DEPENDS
|
||||
${ASSETS_DIR}/wivrn.ktx2
|
||||
${ASSETS_DIR}/wivrn-pride.ktx2
|
||||
${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2
|
||||
${ASSETS_DIR}/vr_splash.png
|
||||
)
|
||||
${ASSETS_DIR}/vr_splash.png)
|
||||
|
||||
add_dependencies(assets-android assets)
|
||||
add_dependencies(wivrn assets-android)
|
||||
endif()
|
||||
|
||||
+258
-100
@@ -19,17 +19,18 @@
|
||||
|
||||
#include "application.h"
|
||||
#include "asset.h"
|
||||
#include "hardware.h"
|
||||
#include "openxr/openxr.h"
|
||||
#include "scene.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "utils/contains.h"
|
||||
#include "utils/files.h"
|
||||
#include "utils/named_thread.h"
|
||||
#include "vk/check.h"
|
||||
#include "wifi_lock.h"
|
||||
#include "xr/actionset.h"
|
||||
#include "xr/check.h"
|
||||
#include "xr/meta_body_tracking_fidelity.h"
|
||||
#include "xr/xr.h"
|
||||
#include <algorithm>
|
||||
#include <boost/locale.hpp>
|
||||
@@ -49,6 +50,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include "utils/named_thread.h"
|
||||
#include <android/native_activity.h>
|
||||
#include <sys/system_properties.h>
|
||||
|
||||
@@ -64,15 +66,16 @@ struct interaction_profile
|
||||
{
|
||||
std::string profile_name;
|
||||
std::vector<std::string> required_extensions;
|
||||
XrVersion min_version = XR_MAKE_VERSION(1, 0, 0);
|
||||
XrVersion max_version = XR_MAKE_VERSION(2, 0, 0); // exclusive
|
||||
std::vector<std::string> input_sources;
|
||||
bool available;
|
||||
};
|
||||
|
||||
static std::vector<interaction_profile> interaction_profiles{
|
||||
interaction_profile{
|
||||
"/interaction_profiles/khr/simple_controller",
|
||||
{},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/khr/simple_controller",
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -88,11 +91,11 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/menu/click",
|
||||
"/user/hand/right/input/select/click",
|
||||
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
"/interaction_profiles/oculus/touch_controller",
|
||||
{},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/oculus/touch_controller",
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -127,11 +130,13 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/thumbstick/click",
|
||||
"/user/hand/right/input/thumbstick/touch",
|
||||
"/user/hand/right/input/thumbrest/touch",
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
" /interaction_profiles/facebook/touch_controller_pro",
|
||||
{"XR_FB_touch_controller_pro"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/facebook/touch_controller_pro",
|
||||
.required_extensions = {"XR_FB_touch_controller_pro"},
|
||||
.max_version = XR_MAKE_VERSION(1, 1, 0),
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/left/output/haptic_trigger_fb",
|
||||
"/user/hand/left/output/haptic_thumb_fb",
|
||||
@@ -169,6 +174,7 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/b/click",
|
||||
"/user/hand/right/input/b/touch",
|
||||
"/user/hand/right/input/system/click",
|
||||
"/user/hand/right/input/squeeze/value",
|
||||
"/user/hand/right/input/trigger/value",
|
||||
"/user/hand/right/input/trigger/touch",
|
||||
"/user/hand/right/input/thumbstick",
|
||||
@@ -181,11 +187,12 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/trigger/slide_fb",
|
||||
"/user/hand/right/input/trigger/proximity_fb",
|
||||
"/user/hand/right/input/thumb_fb/proximity_fb",
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
" /interaction_profiles/meta/touch_pro_controller",
|
||||
{"XR_VERSION_1_1"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/meta/touch_pro_controller",
|
||||
.min_version = XR_MAKE_VERSION(1, 1, 0),
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/left/output/haptic_trigger",
|
||||
"/user/hand/left/output/haptic_thumb",
|
||||
@@ -236,12 +243,13 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/thumbrest/touch",
|
||||
"/user/hand/right/input/thumbrest/force",
|
||||
"/user/hand/right/input/stylus/force",
|
||||
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
" /interaction_profiles/meta/touch_controller_plus",
|
||||
{"XR_META_touch_controller_plus"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/meta/touch_controller_plus",
|
||||
.required_extensions = {"XR_META_touch_controller_plus"},
|
||||
.max_version = XR_MAKE_VERSION(1, 1, 0),
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -285,11 +293,12 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/trigger/slide_meta",
|
||||
"/user/hand/right/input/trigger/force",
|
||||
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
" /interaction_profiles/meta/touch_plus_controller",
|
||||
{"XR_VERSION_1_1"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/meta/touch_plus_controller",
|
||||
.min_version = XR_MAKE_VERSION(1, 1, 0),
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -335,11 +344,12 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/thumbstick/touch",
|
||||
"/user/hand/right/input/thumbrest/touch",
|
||||
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
"/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
{"XR_BD_controller_interaction"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
.required_extensions = {"XR_BD_controller_interaction"},
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -377,11 +387,12 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/thumbstick/click",
|
||||
"/user/hand/right/input/thumbstick/touch",
|
||||
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
"/interaction_profiles/bytedance/pico4_controller",
|
||||
{"XR_BD_controller_interaction"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/bytedance/pico4_controller",
|
||||
.required_extensions = {"XR_BD_controller_interaction"},
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -419,11 +430,12 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/thumbstick/touch",
|
||||
"/user/hand/right/input/squeeze/click",
|
||||
"/user/hand/right/input/squeeze/value",
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
"/interaction_profiles/bytedance/pico4s_controller",
|
||||
{"XR_BD_controller_interaction"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/bytedance/pico4s_controller",
|
||||
.required_extensions = {"XR_BD_controller_interaction"},
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -461,11 +473,12 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/thumbstick/touch",
|
||||
"/user/hand/right/input/squeeze/click",
|
||||
"/user/hand/right/input/squeeze/value",
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
"/interaction_profiles/htc/vive_focus3_controller",
|
||||
{"XR_HTC_vive_focus3_controller_interaction"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/htc/vive_focus3_controller",
|
||||
.required_extensions = {"XR_HTC_vive_focus3_controller_interaction"},
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
|
||||
@@ -502,13 +515,48 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
"/user/hand/right/input/thumbstick/click",
|
||||
"/user/hand/right/input/thumbstick/touch",
|
||||
"/user/hand/right/input/thumbrest/touch",
|
||||
}},
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
"/interaction_profiles/ext/eye_gaze_interaction",
|
||||
{"XR_EXT_eye_gaze_interaction"},
|
||||
{
|
||||
.profile_name = "/interaction_profiles/ext/hand_interaction_ext",
|
||||
.required_extensions = {"XR_EXT_hand_interaction"},
|
||||
.input_sources = {
|
||||
"/user/hand/left/input/aim/pose",
|
||||
"/user/hand/left/input/grip/pose",
|
||||
|
||||
"/user/hand/left/input/pinch_ext/pose",
|
||||
"/user/hand/left/input/pinch_ext/value",
|
||||
"/user/hand/left/input/pinch_ext/ready_ext",
|
||||
"/user/hand/left/input/poke_ext/pose",
|
||||
"/user/hand/left/input/aim_activate_ext/value",
|
||||
"/user/hand/left/input/aim_activate_ext/ready_ext",
|
||||
"/user/hand/left/input/grasp_ext/value",
|
||||
"/user/hand/left/input/grasp_ext/ready_ext",
|
||||
|
||||
"/user/hand/right/input/aim/pose",
|
||||
"/user/hand/right/input/grip/pose",
|
||||
|
||||
"/user/hand/right/input/pinch_ext/pose",
|
||||
"/user/hand/right/input/pinch_ext/value",
|
||||
"/user/hand/right/input/pinch_ext/ready_ext",
|
||||
"/user/hand/right/input/poke_ext/pose",
|
||||
"/user/hand/right/input/aim_activate_ext/value",
|
||||
"/user/hand/right/input/aim_activate_ext/ready_ext",
|
||||
"/user/hand/right/input/grasp_ext/value",
|
||||
"/user/hand/right/input/grasp_ext/ready_ext",
|
||||
},
|
||||
},
|
||||
interaction_profile{
|
||||
.profile_name = "/interaction_profiles/htc/vive_xr_tracker",
|
||||
.required_extensions = {"XR_HTC_vive_xr_tracker_interaction", "XR_HTC_path_enumeration"},
|
||||
},
|
||||
interaction_profile{
|
||||
.profile_name = "/interaction_profiles/ext/eye_gaze_interaction",
|
||||
.required_extensions = {"XR_EXT_eye_gaze_interaction"},
|
||||
.input_sources = {
|
||||
"/user/eyes_ext/input/gaze_ext/pose",
|
||||
}},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static const std::pair<std::string_view, XrActionType> action_suffixes[] =
|
||||
@@ -537,6 +585,9 @@ static const std::pair<std::string_view, XrActionType> action_suffixes[] =
|
||||
{"/joystick", XR_ACTION_TYPE_VECTOR2F_INPUT},
|
||||
{"/trackball", XR_ACTION_TYPE_VECTOR2F_INPUT},
|
||||
|
||||
// XR_EXT_hand_interaction
|
||||
{"/ready_ext", XR_ACTION_TYPE_BOOLEAN_INPUT},
|
||||
|
||||
// Output paths
|
||||
{"/haptic", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
{"/haptic_trigger", XR_ACTION_TYPE_VIBRATION_OUTPUT},
|
||||
@@ -893,6 +944,8 @@ void application::initialize_actions()
|
||||
{
|
||||
spdlog::debug("Initializing actions");
|
||||
|
||||
auto * htc_body = std::get_if<xr::htc_body_tracker>(&body_tracker);
|
||||
|
||||
// Build an action set with all possible input sources
|
||||
std::vector<XrActionSet> action_sets;
|
||||
xr_actionset = xr::actionset(xr_instance, "all_actions", "All actions");
|
||||
@@ -900,23 +953,81 @@ void application::initialize_actions()
|
||||
|
||||
std::unordered_map<std::string, std::vector<XrActionSuggestedBinding>> suggested_bindings;
|
||||
|
||||
XrVersion api_version = xr_instance.get_api_version();
|
||||
// Build the list of all possible input sources, without duplicates,
|
||||
// checking which profiles are supported by the runtime
|
||||
std::vector<std::string> sources;
|
||||
for (auto & profile: interaction_profiles)
|
||||
{
|
||||
profile.available = utils::contains_all(xr_extensions, profile.required_extensions);
|
||||
profile.available = utils::contains_all(xr_extensions, profile.required_extensions) and profile.min_version <= api_version and profile.max_version > api_version;
|
||||
|
||||
if (profile.profile_name.ends_with("khr/simple_controller"))
|
||||
{
|
||||
switch (guess_model())
|
||||
{
|
||||
// Quest hand tracking creates a fake khr/simple_controller when hand tracking
|
||||
// is enabled, this messes with native hand tracking
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3s:
|
||||
case model::oculus_quest_2:
|
||||
profile.available = false;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!profile.available)
|
||||
continue;
|
||||
|
||||
// Patch profile to add palm_ext
|
||||
if (utils::contains(xr_extensions, XR_EXT_PALM_POSE_EXTENSION_NAME) //
|
||||
and utils::contains(profile.input_sources, "/user/hand/left/input/grip/pose") //
|
||||
and not utils::contains(profile.input_sources, "/user/hand/left/input/palm_ext/pose"))
|
||||
// Patch profile to add grip_surface or palm_ext
|
||||
bool add_palms = true;
|
||||
if (profile.profile_name.ends_with("ext/hand_interaction_ext"))
|
||||
{
|
||||
profile.input_sources.push_back("/user/hand/left/input/palm_ext/pose");
|
||||
profile.input_sources.push_back("/user/hand/right/input/palm_ext/pose");
|
||||
switch (guess_model())
|
||||
{
|
||||
// Quest breaks spec and does not support grip_surface for ext/hand_interaction_ext
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3s:
|
||||
case model::oculus_quest_2:
|
||||
case model::oculus_quest:
|
||||
add_palms = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (add_palms)
|
||||
{
|
||||
if ((api_version >= XR_MAKE_VERSION(1, 1, 0) or utils::contains(xr_extensions, XR_KHR_MAINTENANCE1_EXTENSION_NAME)) //
|
||||
and utils::contains(profile.input_sources, "/user/hand/left/input/grip/pose") //
|
||||
and not utils::contains(profile.input_sources, "/user/hand/left/input/grip_surface/pose"))
|
||||
{
|
||||
spdlog::info("Adding grip_surface/pose for interaction profile {}", profile.profile_name);
|
||||
profile.input_sources.push_back("/user/hand/left/input/grip_surface/pose");
|
||||
profile.input_sources.push_back("/user/hand/right/input/grip_surface/pose");
|
||||
}
|
||||
else if (utils::contains(xr_extensions, XR_EXT_PALM_POSE_EXTENSION_NAME) //
|
||||
and utils::contains(profile.input_sources, "/user/hand/left/input/grip/pose") //
|
||||
and not utils::contains(profile.input_sources, "/user/hand/left/input/palm_ext/pose"))
|
||||
{
|
||||
spdlog::info("Adding palm_ext/pose for interaction profile {}", profile.profile_name);
|
||||
profile.input_sources.push_back("/user/hand/left/input/palm_ext/pose");
|
||||
profile.input_sources.push_back("/user/hand/right/input/palm_ext/pose");
|
||||
}
|
||||
}
|
||||
|
||||
// Dynamically add VIVE XR Trackers to the profile if available
|
||||
if (htc_body && utils::contains(profile.required_extensions, XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME))
|
||||
{
|
||||
for (const auto & user_path: htc_body->get_paths())
|
||||
{
|
||||
for (const auto & input_path: htc_body->get_paths(user_path))
|
||||
{
|
||||
profile.input_sources.push_back(path_to_string(user_path) + path_to_string(input_path));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
suggested_bindings.emplace(profile.profile_name, std::vector<XrActionSuggestedBinding>{});
|
||||
@@ -945,16 +1056,26 @@ void application::initialize_actions()
|
||||
spaces[size_t(xr::spaces::grip_left)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/left/input/aim/pose")
|
||||
spaces[size_t(xr::spaces::aim_left)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/left/input/palm_ext/pose" or name == "/user/hand/left/input/grip_surface/pose")
|
||||
spaces[size_t(xr::spaces::palm_left)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/left/input/pinch_ext/pose")
|
||||
spaces[size_t(xr::spaces::pinch_left)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/left/input/poke_ext/pose")
|
||||
spaces[size_t(xr::spaces::poke_left)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/right/input/grip/pose")
|
||||
spaces[size_t(xr::spaces::grip_right)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/right/input/aim/pose")
|
||||
spaces[size_t(xr::spaces::aim_right)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/right/input/palm_ext/pose" or name == "/user/hand/right/input/grip_surface/pose")
|
||||
spaces[size_t(xr::spaces::palm_right)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/right/input/pinch_ext/pose")
|
||||
spaces[size_t(xr::spaces::pinch_right)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/right/input/poke_ext/pose")
|
||||
spaces[size_t(xr::spaces::poke_right)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/eyes_ext/input/gaze_ext/pose")
|
||||
spaces[size_t(xr::spaces::eye_gaze)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/right/input/palm_ext/pose")
|
||||
spaces[size_t(xr::spaces::palm_right)] = xr_session.create_action_space(a);
|
||||
else if (name == "/user/hand/left/input/palm_ext/pose")
|
||||
spaces[size_t(xr::spaces::palm_left)] = xr_session.create_action_space(a);
|
||||
else if (name.contains("/input/entity_htc/pose") && htc_body)
|
||||
htc_body->add(xr_session.create_action_space(a));
|
||||
}
|
||||
|
||||
// Build an action set for each scene
|
||||
@@ -976,20 +1097,23 @@ void application::initialize_actions()
|
||||
|
||||
for (const scene::suggested_binding & j: i->bindings)
|
||||
{
|
||||
// Skip unsupported profiles
|
||||
if (!suggested_bindings.contains(j.profile_name))
|
||||
continue;
|
||||
|
||||
std::vector<XrActionSuggestedBinding> & xr_bindings = suggested_bindings[j.profile_name];
|
||||
|
||||
for (const scene::action_binding & k: j.paths)
|
||||
for (const auto & profile: j.profile_names)
|
||||
{
|
||||
XrAction a = i->actions_by_name[k.action_name].first;
|
||||
assert(a != XR_NULL_HANDLE);
|
||||
// Skip unsupported profiles
|
||||
if (!suggested_bindings.contains(profile))
|
||||
continue;
|
||||
|
||||
xr_bindings.push_back(XrActionSuggestedBinding{
|
||||
.action = a,
|
||||
.binding = string_to_path(k.input_source)});
|
||||
std::vector<XrActionSuggestedBinding> & xr_bindings = suggested_bindings[profile];
|
||||
|
||||
for (const scene::action_binding & k: j.paths)
|
||||
{
|
||||
XrAction a = i->actions_by_name[k.action_name].first;
|
||||
assert(a != XR_NULL_HANDLE);
|
||||
|
||||
xr_bindings.push_back(XrActionSuggestedBinding{
|
||||
.action = a,
|
||||
.binding = string_to_path(k.input_source)});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1032,28 +1156,32 @@ void application::initialize()
|
||||
|
||||
// Optional extensions
|
||||
std::vector<std::string> opt_extensions;
|
||||
opt_extensions.push_back(XR_KHR_LOCATE_SPACES_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_KHR_MAINTENANCE1_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_EXT_HAND_TRACKING_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_EXT_HAND_INTERACTION_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_FB_PASSTHROUGH_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_HTC_PASSTHROUGH_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_HTC_FACIAL_TRACKING_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_HTC_PATH_ENUMERATION_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_FB_FACE_TRACKING2_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_FB_BODY_TRACKING_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_BD_BODY_TRACKING_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_EXT_PALM_POSE_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_EXT_USER_PRESENCE_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_KHR_VISIBILITY_MASK_EXTENSION_NAME);
|
||||
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME);
|
||||
|
||||
for (const auto & i: interaction_profiles)
|
||||
{
|
||||
for (const auto & j: i.required_extensions)
|
||||
{
|
||||
if (not j.starts_with("XR_VERSION"))
|
||||
opt_extensions.push_back(j);
|
||||
}
|
||||
}
|
||||
opt_extensions.insert(opt_extensions.end(), i.required_extensions.begin(), i.required_extensions.end());
|
||||
|
||||
for (const auto & i: xr::instance::extensions())
|
||||
{
|
||||
@@ -1074,7 +1202,10 @@ void application::initialize()
|
||||
xr_instance = xr::instance(app_info.name, extensions);
|
||||
#endif
|
||||
|
||||
spdlog::info("Created OpenXR instance, runtime {}, version {}", xr_instance.get_runtime_name(), xr_instance.get_runtime_version());
|
||||
spdlog::info("Created OpenXR instance, runtime {}, version {}, API version {}",
|
||||
xr_instance.get_runtime_name(),
|
||||
xr_instance.get_runtime_version(),
|
||||
xr::to_string(xr_instance.get_api_version()));
|
||||
|
||||
xr_system_id = xr::system(xr_instance, app_info.formfactor);
|
||||
spdlog::info("Created OpenXR system for form factor {}", xr::to_string(app_info.formfactor));
|
||||
@@ -1105,22 +1236,6 @@ void application::initialize()
|
||||
eye_gaze_supported = eye_gaze_properties.supportsEyeGazeInteraction;
|
||||
}
|
||||
|
||||
if (utils::contains(xr_extensions, XR_FB_FACE_TRACKING2_EXTENSION_NAME))
|
||||
{
|
||||
XrSystemFaceTrackingProperties2FB fb_face2_properties = xr_system_id.fb_face_tracking2_properties();
|
||||
spdlog::info(" FB face tracking support: {}", (bool)fb_face2_properties.supportsVisualFaceTracking);
|
||||
fb_face_tracking2_supported = fb_face2_properties.supportsVisualFaceTracking;
|
||||
}
|
||||
|
||||
if (utils::contains(xr_extensions, XR_HTC_FACIAL_TRACKING_EXTENSION_NAME))
|
||||
{
|
||||
XrSystemFacialTrackingPropertiesHTC htc_face_properties = xr_system_id.htc_face_tracking_properties();
|
||||
spdlog::info(" HTC eye tracking support: {}", (bool)htc_face_properties.supportEyeFacialTracking);
|
||||
spdlog::info(" HTC lip tracking support: {}", (bool)htc_face_properties.supportLipFacialTracking);
|
||||
htc_face_tracking_eye_supported = htc_face_properties.supportEyeFacialTracking;
|
||||
htc_face_tracking_lip_supported = htc_face_properties.supportLipFacialTracking;
|
||||
}
|
||||
|
||||
if (utils::contains(xr_extensions, XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME))
|
||||
{
|
||||
spdlog::info(" OpenXR post-processing extension support: true");
|
||||
@@ -1165,19 +1280,56 @@ void application::initialize()
|
||||
right_hand = xr_session.create_hand_tracker(XR_HAND_RIGHT_EXT);
|
||||
}
|
||||
|
||||
if (fb_face_tracking2_supported)
|
||||
if (utils::contains(xr_extensions, XR_FB_FACE_TRACKING2_EXTENSION_NAME))
|
||||
{
|
||||
fb_face_tracker2 = xr_session.create_fb_face_tracker2();
|
||||
XrSystemFaceTrackingProperties2FB fb_face2_properties = xr_system_id.fb_face_tracking2_properties();
|
||||
spdlog::info(" FB face tracking support: {}", (bool)fb_face2_properties.supportsVisualFaceTracking);
|
||||
if (fb_face2_properties.supportsVisualFaceTracking)
|
||||
face_tracker = xr_session.create_fb_face_tracker2();
|
||||
}
|
||||
|
||||
if (htc_face_tracking_eye_supported)
|
||||
if (std::holds_alternative<std::monostate>(face_tracker) && utils::contains(xr_extensions, XR_HTC_FACIAL_TRACKING_EXTENSION_NAME))
|
||||
{
|
||||
htc_face_tracker_eye = xr_session.create_htc_face_tracker(XR_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC);
|
||||
XrSystemFacialTrackingPropertiesHTC htc_face_properties = xr_system_id.htc_face_tracking_properties();
|
||||
spdlog::info(" HTC eye tracking support: {}", (bool)htc_face_properties.supportEyeFacialTracking);
|
||||
spdlog::info(" HTC lip tracking support: {}", (bool)htc_face_properties.supportLipFacialTracking);
|
||||
face_tracker = xr_session.create_htc_face_tracker(htc_face_properties.supportEyeFacialTracking, htc_face_properties.supportLipFacialTracking);
|
||||
}
|
||||
|
||||
if (htc_face_tracking_lip_supported)
|
||||
if (std::holds_alternative<std::monostate>(face_tracker) && eye_gaze_supported)
|
||||
{
|
||||
htc_face_tracker_lip = xr_session.create_htc_face_tracker(XR_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC);
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
spdlog::info(" PICO face tracking support: true");
|
||||
face_tracker = xr_session.create_pico_face_tracker();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (utils::contains_all(xr_extensions, std::array{XR_FB_BODY_TRACKING_EXTENSION_NAME, XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME, XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME}))
|
||||
{
|
||||
XrSystemBodyTrackingPropertiesFB fb_body_properties = xr_system_id.fb_body_tracking_properties();
|
||||
spdlog::info(" FB body tracking support: {}", (bool)fb_body_properties.supportsBodyTracking);
|
||||
if (fb_body_properties.supportsBodyTracking)
|
||||
body_tracker = xr_session.create_fb_body_tracker();
|
||||
}
|
||||
|
||||
if (std::holds_alternative<std::monostate>(body_tracker) && utils::contains_all(xr_extensions, std::array{XR_HTC_PATH_ENUMERATION_EXTENSION_NAME, XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME}))
|
||||
{
|
||||
spdlog::info(" HTC body tracking support: true");
|
||||
body_tracker = xr_session.create_htc_body_tracker();
|
||||
}
|
||||
|
||||
if (std::holds_alternative<std::monostate>(body_tracker) && utils::contains(xr_extensions, XR_BD_BODY_TRACKING_EXTENSION_NAME))
|
||||
{
|
||||
XrSystemBodyTrackingPropertiesBD bd_body_properties = xr_system_id.bd_body_tracking_properties();
|
||||
spdlog::info(" PICO body tracking support: {}", (bool)bd_body_properties.supportsBodyTracking);
|
||||
if (bd_body_properties.supportsBodyTracking)
|
||||
body_tracker = xr_session.create_pico_body_tracker();
|
||||
}
|
||||
|
||||
vk::CommandPoolCreateInfo cmdpool_create_info;
|
||||
@@ -1714,7 +1866,13 @@ void application::poll_events()
|
||||
exit_requested = true;
|
||||
}
|
||||
break;
|
||||
case XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED:
|
||||
case XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED: {
|
||||
if (auto * htc_body = std::get_if<xr::htc_body_tracker>(&body_tracker))
|
||||
{
|
||||
htc_body->update_active();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case XR_TYPE_EVENT_DATA_REFERENCE_SPACE_CHANGE_PENDING:
|
||||
break;
|
||||
case XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED: {
|
||||
|
||||
+14
-25
@@ -21,9 +21,13 @@
|
||||
|
||||
#include "configuration.h"
|
||||
#include "wifi_lock.h"
|
||||
#include "xr/fb_body_tracker.h"
|
||||
#include "xr/fb_face_tracker2.h"
|
||||
#include "xr/hand_tracker.h"
|
||||
#include "xr/htc_body_tracker.h"
|
||||
#include "xr/htc_face_tracker.h"
|
||||
#include "xr/pico_body_tracker.h"
|
||||
#include "xr/pico_face_tracker.h"
|
||||
#ifdef __ANDROID__
|
||||
#include <android_native_app_glue.h>
|
||||
#endif
|
||||
@@ -125,13 +129,8 @@ class application : public singleton<application>
|
||||
xr::hand_tracker left_hand;
|
||||
xr::hand_tracker right_hand;
|
||||
|
||||
bool fb_face_tracking2_supported = false;
|
||||
xr::fb_face_tracker2 fb_face_tracker2;
|
||||
|
||||
bool htc_face_tracking_eye_supported = false;
|
||||
xr::htc_face_tracker htc_face_tracker_eye;
|
||||
bool htc_face_tracking_lip_supported = false;
|
||||
xr::htc_face_tracker htc_face_tracker_lip;
|
||||
std::variant<std::monostate, xr::fb_face_tracker2, xr::htc_face_tracker, xr::pico_face_tracker> face_tracker;
|
||||
std::variant<std::monostate, xr::fb_body_tracker, xr::htc_body_tracker, xr::pico_body_tracker> body_tracker;
|
||||
|
||||
bool eye_gaze_supported = false;
|
||||
|
||||
@@ -421,19 +420,14 @@ public:
|
||||
return instance().hand_tracking_supported;
|
||||
}
|
||||
|
||||
static bool get_fb_face_tracking2_supported()
|
||||
static bool get_face_tracking_supported()
|
||||
{
|
||||
return instance().fb_face_tracking2_supported;
|
||||
return !std::holds_alternative<std::monostate>(instance().face_tracker);
|
||||
}
|
||||
|
||||
static bool get_htc_face_tracking_eye_supported()
|
||||
static bool get_body_tracking_supported()
|
||||
{
|
||||
return instance().htc_face_tracking_eye_supported;
|
||||
}
|
||||
|
||||
static bool get_htc_face_tracking_lip_supported()
|
||||
{
|
||||
return instance().htc_face_tracking_lip_supported;
|
||||
return !std::holds_alternative<std::monostate>(instance().body_tracker);
|
||||
}
|
||||
|
||||
static bool get_eye_gaze_supported()
|
||||
@@ -456,19 +450,14 @@ public:
|
||||
return instance().right_hand;
|
||||
}
|
||||
|
||||
static xr::fb_face_tracker2 & get_fb_face_tracker2()
|
||||
static auto & get_face_tracker()
|
||||
{
|
||||
return instance().fb_face_tracker2;
|
||||
return instance().face_tracker;
|
||||
}
|
||||
|
||||
static xr::htc_face_tracker & get_htc_face_tracker_eye()
|
||||
static auto & get_body_tracker()
|
||||
{
|
||||
return instance().htc_face_tracker_eye;
|
||||
}
|
||||
|
||||
static xr::htc_face_tracker & get_htc_face_tracker_lip()
|
||||
{
|
||||
return instance().htc_face_tracker_lip;
|
||||
return instance().body_tracker;
|
||||
}
|
||||
|
||||
static const std::vector<std::string> & get_xr_extensions()
|
||||
|
||||
@@ -291,7 +291,7 @@ void wivrn::android::audio::operator()(wivrn::audio_data && data)
|
||||
buffer_size_bytes.fetch_add(size);
|
||||
}
|
||||
|
||||
void wivrn::android::audio::set_mic_sate(bool running)
|
||||
void wivrn::android::audio::set_mic_state(bool running)
|
||||
{
|
||||
if (not microphone)
|
||||
return;
|
||||
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
|
||||
void operator()(wivrn::audio_data &&);
|
||||
|
||||
void set_mic_sate(bool running);
|
||||
void set_mic_state(bool running);
|
||||
|
||||
static void get_audio_description(wivrn::from_headset::headset_info_packet & info);
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
~audio() = default;
|
||||
|
||||
void operator()(wivrn::audio_data &&) {}
|
||||
void set_mic_sate(bool running) {}
|
||||
void set_mic_state(bool running) {}
|
||||
|
||||
static void get_audio_description(wivrn::from_headset::headset_info_packet & info) {}
|
||||
};
|
||||
|
||||
@@ -106,16 +106,47 @@ bool configuration::check_feature(feature f) const
|
||||
{
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
[[fallthrough]];
|
||||
case model::htc_vive_xr_elite:
|
||||
if (not(application::get_htc_face_tracking_eye_supported() or application::get_htc_face_tracking_lip_supported()))
|
||||
if (not std::holds_alternative<xr::htc_face_tracker>(application::get_face_tracker()))
|
||||
return false;
|
||||
break;
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
if (not std::holds_alternative<xr::pico_face_tracker>(application::get_face_tracker()))
|
||||
return false;
|
||||
break;
|
||||
default:
|
||||
if (not application::get_fb_face_tracking2_supported())
|
||||
if (not std::holds_alternative<xr::fb_face_tracker2>(application::get_face_tracker()))
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case feature::body_tracking:
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
if (not std::holds_alternative<xr::fb_body_tracker>(application::get_body_tracker()))
|
||||
return false;
|
||||
break;
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::htc_vive_focus_vision:
|
||||
if (not std::holds_alternative<xr::htc_body_tracker>(application::get_body_tracker()))
|
||||
return false;
|
||||
break;
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
if (not std::holds_alternative<xr::pico_body_tracker>(application::get_body_tracker()))
|
||||
return false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
#ifdef __ANDROID__
|
||||
@@ -198,6 +229,11 @@ configuration::configuration(xr::system & system)
|
||||
if (auto val = root["mic_unprocessed_audio"]; val.is_bool())
|
||||
mic_unprocessed_audio = val.get_bool();
|
||||
|
||||
if (auto val = root["fb_lower_body"]; val.is_bool())
|
||||
fb_lower_body = val.get_bool();
|
||||
if (auto val = root["fb_hip"]; val.is_bool())
|
||||
fb_hip = val.get_bool();
|
||||
|
||||
if (auto val = root["virtual_keyboard_layout"]; val.is_string())
|
||||
virtual_keyboard_layout = val.get_string().value();
|
||||
|
||||
@@ -320,6 +356,8 @@ void configuration::save()
|
||||
write_openxr_post_processing(json, openxr_post_processing);
|
||||
json << ",\"passthrough_enabled\":" << std::boolalpha << passthrough_enabled;
|
||||
json << ",\"mic_unprocessed_audio\":" << std::boolalpha << mic_unprocessed_audio;
|
||||
json << ",\"fb_lower_body\":" << std::boolalpha << fb_lower_body;
|
||||
json << ",\"fb_hip\":" << std::boolalpha << fb_hip;
|
||||
for (auto & [key, value]: features)
|
||||
json << "," << key << ":" << std::boolalpha << value;
|
||||
json << ",\"virtual_keyboard_layout\":" << json_string(virtual_keyboard_layout);
|
||||
|
||||
@@ -54,6 +54,9 @@ public:
|
||||
bool passthrough_enabled = false;
|
||||
bool mic_unprocessed_audio = false;
|
||||
|
||||
bool fb_lower_body = false;
|
||||
bool fb_hip = true;
|
||||
|
||||
// Snapdragon Game Super Resolution
|
||||
struct sgsr_settings
|
||||
{
|
||||
|
||||
+54
-4
@@ -71,13 +71,25 @@ static model guess_model_()
|
||||
|
||||
if (manufacturer == "Pico")
|
||||
{
|
||||
if (model == "Pico Neo 3")
|
||||
const auto pico_model = get_property("pxr.vendorhw.product.model");
|
||||
spdlog::info(" pxr.vendorhw.product.model = \"{}\":", pico_model);
|
||||
|
||||
if (pico_model == "Pico Neo 3")
|
||||
return model::pico_neo_3;
|
||||
|
||||
if (model == "A9210")
|
||||
if (pico_model == "PICO 4")
|
||||
return model::pico_4;
|
||||
|
||||
if (pico_model == "PICO 4 Ultra")
|
||||
return model::pico_4s;
|
||||
|
||||
spdlog::info("manufacturer={}, model={}, device={} assuming Pico 4", manufacturer, model, device);
|
||||
if (pico_model == "PICO 4 Pro")
|
||||
return model::pico_4_pro;
|
||||
|
||||
if (pico_model == "PICO 4 Enterprise")
|
||||
return model::pico_4_enterprise;
|
||||
|
||||
spdlog::info("manufacturer={}, model={}, device={}, pico_model={} assuming Pico 4", manufacturer, model, device, pico_model);
|
||||
return model::pico_4;
|
||||
}
|
||||
if (manufacturer == "HTC")
|
||||
@@ -145,6 +157,8 @@ XrViewConfigurationView override_view(XrViewConfigurationView view, model m)
|
||||
return scale_view(view, 1832);
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return scale_view(view, 2160);
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
@@ -172,6 +186,8 @@ bool need_srgb_conversion(model m)
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
@@ -201,6 +217,8 @@ const char * permission_name(feature f)
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return "com.picovr.permission.EYE_TRACKING";
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
@@ -222,6 +240,9 @@ const char * permission_name(feature f)
|
||||
case model::pico_neo_3:
|
||||
case model::pico_4:
|
||||
case model::pico_4s:
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return "com.picovr.permission.FACE_TRACKING";
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
case model::htc_vive_xr_elite:
|
||||
@@ -230,6 +251,15 @@ const char * permission_name(feature f)
|
||||
return nullptr;
|
||||
}
|
||||
__builtin_unreachable();
|
||||
case feature::body_tracking:
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_3s:
|
||||
return "com.oculus.permission.BODY_TRACKING";
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
__builtin_unreachable();
|
||||
}
|
||||
@@ -257,6 +287,8 @@ std::string controller_name()
|
||||
return "pico-neo3";
|
||||
case model::pico_4:
|
||||
case model::pico_4s: // TODO: split when we have the pico-4s 3d model
|
||||
case model::pico_4_pro:
|
||||
case model::pico_4_enterprise:
|
||||
return "pico-4";
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_focus_vision:
|
||||
@@ -316,6 +348,24 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
|
||||
default:
|
||||
break;
|
||||
}
|
||||
else if (profile == "meta-quest-touch-plus")
|
||||
{
|
||||
switch (space)
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.010, -0.025}, glm::angleAxis(glm::radians(-12.f), glm::vec3{1, 0, 0})};
|
||||
|
||||
case xr::spaces::aim_left:
|
||||
return {{0, 0, 0.03}, {1, 0, 0, 0}};
|
||||
|
||||
case xr::spaces::aim_right:
|
||||
return {{0, 0, 0.03}, {1, 0, 0, 0}};
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (profile == "htc-vive-focus-3")
|
||||
switch (space)
|
||||
{
|
||||
@@ -335,7 +385,7 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
|
||||
{
|
||||
case xr::spaces::grip_left:
|
||||
case xr::spaces::grip_right:
|
||||
return {{0, -0.030, -0.040}, glm::angleAxis(glm::radians(-35.f), glm::vec3{1, 0, 0})};
|
||||
return {{0, -0.014, -0.048}, glm::angleAxis(glm::radians(-35.060f), glm::vec3{1, 0, 0})};
|
||||
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -35,6 +35,8 @@ enum class model
|
||||
pico_neo_3,
|
||||
pico_4,
|
||||
pico_4s,
|
||||
pico_4_pro,
|
||||
pico_4_enterprise,
|
||||
htc_vive_focus_3,
|
||||
htc_vive_xr_elite,
|
||||
htc_vive_focus_vision,
|
||||
@@ -48,6 +50,7 @@ enum class feature
|
||||
hand_tracking,
|
||||
eye_gaze,
|
||||
face_tracking,
|
||||
body_tracking,
|
||||
};
|
||||
|
||||
model guess_model();
|
||||
|
||||
@@ -717,7 +717,7 @@ scene_renderer::per_frame_resources & scene_renderer::current_frame()
|
||||
|
||||
void scene_renderer::update_material_descriptor_set(scene_data::material & material)
|
||||
{
|
||||
if (!material.ds || !material.ds.unique())
|
||||
if (!material.ds || material.ds.use_count() != 1)
|
||||
material.ds = ds_pool_material.allocate();
|
||||
|
||||
vk::DescriptorSet ds = **material.ds;
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
struct suggested_binding
|
||||
{
|
||||
std::string profile_name;
|
||||
std::vector<std::string> profile_names;
|
||||
std::vector<action_binding> paths;
|
||||
};
|
||||
|
||||
|
||||
@@ -334,8 +334,6 @@ static void set_clipping_planes(node_handle node, std::span<glm::vec4> clipping_
|
||||
}
|
||||
}
|
||||
|
||||
node->visible = true;
|
||||
|
||||
for (auto child_node: node.children())
|
||||
{
|
||||
size_t nb_clipping_planes = std::min(child_node->clipping_planes.size(), clipping_planes.size());
|
||||
@@ -360,16 +358,12 @@ void input_profile::apply(XrSpace world_space, XrTime predicted_display_time, bo
|
||||
if ((space == xr::spaces::grip_left or space == xr::spaces::aim_left) and hide_left)
|
||||
{
|
||||
node->visible = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((space == xr::spaces::grip_right or space == xr::spaces::aim_right) and hide_right)
|
||||
else if ((space == xr::spaces::grip_right or space == xr::spaces::aim_right) and hide_right)
|
||||
{
|
||||
node->visible = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (auto location = application::locate_controller(application::space(space), world_space, predicted_display_time); location)
|
||||
else if (auto location = application::locate_controller(application::space(space), world_space, predicted_display_time); location)
|
||||
{
|
||||
node->visible = true;
|
||||
|
||||
|
||||
+31
-74
@@ -966,6 +966,12 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
||||
.depthMask = true,
|
||||
.compareOp = application::get_config().passthrough_enabled ? XR_COMPARE_OP_LESS_FB : XR_COMPARE_OP_LESS_OR_EQUAL_FB,
|
||||
};
|
||||
XrCompositionLayerDepthTestFB layer_depth_test_bg{
|
||||
.type = XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_FB,
|
||||
.next = nullptr,
|
||||
.depthMask = true,
|
||||
.compareOp = XR_COMPARE_OP_ALWAYS_FB,
|
||||
};
|
||||
|
||||
// if (composition_layer_depth_test_supported or not application::get_config().passthrough_enabled)
|
||||
layers_with_z_index.emplace_back(constants::lobby::zindex_lobby, reinterpret_cast<XrCompositionLayerBaseHeader *>(&lobby_layer));
|
||||
@@ -977,7 +983,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
||||
|
||||
if (composition_layer_depth_test_supported)
|
||||
{
|
||||
lobby_layer.next = &layer_depth_test;
|
||||
lobby_layer.next = &layer_depth_test_bg;
|
||||
|
||||
for (auto & [z_index, layer]: imgui_layers)
|
||||
{
|
||||
@@ -1168,9 +1174,20 @@ void scenes::lobby::on_focused()
|
||||
|
||||
imgui_ctx.emplace(physical_device, device, queue_family_index, queue, imgui_inputs, swapchain_imgui, vps);
|
||||
|
||||
std::string image;
|
||||
/* Could be used for more patriotics logos
|
||||
|
||||
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||
auto tm = std::localtime(&t);
|
||||
std::string image = tm->tm_mon == 5 ? "wivrn-pride" : "wivrn";
|
||||
|
||||
switch (tm->tm_mon)
|
||||
{
|
||||
default:
|
||||
image = "wivrn";
|
||||
break;
|
||||
}
|
||||
*/
|
||||
image = "wivrn";
|
||||
try
|
||||
{
|
||||
about_picture = imgui_ctx->load_texture(image + ".ktx2");
|
||||
@@ -1256,7 +1273,17 @@ scene::meta & scenes::lobby::get_meta_scene()
|
||||
},
|
||||
.bindings = {
|
||||
suggested_binding{
|
||||
"/interaction_profiles/oculus/touch_controller",
|
||||
{
|
||||
"/interaction_profiles/oculus/touch_controller",
|
||||
"/interaction_profiles/facebook/touch_controller_pro",
|
||||
"/interaction_profiles/meta/touch_pro_controller",
|
||||
"/interaction_profiles/meta/touch_controller_plus",
|
||||
"/interaction_profiles/meta/touch_plus_controller",
|
||||
"/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
"/interaction_profiles/bytedance/pico4_controller",
|
||||
"/interaction_profiles/bytedance/pico4s_controller",
|
||||
"/interaction_profiles/htc/vive_focus3_controller",
|
||||
},
|
||||
{
|
||||
{"left_aim", "/user/hand/left/input/aim/pose"},
|
||||
{"left_trigger", "/user/hand/left/input/trigger/value"},
|
||||
@@ -1274,79 +1301,9 @@ scene::meta & scenes::lobby::get_meta_scene()
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
{
|
||||
{"left_aim", "/user/hand/left/input/aim/pose"},
|
||||
{"left_trigger", "/user/hand/left/input/trigger/value"},
|
||||
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
|
||||
{"left_scroll", "/user/hand/left/input/thumbstick"},
|
||||
{"left_haptic", "/user/hand/left/output/haptic"},
|
||||
{"right_aim", "/user/hand/right/input/aim/pose"},
|
||||
{"right_trigger", "/user/hand/right/input/trigger/value"},
|
||||
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
|
||||
{"right_scroll", "/user/hand/right/input/thumbstick"},
|
||||
{"right_haptic", "/user/hand/right/output/haptic"},
|
||||
|
||||
{"recenter_left", "/user/hand/left/input/x/click"},
|
||||
{"recenter_right", "/user/hand/right/input/a/click"},
|
||||
"/interaction_profiles/khr/simple_controller",
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/bytedance/pico4_controller",
|
||||
{
|
||||
{"left_aim", "/user/hand/left/input/aim/pose"},
|
||||
{"left_trigger", "/user/hand/left/input/trigger/value"},
|
||||
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
|
||||
{"left_scroll", "/user/hand/left/input/thumbstick"},
|
||||
{"left_haptic", "/user/hand/left/output/haptic"},
|
||||
{"right_aim", "/user/hand/right/input/aim/pose"},
|
||||
{"right_trigger", "/user/hand/right/input/trigger/value"},
|
||||
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
|
||||
{"right_scroll", "/user/hand/right/input/thumbstick"},
|
||||
{"right_haptic", "/user/hand/right/output/haptic"},
|
||||
|
||||
{"recenter_left", "/user/hand/left/input/x/click"},
|
||||
{"recenter_right", "/user/hand/right/input/a/click"},
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/bytedance/pico4s_controller",
|
||||
{
|
||||
{"left_aim", "/user/hand/left/input/aim/pose"},
|
||||
{"left_trigger", "/user/hand/left/input/trigger/value"},
|
||||
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
|
||||
{"left_scroll", "/user/hand/left/input/thumbstick"},
|
||||
{"left_haptic", "/user/hand/left/output/haptic"},
|
||||
{"right_aim", "/user/hand/right/input/aim/pose"},
|
||||
{"right_trigger", "/user/hand/right/input/trigger/value"},
|
||||
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
|
||||
{"right_scroll", "/user/hand/right/input/thumbstick"},
|
||||
{"right_haptic", "/user/hand/right/output/haptic"},
|
||||
|
||||
{"recenter_left", "/user/hand/left/input/x/click"},
|
||||
{"recenter_right", "/user/hand/right/input/a/click"},
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/htc/vive_focus3_controller",
|
||||
{
|
||||
{"left_aim", "/user/hand/left/input/aim/pose"},
|
||||
{"left_trigger", "/user/hand/left/input/trigger/value"},
|
||||
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
|
||||
{"left_scroll", "/user/hand/left/input/thumbstick"},
|
||||
{"left_haptic", "/user/hand/left/output/haptic"},
|
||||
{"right_aim", "/user/hand/right/input/aim/pose"},
|
||||
{"right_trigger", "/user/hand/right/input/trigger/value"},
|
||||
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
|
||||
{"right_scroll", "/user/hand/right/input/thumbstick"},
|
||||
{"right_haptic", "/user/hand/right/output/haptic"},
|
||||
|
||||
{"recenter_left", "/user/hand/left/input/x/click"},
|
||||
{"recenter_right", "/user/hand/right/input/a/click"},
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/khr/simple_controller",
|
||||
{
|
||||
{"left_aim", "/user/hand/left/input/aim/pose"},
|
||||
{"left_trigger", "/user/hand/left/input/select/click"},
|
||||
|
||||
+72
-11
@@ -32,6 +32,7 @@
|
||||
#include "lobby.h"
|
||||
#include "stream.h"
|
||||
#include "utils/i18n.h"
|
||||
#include "utils/overloaded.h"
|
||||
#include "version.h"
|
||||
#include <cassert>
|
||||
#include <chrono>
|
||||
@@ -727,7 +728,7 @@ void scenes::lobby::gui_settings()
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
{
|
||||
ImGui::BeginDisabled(not(application::get_fb_face_tracking2_supported() or application::get_htc_face_tracking_eye_supported() or application::get_htc_face_tracking_lip_supported()));
|
||||
ImGui::BeginDisabled(not application::get_face_tracking_supported());
|
||||
bool enabled = config.check_feature(feature::face_tracking);
|
||||
if (ImGui::Checkbox(_S("Enable face tracking"), &enabled))
|
||||
{
|
||||
@@ -740,6 +741,61 @@ void scenes::lobby::gui_settings()
|
||||
vibrate_on_hover();
|
||||
}
|
||||
|
||||
{
|
||||
ImGui::BeginDisabled(not application::get_body_tracking_supported());
|
||||
bool enabled = config.check_feature(feature::body_tracking);
|
||||
if (ImGui::Checkbox(_S("Enable body tracking"), &enabled))
|
||||
{
|
||||
config.set_feature(feature::body_tracking, enabled);
|
||||
config.save();
|
||||
}
|
||||
ImGui::EndDisabled();
|
||||
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled))
|
||||
{
|
||||
if (ImGui::GetItemFlags() & ImGuiItemFlags_Disabled)
|
||||
{
|
||||
tooltip(_("This feature is not supported by your headset"));
|
||||
}
|
||||
else
|
||||
{
|
||||
std::visit(utils::overloaded{
|
||||
[](auto &) {},
|
||||
[this](xr::fb_body_tracker &) {
|
||||
tooltip(_("Requires 'Hand and body tracking' to be enabled in the Quest movement tracking settings,\notherwise body data will be guessed from controller and headset positions"));
|
||||
},
|
||||
},
|
||||
application::get_body_tracker());
|
||||
}
|
||||
}
|
||||
|
||||
vibrate_on_hover();
|
||||
}
|
||||
if (std::holds_alternative<xr::fb_body_tracker>(application::get_body_tracker()))
|
||||
{
|
||||
ImGui::BeginDisabled(not config.check_feature(feature::body_tracking));
|
||||
ImGui::Indent();
|
||||
if (ImGui::Checkbox(_S("Enable lower body tracking"), &config.fb_lower_body))
|
||||
{
|
||||
config.save();
|
||||
}
|
||||
vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
tooltip(_("Estimate lower body joint positions using Generative Legs\nRequires 'Hand and body tracking' to be enabled in the Quest movement tracking settings"));
|
||||
|
||||
ImGui::BeginDisabled(not config.fb_lower_body);
|
||||
if (ImGui::Checkbox(_S("Enable hip tracking"), &config.fb_hip))
|
||||
{
|
||||
config.save();
|
||||
}
|
||||
vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
tooltip(_("Only takes affect with lower body tracking enabled\nMay be desired when using another source of hip tracking"));
|
||||
ImGui::EndDisabled();
|
||||
|
||||
ImGui::Unindent();
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
|
||||
ImGui::BeginDisabled(passthrough_supported == xr::system::passthrough_type::no_passthrough);
|
||||
if (ImGui::Checkbox(_S("Enable video passthrough in lobby"), &config.passthrough_enabled))
|
||||
{
|
||||
@@ -1037,6 +1093,9 @@ void scenes::lobby::gui_about()
|
||||
ImGui::SetCursorPosX(win_width / 4);
|
||||
|
||||
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
|
||||
ImGui::PushFont(imgui_ctx->large_font);
|
||||
CenterTextH(std::string("Sneed'n'Chuck Edition"));
|
||||
ImGui::PopFont();
|
||||
}
|
||||
|
||||
void scenes::lobby::gui_licenses()
|
||||
@@ -1344,7 +1403,7 @@ static const char * get_face_icon(XrTime predicted_display_time)
|
||||
{
|
||||
static const auto w = face_weights();
|
||||
wivrn::from_headset::tracking::fb_face2 expression;
|
||||
application::get_fb_face_tracker2().get_weights(predicted_display_time, expression);
|
||||
std::get<xr::fb_face_tracker2>(application::get_face_tracker()).get_weights(predicted_display_time, expression);
|
||||
|
||||
if (not expression.is_valid)
|
||||
return ICON_FA_FACE_MEH;
|
||||
@@ -1408,25 +1467,27 @@ void scenes::lobby::draw_features_status(XrTime predicted_display_time)
|
||||
});
|
||||
}
|
||||
|
||||
if (application::get_fb_face_tracking2_supported())
|
||||
if (application::get_face_tracking_supported())
|
||||
{
|
||||
const char * icon_enabled = std::holds_alternative<xr::fb_face_tracker2>(application::get_face_tracker())
|
||||
? get_face_icon(predicted_display_time)
|
||||
: ICON_FA_FACE_KISS_WINK_HEART;
|
||||
items.push_back({
|
||||
.f = feature::face_tracking,
|
||||
.tooltip_enabled = _("Face tracking is enabled"),
|
||||
.tooltip_disabled = _("Face tracking is disabled"),
|
||||
.icon_enabled = get_face_icon(predicted_display_time),
|
||||
.icon_enabled = icon_enabled,
|
||||
.icon_disabled = ICON_FA_FACE_MEH_BLANK,
|
||||
});
|
||||
}
|
||||
|
||||
if (application::get_htc_face_tracking_eye_supported() or application::get_htc_face_tracking_lip_supported())
|
||||
if (application::get_body_tracking_supported())
|
||||
{
|
||||
items.push_back({
|
||||
.f = feature::face_tracking,
|
||||
.tooltip_enabled = _("Face tracking is enabled"),
|
||||
.tooltip_disabled = _("Face tracking is disabled"),
|
||||
.icon_enabled = ICON_FA_FACE_KISS_WINK_HEART,
|
||||
.icon_disabled = ICON_FA_FACE_MEH_BLANK,
|
||||
.f = feature::body_tracking,
|
||||
.tooltip_enabled = _("Body tracking is enabled"),
|
||||
.tooltip_disabled = _("Body tracking is disabled"),
|
||||
.icon_enabled = ICON_FA_PERSON,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1456,7 +1517,7 @@ void scenes::lobby::draw_features_status(XrTime predicted_display_time)
|
||||
if (&i != &items.front())
|
||||
ImGui::SameLine();
|
||||
auto pos = ImGui::GetCursorPos();
|
||||
if (ImGui::Button(i.enabled ? i.icon_enabled : i.icon_disabled))
|
||||
if (ImGui::Button(fmt::format("{}##{}", i.enabled ? i.icon_enabled : i.icon_disabled, i.icon_enabled).c_str()))
|
||||
{
|
||||
// button doesn't alter the bool
|
||||
config.set_feature(i.f, not i.enabled);
|
||||
|
||||
+132
-43
@@ -17,6 +17,11 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "utils/overloaded.h"
|
||||
#include "xr/fb_body_tracker.h"
|
||||
#include "xr/fb_face_tracker2.h"
|
||||
#include "xr/htc_body_tracker.h"
|
||||
#include "xr/pico_body_tracker.h"
|
||||
#include <openxr/openxr.h>
|
||||
#define GLM_FORCE_RADIANS
|
||||
|
||||
#include "stream.h"
|
||||
@@ -112,6 +117,21 @@ static const std::unordered_map<std::string, device_id> device_ids = {
|
||||
{"/user/hand/right/input/trackpad/force", device_id::RIGHT_TRACKPAD_FORCE},
|
||||
{"/user/hand/right/input/stylus/force", device_id::RIGHT_STYLUS_FORCE},
|
||||
{"/user/hand/right/input/stylus_fb/force", device_id::RIGHT_STYLUS_FORCE},
|
||||
|
||||
// XR_EXT_hand_interaction
|
||||
{"/user/hand/left/input/pinch_ext/value", device_id::LEFT_PINCH_VALUE},
|
||||
{"/user/hand/left/input/pinch_ext/ready_ext", device_id::LEFT_PINCH_READY},
|
||||
{"/user/hand/left/input/aim_activate_ext/value",device_id::LEFT_AIM_ACTIVATE_VALUE},
|
||||
{"/user/hand/left/input/aim_activate_ext/ready_ext",device_id::LEFT_AIM_ACTIVATE_READY},
|
||||
{"/user/hand/left/input/grasp_ext/value", device_id::LEFT_GRASP_VALUE},
|
||||
{"/user/hand/left/input/grasp_ext/ready_ext", device_id::LEFT_GRASP_READY},
|
||||
|
||||
{"/user/hand/right/input/pinch_ext/value", device_id::RIGHT_PINCH_VALUE},
|
||||
{"/user/hand/right/input/pinch_ext/ready_ext", device_id::RIGHT_PINCH_READY},
|
||||
{"/user/hand/right/input/aim_activate_ext/value",device_id::RIGHT_AIM_ACTIVATE_VALUE},
|
||||
{"/user/hand/right/input/aim_activate_ext/ready_ext",device_id::RIGHT_AIM_ACTIVATE_READY},
|
||||
{"/user/hand/right/input/grasp_ext/value", device_id::RIGHT_GRASP_VALUE},
|
||||
{"/user/hand/right/input/grasp_ext/ready_ext", device_id::RIGHT_GRASP_READY},
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
@@ -216,10 +236,35 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
|
||||
if (config.check_feature(feature::face_tracking))
|
||||
{
|
||||
if (application::get_fb_face_tracking2_supported())
|
||||
info.face_tracking = from_headset::face_type::fb2;
|
||||
else if (application::get_htc_face_tracking_eye_supported() or application::get_htc_face_tracking_lip_supported())
|
||||
info.face_tracking = from_headset::face_type::htc;
|
||||
info.face_tracking = std::visit(utils::overloaded{
|
||||
[](std::monostate &) {
|
||||
return from_headset::face_type::none;
|
||||
},
|
||||
[](xr::fb_face_tracker2 &) {
|
||||
return from_headset::face_type::fb2;
|
||||
},
|
||||
[](xr::htc_face_tracker &) {
|
||||
return from_headset::face_type::htc;
|
||||
},
|
||||
[](xr::pico_face_tracker &) {
|
||||
return from_headset::face_type::fb2;
|
||||
},
|
||||
},
|
||||
application::get_face_tracker());
|
||||
}
|
||||
|
||||
info.num_generic_trackers = 0;
|
||||
if (config.check_feature(feature::body_tracking))
|
||||
{
|
||||
info.num_generic_trackers = std::visit(utils::overloaded{
|
||||
[&](std::monostate &) {
|
||||
return size_t(0);
|
||||
},
|
||||
[&](auto & b) {
|
||||
return b.count();
|
||||
},
|
||||
},
|
||||
application::get_body_tracker());
|
||||
}
|
||||
|
||||
info.palm_pose = application::space(xr::spaces::palm_left) or application::space(xr::spaces::palm_right);
|
||||
@@ -238,9 +283,16 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
{
|
||||
for (uint8_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
self->network_session->send_control(from_headset::visibility_mask_changed{
|
||||
.data = get_visibility_mask(self->instance, self->session, view),
|
||||
.view_index = view});
|
||||
try
|
||||
{
|
||||
self->network_session->send_control(from_headset::visibility_mask_changed{
|
||||
.data = get_visibility_mask(self->instance, self->session, view),
|
||||
.view_index = view});
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Failed to get visibility mask: ", e.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -354,7 +406,10 @@ void scenes::stream::on_focused()
|
||||
}
|
||||
|
||||
assert(video_stream_description);
|
||||
setup_reprojection_swapchain();
|
||||
std::unique_lock lock(decoder_mutex);
|
||||
setup_reprojection_swapchain(
|
||||
video_stream_description->defoveated_width / view_count,
|
||||
video_stream_description->defoveated_height);
|
||||
}
|
||||
|
||||
void scenes::stream::on_unfocused()
|
||||
@@ -718,8 +773,6 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
|
||||
session.begin_frame();
|
||||
|
||||
int image_index = swapchain.acquire();
|
||||
swapchain.wait();
|
||||
std::array<int, view_count> image_indices;
|
||||
|
||||
command_buffer.reset();
|
||||
@@ -858,10 +911,44 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
}
|
||||
|
||||
command_buffer.writeTimestamp(vk::PipelineStageFlagBits::eBottomOfPipe, *query_pool, 1);
|
||||
reprojector->set_foveation(foveation);
|
||||
|
||||
// Unfoveate the image to the real pose
|
||||
reprojector->reproject(command_buffer, image_index);
|
||||
XrExtent2Di extents[view_count];
|
||||
{
|
||||
int32_t max_width = 0;
|
||||
int32_t max_height = 0;
|
||||
for (size_t i = 0; i < view_count; ++i)
|
||||
{
|
||||
extents[i] = reprojector->defoveated_size(foveation[i]);
|
||||
max_width = std::max(max_width, extents[i].width);
|
||||
max_height = std::max(max_height, extents[i].height);
|
||||
}
|
||||
// If the defoveated image is larger than the swapchain, try to reallocate one
|
||||
if (swapchain.width() < max_width or swapchain.height() < max_height)
|
||||
{
|
||||
try
|
||||
{
|
||||
spdlog::info("Recreating swapchain, from {}x{} to {}x{}",
|
||||
swapchain.width(),
|
||||
swapchain.height(),
|
||||
max_width,
|
||||
max_height);
|
||||
setup_reprojection_swapchain(max_width, max_height);
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("failed to increase swapchain size");
|
||||
for (size_t i = 0; i < view_count; ++i)
|
||||
{
|
||||
extents[i].width = std::min(extents[i].width, swapchain.width());
|
||||
extents[i].height = std::min(extents[i].height, swapchain.height());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// defoveate the image
|
||||
int image_index = swapchain.acquire();
|
||||
swapchain.wait();
|
||||
reprojector->reproject(command_buffer, foveation, image_index);
|
||||
|
||||
command_buffer.writeTimestamp(vk::PipelineStageFlagBits::eBottomOfPipe, *query_pool, 2);
|
||||
|
||||
@@ -906,10 +993,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
.swapchain = swapchain,
|
||||
.imageRect = {
|
||||
.offset = {0, 0},
|
||||
.extent = {
|
||||
swapchain.width(),
|
||||
swapchain.height(),
|
||||
},
|
||||
.extent = extents[view],
|
||||
},
|
||||
.imageArrayIndex = view,
|
||||
},
|
||||
@@ -1151,16 +1235,13 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
|
||||
}
|
||||
}
|
||||
|
||||
void scenes::stream::setup_reprojection_swapchain()
|
||||
void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint32_t swapchain_height)
|
||||
{
|
||||
std::unique_lock lock(decoder_mutex);
|
||||
device.waitIdle();
|
||||
session.set_refresh_rate(video_stream_description->fps);
|
||||
|
||||
const uint32_t video_width = video_stream_description->width / view_count;
|
||||
const uint32_t video_height = video_stream_description->height;
|
||||
uint32_t swapchain_width = video_width / video_stream_description->foveation[0].x.scale;
|
||||
uint32_t swapchain_height = video_height / video_stream_description->foveation[0].y.scale;
|
||||
|
||||
const configuration::sgsr_settings sgsr = application::get_config().sgsr;
|
||||
if (sgsr.enabled)
|
||||
@@ -1187,7 +1268,15 @@ void scenes::stream::setup_reprojection_swapchain()
|
||||
for (auto & image: swapchain.images())
|
||||
swapchain_images.push_back(image.image);
|
||||
|
||||
reprojector.emplace(device, physical_device, decoder_out_image, 2, swapchain_images, extent, swapchain.format(), *video_stream_description);
|
||||
reprojector.emplace(
|
||||
device,
|
||||
physical_device,
|
||||
decoder_out_image,
|
||||
vk::Extent2D{.width = video_width, .height = video_height},
|
||||
2,
|
||||
swapchain_images,
|
||||
extent,
|
||||
swapchain.format());
|
||||
}
|
||||
|
||||
scene::meta & scenes::stream::get_meta_scene()
|
||||
@@ -1200,35 +1289,25 @@ scene::meta & scenes::stream::get_meta_scene()
|
||||
},
|
||||
.bindings = {
|
||||
suggested_binding{
|
||||
"/interaction_profiles/oculus/touch_controller",
|
||||
{
|
||||
"/interaction_profiles/oculus/touch_controller",
|
||||
"/interaction_profiles/facebook/touch_controller_pro",
|
||||
"/interaction_profiles/meta/touch_pro_controller",
|
||||
"/interaction_profiles/meta/touch_controller_plus",
|
||||
"/interaction_profiles/meta/touch_plus_controller",
|
||||
"/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
"/interaction_profiles/bytedance/pico4_controller",
|
||||
"/interaction_profiles/htc/vive_focus3_controller",
|
||||
},
|
||||
{
|
||||
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
|
||||
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/bytedance/pico_neo3_controller",
|
||||
{
|
||||
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
|
||||
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
|
||||
"/interaction_profiles/khr/simple_controller",
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/bytedance/pico4_controller",
|
||||
{
|
||||
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
|
||||
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/htc/vive_focus3_controller",
|
||||
{
|
||||
{"plots_toggle_1", "/user/hand/left/input/thumbstick/click"},
|
||||
{"plots_toggle_2", "/user/hand/right/input/thumbstick/click"},
|
||||
},
|
||||
},
|
||||
suggested_binding{
|
||||
"/interaction_profiles/khr/simple_controller",
|
||||
{},
|
||||
},
|
||||
},
|
||||
@@ -1257,6 +1336,16 @@ void scenes::stream::on_xr_event(const xr::event & event)
|
||||
.view_index = uint8_t(event.visibility_mask_changed.viewIndex),
|
||||
});
|
||||
break;
|
||||
case XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED:
|
||||
network_session->send_control(from_headset::session_state_changed{
|
||||
.state = event.state_changed.state,
|
||||
});
|
||||
break;
|
||||
case XR_TYPE_EVENT_DATA_USER_PRESENCE_CHANGED_EXT:
|
||||
network_session->send_control(from_headset::user_presence_changed{
|
||||
.present = (bool)event.user_presence_changed.isUserPresent,
|
||||
});
|
||||
break;
|
||||
case XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED:
|
||||
on_interaction_profile_changed(event.interaction_profile_changed);
|
||||
break;
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include "wifi_lock.h"
|
||||
#include "wivrn_client.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/passthrough.h"
|
||||
#include <mutex>
|
||||
#include <shared_mutex>
|
||||
#include <thread>
|
||||
@@ -104,8 +103,6 @@ private:
|
||||
|
||||
std::optional<stream_reprojection> reprojector;
|
||||
|
||||
std::optional<xr::passthrough> passthrough;
|
||||
|
||||
vk::raii::Fence fence = nullptr;
|
||||
vk::raii::CommandBuffer command_buffer = nullptr;
|
||||
|
||||
@@ -183,7 +180,7 @@ private:
|
||||
void on_interaction_profile_changed(const XrEventDataInteractionProfileChanged &);
|
||||
|
||||
void setup(const to_headset::video_stream_description &);
|
||||
void setup_reprojection_swapchain();
|
||||
void setup_reprojection_swapchain(uint32_t width, uint32_t height);
|
||||
void exit();
|
||||
|
||||
vk::raii::QueryPool query_pool = nullptr;
|
||||
|
||||
@@ -20,30 +20,24 @@
|
||||
#include "stream_reprojection.h"
|
||||
#include "application.h"
|
||||
#include "utils/contains.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "vk/allocation.h"
|
||||
#include "vk/pipeline.h"
|
||||
#include "vk/shader.h"
|
||||
#include <array>
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtx/quaternion.hpp>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <vk_mem_alloc.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
namespace
|
||||
struct stream_reprojection::vertex
|
||||
{
|
||||
struct uniform
|
||||
{
|
||||
// Foveation parameters
|
||||
alignas(8) glm::vec2 a;
|
||||
alignas(8) glm::vec2 b;
|
||||
alignas(8) glm::vec2 lambda;
|
||||
alignas(8) glm::vec2 xc;
|
||||
// output image position
|
||||
alignas(8) glm::vec2 position;
|
||||
// input texture coordinates
|
||||
alignas(8) glm::vec2 uv;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
const int nb_reprojection_vertices = 128;
|
||||
|
||||
struct SgsrSpecializationConstants
|
||||
{
|
||||
@@ -52,24 +46,47 @@ struct SgsrSpecializationConstants
|
||||
float edge_sharpness;
|
||||
};
|
||||
|
||||
void stream_reprojection::ensure_vertices(size_t num_vertices)
|
||||
{
|
||||
vk::BufferCreateInfo create_info{
|
||||
.size = num_vertices * sizeof(vertex) * view_count,
|
||||
.usage = vk::BufferUsageFlagBits::eVertexBuffer,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
};
|
||||
|
||||
if (create_info.size <= buffer.info().size)
|
||||
return;
|
||||
|
||||
VmaAllocationCreateInfo alloc_info{
|
||||
.requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
|
||||
};
|
||||
|
||||
buffer = buffer_allocation(device, create_info, alloc_info);
|
||||
vertices_size = num_vertices * sizeof(vertex);
|
||||
}
|
||||
|
||||
stream_reprojection::vertex * stream_reprojection::get_vertices(size_t view)
|
||||
{
|
||||
assert(buffer);
|
||||
return reinterpret_cast<vertex *>(reinterpret_cast<uintptr_t>(buffer.map()) + view * vertices_size);
|
||||
}
|
||||
|
||||
stream_reprojection::stream_reprojection(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
vk::Image input_image_,
|
||||
vk::Extent2D input_extent,
|
||||
uint32_t view_count,
|
||||
std::vector<vk::Image> output_images_,
|
||||
vk::Extent2D extent,
|
||||
vk::Format format,
|
||||
const wivrn::to_headset::video_stream_description & description) :
|
||||
vk::Extent2D output_extent,
|
||||
vk::Format format) :
|
||||
view_count(view_count),
|
||||
device(device),
|
||||
input_image(input_image_),
|
||||
input_extent(input_extent),
|
||||
output_images(std::move(output_images_)),
|
||||
extent(extent)
|
||||
output_extent(output_extent)
|
||||
{
|
||||
foveation_parameters = description.foveation;
|
||||
|
||||
vk::PhysicalDeviceProperties properties = physical_device.getProperties();
|
||||
|
||||
vk::SamplerCreateInfo sampler_info{
|
||||
.magFilter = vk::Filter::eLinear,
|
||||
.minFilter = vk::Filter::eLinear,
|
||||
@@ -93,35 +110,12 @@ stream_reprojection::stream_reprojection(
|
||||
|
||||
sampler = vk::raii::Sampler(device, sampler_info);
|
||||
|
||||
uniform_size = sizeof(uniform) + properties.limits.minUniformBufferOffsetAlignment - 1;
|
||||
uniform_size = uniform_size - uniform_size % properties.limits.minUniformBufferOffsetAlignment;
|
||||
|
||||
vk::BufferCreateInfo create_info{
|
||||
.size = uniform_size * view_count,
|
||||
.usage = vk::BufferUsageFlagBits::eUniformBuffer,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
};
|
||||
|
||||
VmaAllocationCreateInfo alloc_info{
|
||||
.requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
|
||||
};
|
||||
|
||||
buffer = buffer_allocation(device, create_info, alloc_info);
|
||||
|
||||
// Create VkDescriptorSetLayout
|
||||
std::array layout_binding{
|
||||
vk::DescriptorSetLayoutBinding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
},
|
||||
vk::DescriptorSetLayoutBinding{
|
||||
.binding = 1,
|
||||
.descriptorType = vk::DescriptorType::eUniformBuffer,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eVertex | vk::ShaderStageFlagBits::eFragment,
|
||||
},
|
||||
vk::DescriptorSetLayoutBinding layout_binding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
};
|
||||
|
||||
vk::DescriptorSetLayoutCreateInfo layout_info;
|
||||
@@ -134,10 +128,6 @@ stream_reprojection::stream_reprojection(
|
||||
.type = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = (uint32_t)view_count,
|
||||
},
|
||||
vk::DescriptorPoolSize{
|
||||
.type = vk::DescriptorType::eUniformBuffer,
|
||||
.descriptorCount = (uint32_t)view_count,
|
||||
},
|
||||
};
|
||||
|
||||
vk::DescriptorPoolCreateInfo pool_info{
|
||||
@@ -186,13 +176,7 @@ stream_reprojection::stream_reprojection(
|
||||
.imageLayout = vk::ImageLayout::eShaderReadOnlyOptimal,
|
||||
};
|
||||
|
||||
vk::DescriptorBufferInfo buffer_info{
|
||||
.buffer = buffer,
|
||||
.offset = uniform_size * view,
|
||||
.range = sizeof(uniform),
|
||||
};
|
||||
|
||||
std::array write{
|
||||
device.updateDescriptorSets(
|
||||
vk::WriteDescriptorSet{
|
||||
.dstSet = descriptor_set,
|
||||
.dstBinding = 0,
|
||||
@@ -201,17 +185,7 @@ stream_reprojection::stream_reprojection(
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.pImageInfo = &image_info,
|
||||
},
|
||||
vk::WriteDescriptorSet{
|
||||
.dstSet = descriptor_set,
|
||||
.dstBinding = 1,
|
||||
.dstArrayElement = 0,
|
||||
.descriptorCount = 1,
|
||||
.descriptorType = vk::DescriptorType::eUniformBuffer,
|
||||
.pBufferInfo = &buffer_info,
|
||||
},
|
||||
};
|
||||
|
||||
device.updateDescriptorSets(write, {});
|
||||
{});
|
||||
}
|
||||
|
||||
// Create renderpass
|
||||
@@ -248,40 +222,6 @@ stream_reprojection::stream_reprojection(
|
||||
// Vertex shader
|
||||
vk::raii::ShaderModule vertex_shader = load_shader(device, "reprojection.vert");
|
||||
|
||||
int vertex_specialization_constants[] = {
|
||||
foveation_parameters[0].x.scale < 1,
|
||||
foveation_parameters[0].y.scale < 1,
|
||||
nb_reprojection_vertices,
|
||||
nb_reprojection_vertices,
|
||||
};
|
||||
|
||||
std::array vertex_specialization_constants_desc{
|
||||
vk::SpecializationMapEntry{
|
||||
.constantID = 0,
|
||||
.offset = 0,
|
||||
.size = sizeof(int),
|
||||
},
|
||||
vk::SpecializationMapEntry{
|
||||
.constantID = 1,
|
||||
.offset = sizeof(int),
|
||||
.size = sizeof(int),
|
||||
},
|
||||
vk::SpecializationMapEntry{
|
||||
.constantID = 2,
|
||||
.offset = 2 * sizeof(int),
|
||||
.size = sizeof(int),
|
||||
},
|
||||
vk::SpecializationMapEntry{
|
||||
.constantID = 3,
|
||||
.offset = 3 * sizeof(int),
|
||||
.size = sizeof(int),
|
||||
},
|
||||
};
|
||||
|
||||
vk::SpecializationInfo vertex_specialization_info;
|
||||
vertex_specialization_info.setMapEntries(vertex_specialization_constants_desc);
|
||||
vertex_specialization_info.setData<int>(vertex_specialization_constants);
|
||||
|
||||
// Fragment shader
|
||||
std::string fragment_shader_name = "reprojection.frag";
|
||||
|
||||
@@ -337,7 +277,6 @@ stream_reprojection::stream_reprojection(
|
||||
.stage = vk::ShaderStageFlagBits::eVertex,
|
||||
.module = *vertex_shader,
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = &vertex_specialization_info,
|
||||
},
|
||||
{
|
||||
.stage = vk::ShaderStageFlagBits::eFragment,
|
||||
@@ -346,22 +285,41 @@ stream_reprojection::stream_reprojection(
|
||||
.pSpecializationInfo = &fragment_specialization_info,
|
||||
},
|
||||
},
|
||||
.VertexBindingDescriptions = {},
|
||||
.VertexAttributeDescriptions = {},
|
||||
.VertexBindingDescriptions = {
|
||||
{
|
||||
.binding = 0,
|
||||
.stride = sizeof(vertex),
|
||||
.inputRate = vk::VertexInputRate::eVertex,
|
||||
},
|
||||
},
|
||||
.VertexAttributeDescriptions = {
|
||||
{
|
||||
.location = 0,
|
||||
.binding = 0,
|
||||
.format = vk::Format::eR32G32Sfloat,
|
||||
.offset = offsetof(vertex, position),
|
||||
},
|
||||
{
|
||||
.location = 1,
|
||||
.binding = 0,
|
||||
.format = vk::Format::eR32G32Sfloat,
|
||||
.offset = offsetof(vertex, uv),
|
||||
},
|
||||
},
|
||||
.InputAssemblyState = {{
|
||||
.topology = vk::PrimitiveTopology::eTriangleList,
|
||||
.topology = vk::PrimitiveTopology::eTriangleStrip,
|
||||
}},
|
||||
.Viewports = {{
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.width = (float)extent.width,
|
||||
.height = (float)extent.height,
|
||||
.width = (float)output_extent.width,
|
||||
.height = (float)output_extent.height,
|
||||
.minDepth = 0,
|
||||
.maxDepth = 1,
|
||||
}},
|
||||
.Scissors = {{
|
||||
.offset = {.x = 0, .y = 0},
|
||||
.extent = extent,
|
||||
.extent = output_extent,
|
||||
}},
|
||||
.RasterizationState = {{
|
||||
.polygonMode = vk::PolygonMode::eFill,
|
||||
@@ -411,8 +369,8 @@ stream_reprojection::stream_reprojection(
|
||||
|
||||
vk::FramebufferCreateInfo fb_create_info{
|
||||
.renderPass = *renderpass,
|
||||
.width = extent.width,
|
||||
.height = extent.height,
|
||||
.width = output_extent.width,
|
||||
.height = output_extent.height,
|
||||
.layers = 1,
|
||||
};
|
||||
fb_create_info.setAttachments(*output_image_views.back());
|
||||
@@ -422,28 +380,73 @@ stream_reprojection::stream_reprojection(
|
||||
}
|
||||
}
|
||||
|
||||
void stream_reprojection::reproject(vk::raii::CommandBuffer & command_buffer, int destination)
|
||||
static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p)
|
||||
{
|
||||
// strips are constructed like this:
|
||||
// 0 2 4
|
||||
// 1 3 5 5*
|
||||
// there is one such line per value in y
|
||||
// the last element is repeated to break the line
|
||||
return (2 * (p.x.size() + 1) + 1) * p.y.size();
|
||||
}
|
||||
|
||||
void stream_reprojection::reproject(vk::raii::CommandBuffer & command_buffer,
|
||||
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
|
||||
int destination)
|
||||
{
|
||||
if (destination < 0 || destination >= (int)output_images.size())
|
||||
throw std::runtime_error("Invalid destination image index");
|
||||
|
||||
ensure_vertices(std::max(required_vertices(foveation[0]), required_vertices(foveation[1])));
|
||||
|
||||
for (size_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
auto & ubo = *reinterpret_cast<uniform *>(reinterpret_cast<uintptr_t>(buffer.map()) + view * uniform_size);
|
||||
if (foveation_parameters[view].x.scale < 1)
|
||||
{
|
||||
ubo.a.x = foveation_parameters[view].x.a;
|
||||
ubo.b.x = foveation_parameters[view].x.b;
|
||||
ubo.lambda.x = foveation_parameters[view].x.scale / foveation_parameters[view].x.a;
|
||||
ubo.xc.x = foveation_parameters[view].x.center;
|
||||
}
|
||||
auto vertices = get_vertices(view);
|
||||
const auto & [px, py] = foveation[view];
|
||||
assert(px.size() % 2 == 1);
|
||||
assert(py.size() % 2 == 1);
|
||||
const int n_ratio_y = (py.size() - 1) / 2;
|
||||
const int n_ratio_x = (px.size() - 1) / 2;
|
||||
|
||||
if (foveation_parameters[view].y.scale < 1)
|
||||
glm::vec2 in(0), out(0); // pixel coordinates
|
||||
glm::vec2 in_pixel_size(1. / input_extent.width,
|
||||
1. / input_extent.height);
|
||||
glm::vec2 out_pixel_size(2. / output_extent.width,
|
||||
2. / output_extent.height);
|
||||
for (auto [iy, n_out_y]: utils::enumerate_range(py))
|
||||
{
|
||||
ubo.a.y = foveation_parameters[view].y.a;
|
||||
ubo.b.y = foveation_parameters[view].y.b;
|
||||
ubo.lambda.y = foveation_parameters[view].y.scale / foveation_parameters[view].y.a;
|
||||
ubo.xc.y = foveation_parameters[view].y.center;
|
||||
// number of output pixels per source pixels
|
||||
const int ratio_y = std::abs(n_ratio_y - int(iy)) + 1;
|
||||
in.x = 0;
|
||||
out.x = 0;
|
||||
for (auto [ix, n_out_x]: utils::enumerate_range(px))
|
||||
{
|
||||
const int ratio_x = std::abs(n_ratio_x - int(ix)) + 1;
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
};
|
||||
*vertices++ = {
|
||||
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size - glm::vec2(1),
|
||||
.uv = (in + glm::vec2(0, n_out_y)) * in_pixel_size,
|
||||
};
|
||||
in.x += n_out_x;
|
||||
out.x += n_out_x * ratio_x;
|
||||
}
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
};
|
||||
in.y += n_out_y;
|
||||
out.y += n_out_y * ratio_y;
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
};
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -473,19 +476,36 @@ void stream_reprojection::reproject(vk::raii::CommandBuffer & command_buffer, in
|
||||
.framebuffer = *framebuffers[destination * view_count + view],
|
||||
.renderArea = {
|
||||
.offset = {0, 0},
|
||||
.extent = extent,
|
||||
.extent = output_extent,
|
||||
},
|
||||
};
|
||||
|
||||
command_buffer.beginRenderPass(begin_info, vk::SubpassContents::eInline);
|
||||
command_buffer.bindPipeline(vk::PipelineBindPoint::eGraphics, *pipeline);
|
||||
command_buffer.bindDescriptorSets(vk::PipelineBindPoint::eGraphics, *layout, 0, descriptor_sets[view], {});
|
||||
command_buffer.draw(6 * nb_reprojection_vertices * nb_reprojection_vertices, 1, 0, 0);
|
||||
command_buffer.bindVertexBuffers(0, vk::Buffer(buffer), vertices_size * view);
|
||||
command_buffer.draw(required_vertices(foveation[view]), 1, 0, 0);
|
||||
command_buffer.endRenderPass();
|
||||
}
|
||||
}
|
||||
|
||||
void stream_reprojection::set_foveation(std::array<wivrn::to_headset::foveation_parameter, 2> foveation)
|
||||
static uint16_t count_pixels(const std::vector<uint16_t> & param)
|
||||
{
|
||||
foveation_parameters = foveation;
|
||||
uint16_t res = 0;
|
||||
const int n_ratio = (param.size() - 1) / 2;
|
||||
for (auto [i, n_out]: utils::enumerate_range(param))
|
||||
{
|
||||
// number of output pixels per source pixels
|
||||
const int ratio = std::abs(n_ratio - int(i)) + 1;
|
||||
res += ratio * n_out;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
XrExtent2Di stream_reprojection::defoveated_size(const wivrn::to_headset::foveation_parameter & view) const
|
||||
{
|
||||
return {
|
||||
count_pixels(view.x),
|
||||
count_pixels(view.y),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,10 +26,13 @@
|
||||
|
||||
class stream_reprojection
|
||||
{
|
||||
struct vertex;
|
||||
const uint32_t view_count;
|
||||
// Uniform buffer
|
||||
// Vertex buffer
|
||||
buffer_allocation buffer;
|
||||
size_t uniform_size;
|
||||
size_t vertices_size = 0;
|
||||
|
||||
vk::raii::Device & device;
|
||||
|
||||
// Graphic pipeline
|
||||
vk::raii::DescriptorSetLayout descriptor_set_layout = nullptr;
|
||||
@@ -43,32 +46,34 @@ class stream_reprojection
|
||||
vk::Image input_image;
|
||||
std::vector<vk::raii::ImageView> input_image_views;
|
||||
std::vector<vk::DescriptorSet> descriptor_sets;
|
||||
vk::Extent2D input_extent;
|
||||
|
||||
// Destination images
|
||||
std::vector<vk::Image> output_images;
|
||||
std::vector<vk::raii::ImageView> output_image_views;
|
||||
std::vector<vk::raii::Framebuffer> framebuffers;
|
||||
vk::Extent2D extent;
|
||||
vk::Extent2D output_extent;
|
||||
|
||||
// Foveation
|
||||
std::array<wivrn::to_headset::foveation_parameter, 2> foveation_parameters;
|
||||
void ensure_vertices(size_t num_vertices);
|
||||
vertex * get_vertices(size_t view);
|
||||
|
||||
public:
|
||||
stream_reprojection(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
vk::Image input_image,
|
||||
vk::Extent2D input_extent,
|
||||
uint32_t view_count,
|
||||
std::vector<vk::Image> output_images,
|
||||
vk::Extent2D extent,
|
||||
vk::Format format,
|
||||
const wivrn::to_headset::video_stream_description & description);
|
||||
vk::Extent2D output_extent,
|
||||
vk::Format format);
|
||||
|
||||
stream_reprojection(const stream_reprojection &) = delete;
|
||||
|
||||
void reproject(
|
||||
vk::raii::CommandBuffer & command_buffer,
|
||||
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
|
||||
int destination);
|
||||
|
||||
void set_foveation(std::array<wivrn::to_headset::foveation_parameter, 2> foveation);
|
||||
XrExtent2Di defoveated_size(const wivrn::to_headset::foveation_parameter &) const;
|
||||
};
|
||||
|
||||
+347
-152
@@ -19,7 +19,10 @@
|
||||
|
||||
#include "application.h"
|
||||
#include "stream.h"
|
||||
#include "utils/overloaded.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/fb_body_tracker.h"
|
||||
#include <magic_enum.hpp>
|
||||
#include <ranges>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <thread>
|
||||
@@ -33,46 +36,28 @@ using tid = to_headset::tracking_control::id;
|
||||
static const XrDuration min_tracking_period = 2'000'000;
|
||||
static const XrDuration max_tracking_period = 5'000'000;
|
||||
|
||||
static from_headset::tracking::pose locate_space(device_id device, XrSpace space, XrSpace reference, XrTime time)
|
||||
static uint8_t cast_flags(XrSpaceLocationFlags location, XrSpaceVelocityFlags velocity)
|
||||
{
|
||||
XrSpaceVelocity velocity{
|
||||
.type = XR_TYPE_SPACE_VELOCITY,
|
||||
};
|
||||
uint8_t flags = 0;
|
||||
if (location & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
flags |= from_headset::tracking::orientation_valid;
|
||||
|
||||
XrSpaceLocation location{
|
||||
.type = XR_TYPE_SPACE_LOCATION,
|
||||
.next = &velocity,
|
||||
};
|
||||
if (location & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
flags |= from_headset::tracking::position_valid;
|
||||
|
||||
xrLocateSpace(space, reference, time, &location);
|
||||
if (velocity & XR_SPACE_VELOCITY_LINEAR_VALID_BIT)
|
||||
flags |= from_headset::tracking::linear_velocity_valid;
|
||||
|
||||
from_headset::tracking::pose res{
|
||||
.pose = location.pose,
|
||||
.linear_velocity = velocity.linearVelocity,
|
||||
.angular_velocity = velocity.angularVelocity,
|
||||
.device = device,
|
||||
.flags = 0,
|
||||
};
|
||||
if (velocity & XR_SPACE_VELOCITY_ANGULAR_VALID_BIT)
|
||||
flags |= from_headset::tracking::angular_velocity_valid;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
res.flags |= from_headset::tracking::orientation_valid;
|
||||
if (location & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
flags |= from_headset::tracking::orientation_tracked;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
res.flags |= from_headset::tracking::position_valid;
|
||||
if (location & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
flags |= from_headset::tracking::position_tracked;
|
||||
|
||||
if (velocity.velocityFlags & XR_SPACE_VELOCITY_LINEAR_VALID_BIT)
|
||||
res.flags |= from_headset::tracking::linear_velocity_valid;
|
||||
|
||||
if (velocity.velocityFlags & XR_SPACE_VELOCITY_ANGULAR_VALID_BIT)
|
||||
res.flags |= from_headset::tracking::angular_velocity_valid;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
res.flags |= from_headset::tracking::orientation_tracked;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
res.flags |= from_headset::tracking::position_tracked;
|
||||
|
||||
return res;
|
||||
return flags;
|
||||
}
|
||||
|
||||
namespace
|
||||
@@ -90,6 +75,122 @@ public:
|
||||
return instance.now() - start;
|
||||
}
|
||||
};
|
||||
|
||||
from_headset::tracking::pose locate_space(device_id device, XrSpace space, XrSpace reference, XrTime time)
|
||||
{
|
||||
XrSpaceVelocity velocity{
|
||||
.type = XR_TYPE_SPACE_VELOCITY,
|
||||
};
|
||||
|
||||
XrSpaceLocation location{
|
||||
.type = XR_TYPE_SPACE_LOCATION,
|
||||
.next = &velocity,
|
||||
};
|
||||
|
||||
auto res = xrLocateSpace(space, reference, time, &location);
|
||||
|
||||
if (XR_SUCCEEDED(res))
|
||||
return {
|
||||
.pose = location.pose,
|
||||
.linear_velocity = velocity.linearVelocity,
|
||||
.angular_velocity = velocity.angularVelocity,
|
||||
.device = device,
|
||||
.flags = cast_flags(location.locationFlags, velocity.velocityFlags),
|
||||
};
|
||||
spdlog::warn("xrLocateSpace failed for {}: {}", magic_enum::enum_name(device), xr::to_string(res));
|
||||
return {};
|
||||
}
|
||||
|
||||
class locate_spaces_functor
|
||||
{
|
||||
std::vector<XrSpaceLocationData> locations;
|
||||
std::vector<XrSpaceVelocityData> velocities;
|
||||
std::vector<wivrn::device_id> devices;
|
||||
std::vector<XrSpace> spaces;
|
||||
XrSpace reference;
|
||||
PFN_xrLocateSpaces locate_spaces = nullptr;
|
||||
|
||||
public:
|
||||
locate_spaces_functor(xr::instance & instance, XrSpace reference) :
|
||||
reference(reference)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (instance.get_api_version() >= XR_MAKE_VERSION(1, 1, 0))
|
||||
locate_spaces = instance.get_proc<PFN_xrLocateSpaces>("xrLocateSpaces");
|
||||
else
|
||||
locate_spaces = instance.get_proc<PFN_xrLocateSpacesKHR>("xrLocateSpacesKHR");
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Failed to load xrLocateSpaces function, fallback to xrLocateSpace");
|
||||
}
|
||||
}
|
||||
|
||||
void add_space(wivrn::device_id device, XrSpace space, XrTime t, std::vector<from_headset::tracking::pose> & out)
|
||||
{
|
||||
if (locate_spaces)
|
||||
{
|
||||
// store, will be located later
|
||||
devices.push_back(device);
|
||||
spaces.push_back(space);
|
||||
}
|
||||
else
|
||||
out.push_back(locate_space(device, space, reference, t));
|
||||
}
|
||||
|
||||
void resolve(
|
||||
xr::session & session,
|
||||
XrTime t,
|
||||
std::vector<from_headset::tracking::pose> & out)
|
||||
{
|
||||
assert(devices.size() == spaces.size());
|
||||
if (locate_spaces)
|
||||
{
|
||||
locations.resize(spaces.size());
|
||||
velocities.resize(spaces.size());
|
||||
XrSpaceVelocities spc_velocities{
|
||||
.type = XR_TYPE_SPACE_VELOCITIES,
|
||||
.velocityCount = uint32_t(velocities.size()),
|
||||
.velocities = velocities.data(),
|
||||
};
|
||||
XrSpaceLocations spc_locations{
|
||||
.type = XR_TYPE_SPACE_LOCATIONS,
|
||||
.locationCount = uint32_t(locations.size()),
|
||||
.locations = locations.data(),
|
||||
};
|
||||
XrSpacesLocateInfo info{
|
||||
.type = XR_TYPE_SPACES_LOCATE_INFO,
|
||||
.baseSpace = reference,
|
||||
.time = t,
|
||||
.spaceCount = uint32_t(spaces.size()),
|
||||
.spaces = spaces.data(),
|
||||
};
|
||||
auto res = locate_spaces(session, &info, &spc_locations);
|
||||
if (XR_SUCCEEDED(res))
|
||||
{
|
||||
for (size_t i = 0; i < devices.size(); ++i)
|
||||
{
|
||||
const auto & location = locations[i];
|
||||
const auto & velocity = velocities[i];
|
||||
|
||||
out.push_back({
|
||||
.pose = location.pose,
|
||||
.linear_velocity = velocity.linearVelocity,
|
||||
.angular_velocity = velocity.angularVelocity,
|
||||
.device = devices[i],
|
||||
.flags = cast_flags(location.locationFlags, velocity.velocityFlags),
|
||||
});
|
||||
}
|
||||
}
|
||||
else
|
||||
spdlog::warn("xrLocateSpaces failed: {}", xr::to_string(res));
|
||||
devices.clear();
|
||||
spaces.clear();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
static std::optional<std::array<from_headset::hand_tracking::pose, XR_HAND_JOINT_COUNT_EXT>> locate_hands(xr::hand_tracker & hand, XrSpace space, XrTime time)
|
||||
@@ -133,31 +234,6 @@ static std::optional<std::array<from_headset::hand_tracking::pose, XR_HAND_JOINT
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
static bool enabled(const to_headset::tracking_control & control, device_id id)
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
case device_id::HEAD:
|
||||
case device_id::EYE_GAZE:
|
||||
return true;
|
||||
case device_id::LEFT_AIM:
|
||||
return control.enabled[size_t(tid::left_aim)];
|
||||
case device_id::LEFT_GRIP:
|
||||
return control.enabled[size_t(tid::left_grip)];
|
||||
case device_id::LEFT_PALM:
|
||||
return control.enabled[size_t(tid::left_palm)];
|
||||
case device_id::RIGHT_AIM:
|
||||
return control.enabled[size_t(tid::right_aim)];
|
||||
case device_id::RIGHT_GRIP:
|
||||
return control.enabled[size_t(tid::right_grip)];
|
||||
case device_id::RIGHT_PALM:
|
||||
return control.enabled[size_t(tid::right_palm)];
|
||||
default:
|
||||
break;
|
||||
}
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
static T & from_pool(std::vector<T> & container, std::vector<T> & pool)
|
||||
{
|
||||
@@ -182,12 +258,20 @@ static xr::spaces device_to_space(device_id id)
|
||||
return xr::spaces::grip_left;
|
||||
case device_id::LEFT_PALM:
|
||||
return xr::spaces::palm_left;
|
||||
case device_id::LEFT_PINCH_POSE:
|
||||
return xr::spaces::pinch_left;
|
||||
case device_id::LEFT_POKE:
|
||||
return xr::spaces::poke_left;
|
||||
case device_id::RIGHT_AIM:
|
||||
return xr::spaces::aim_right;
|
||||
case device_id::RIGHT_GRIP:
|
||||
return xr::spaces::grip_right;
|
||||
case device_id::RIGHT_PALM:
|
||||
return xr::spaces::palm_right;
|
||||
case device_id::RIGHT_PINCH_POSE:
|
||||
return xr::spaces::pinch_right;
|
||||
case device_id::RIGHT_POKE:
|
||||
return xr::spaces::poke_right;
|
||||
default:
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
@@ -205,20 +289,66 @@ void scenes::stream::tracking()
|
||||
#endif
|
||||
|
||||
std::vector<std::pair<device_id, XrSpace>> spaces;
|
||||
for (auto id: {
|
||||
device_id::HEAD,
|
||||
device_id::LEFT_AIM,
|
||||
device_id::LEFT_GRIP,
|
||||
device_id::LEFT_PALM,
|
||||
device_id::RIGHT_AIM,
|
||||
device_id::RIGHT_GRIP,
|
||||
device_id::RIGHT_PALM,
|
||||
})
|
||||
|
||||
{
|
||||
if (XrSpace space = application::space(device_to_space(id)))
|
||||
spaces.emplace_back(id, space);
|
||||
std::vector ids{
|
||||
device_id::HEAD,
|
||||
device_id::LEFT_AIM,
|
||||
device_id::LEFT_GRIP,
|
||||
device_id::LEFT_PALM,
|
||||
device_id::RIGHT_AIM,
|
||||
device_id::RIGHT_GRIP,
|
||||
device_id::RIGHT_PALM,
|
||||
};
|
||||
if (instance.has_extension("XR_EXT_hand_interaction"))
|
||||
{
|
||||
spdlog::info("Adding hand_interaction poses to device list");
|
||||
ids.insert(ids.end(), {device_id::LEFT_PINCH_POSE, device_id::LEFT_POKE, device_id::RIGHT_PINCH_POSE, device_id::RIGHT_POKE});
|
||||
}
|
||||
|
||||
for (auto id: ids)
|
||||
{
|
||||
if (XrSpace space = application::space(device_to_space(id)))
|
||||
spaces.emplace_back(id, space);
|
||||
else
|
||||
spdlog::warn("Missing space for device {}", magic_enum::enum_name(id));
|
||||
}
|
||||
}
|
||||
|
||||
auto enabled = [](const to_headset::tracking_control & control, device_id id) -> bool {
|
||||
switch (id)
|
||||
{
|
||||
case device_id::HEAD:
|
||||
case device_id::EYE_GAZE:
|
||||
return true;
|
||||
case device_id::LEFT_AIM:
|
||||
return control.enabled[size_t(tid::left_aim)];
|
||||
case device_id::LEFT_GRIP:
|
||||
return control.enabled[size_t(tid::left_grip)];
|
||||
case device_id::LEFT_PALM:
|
||||
return control.enabled[size_t(tid::left_palm)];
|
||||
case device_id::LEFT_PINCH_POSE:
|
||||
case device_id::LEFT_POKE: {
|
||||
const auto tracking_id = id == device_id::LEFT_PINCH_POSE ? tid::left_pinch : tid::left_poke;
|
||||
return control.enabled[size_t(tracking_id)];
|
||||
}
|
||||
case device_id::RIGHT_AIM:
|
||||
return control.enabled[size_t(tid::right_aim)];
|
||||
case device_id::RIGHT_GRIP:
|
||||
return control.enabled[size_t(tid::right_grip)];
|
||||
case device_id::RIGHT_PALM:
|
||||
return control.enabled[size_t(tid::right_palm)];
|
||||
case device_id::RIGHT_PINCH_POSE:
|
||||
case device_id::RIGHT_POKE: {
|
||||
const auto tracking_id = id == device_id::RIGHT_PINCH_POSE ? tid::right_pinch : tid::right_poke;
|
||||
return control.enabled[size_t(tracking_id)];
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
throw std::runtime_error("enabled called on unhandled device " + std::string(magic_enum::enum_name(id)));
|
||||
};
|
||||
|
||||
const auto & config = application::get_config();
|
||||
|
||||
if (config.check_feature(feature::eye_gaze))
|
||||
@@ -232,24 +362,46 @@ void scenes::stream::tracking()
|
||||
|
||||
XrTime t0 = instance.now();
|
||||
XrTime last_hand_sample = t0;
|
||||
XrTime last_body_sample = t0;
|
||||
std::vector<from_headset::tracking> tracking;
|
||||
std::vector<from_headset::tracking> tracking_pool; // pre-allocated objects
|
||||
std::vector<from_headset::hand_tracking> hands;
|
||||
std::array<bool, 2> should_skip_simple_controllers{};
|
||||
std::vector<from_headset::body_tracking> body;
|
||||
std::vector<XrView> views;
|
||||
|
||||
std::vector<from_headset::trackings> merged_tracking;
|
||||
std::vector<serialization_packet> packets;
|
||||
|
||||
const bool hand_tracking = config.check_feature(feature::hand_tracking);
|
||||
from_headset::face_type face_tracking = from_headset::face_type::none;
|
||||
if (config.check_feature(feature::face_tracking))
|
||||
|
||||
const bool face_tracking = config.check_feature(feature::face_tracking);
|
||||
auto & face_tracker = application::get_face_tracker();
|
||||
if (face_tracking)
|
||||
{
|
||||
if (application::get_fb_face_tracking2_supported())
|
||||
face_tracking = from_headset::face_type::fb2;
|
||||
else if (application::get_htc_face_tracking_eye_supported() or application::get_htc_face_tracking_lip_supported())
|
||||
face_tracking = from_headset::face_type::htc;
|
||||
// We can't start the face tracking on application initialisation like we do for
|
||||
// other face trackers due to a Pico runtime bug where face tracking freezes when
|
||||
// the headset is taken off or the application is quit.
|
||||
if (auto * face_pico = std::get_if<xr::pico_face_tracker>(&face_tracker))
|
||||
face_pico->start();
|
||||
}
|
||||
|
||||
const bool body_tracking = config.check_feature(feature::body_tracking);
|
||||
auto & body_tracker = application::get_body_tracker();
|
||||
if (body_tracking)
|
||||
{
|
||||
if (auto * body_fb = std::get_if<xr::fb_body_tracker>(&body_tracker))
|
||||
{
|
||||
// TODO maybe handle reconnection better, if the settings are changed since
|
||||
// last connection to running server, the tracker count will mismatch and
|
||||
// stuff might break
|
||||
body_fb->stop();
|
||||
body_fb->start(config.fb_lower_body, config.fb_hip);
|
||||
}
|
||||
}
|
||||
|
||||
locate_spaces_functor locate_spaces{instance, world_space};
|
||||
|
||||
on_interaction_profile_changed({});
|
||||
|
||||
while (not exiting)
|
||||
@@ -258,6 +410,7 @@ void scenes::stream::tracking()
|
||||
{
|
||||
tracking.clear();
|
||||
hands.clear();
|
||||
body.clear();
|
||||
|
||||
XrTime now = instance.now();
|
||||
if (now < t0)
|
||||
@@ -300,52 +453,70 @@ void scenes::stream::tracking()
|
||||
if (recenter_requested.exchange(false))
|
||||
packet.state_flags = wivrn::from_headset::tracking::recentered;
|
||||
|
||||
packet.device_poses.clear();
|
||||
for (auto [device, space]: spaces)
|
||||
{
|
||||
if (enabled(control, device))
|
||||
packet.device_poses.emplace_back(locate_space(device, space, world_space, t0 + Δt));
|
||||
}
|
||||
|
||||
// Hand tracking data are very large, send fewer samples than other items
|
||||
if (hand_tracking and t0 >= last_hand_sample + period and
|
||||
(Δt == 0 or Δt >= prediction - 2 * period))
|
||||
{
|
||||
last_hand_sample = t0;
|
||||
if (control.enabled[size_t(tid::left_hand)])
|
||||
{
|
||||
auto joints = locate_hands(application::get_left_hand(), world_space, t0 + Δt);
|
||||
hands.emplace_back(
|
||||
t0,
|
||||
t0 + Δt,
|
||||
from_headset::hand_tracking::left,
|
||||
locate_hands(application::get_left_hand(), world_space, t0 + Δt));
|
||||
joints);
|
||||
}
|
||||
|
||||
if (control.enabled[size_t(tid::right_hand)])
|
||||
{
|
||||
auto joints = locate_hands(application::get_right_hand(), world_space, t0 + Δt);
|
||||
hands.emplace_back(
|
||||
t0,
|
||||
t0 + Δt,
|
||||
from_headset::hand_tracking::right,
|
||||
locate_hands(application::get_right_hand(), world_space, t0 + Δt));
|
||||
joints);
|
||||
}
|
||||
}
|
||||
|
||||
if (control.enabled[size_t(tid::face)])
|
||||
packet.device_poses.clear();
|
||||
for (auto [device, space]: spaces)
|
||||
{
|
||||
switch (face_tracking)
|
||||
{
|
||||
case wivrn::from_headset::face_type::none:
|
||||
break;
|
||||
case wivrn::from_headset::face_type::fb2:
|
||||
application::get_fb_face_tracker2().get_weights(t0 + Δt, packet.face.emplace());
|
||||
break;
|
||||
case wivrn::from_headset::face_type::htc:
|
||||
auto & face_htc = packet.face_htc.emplace();
|
||||
face_htc.eye_active = false;
|
||||
face_htc.lip_active = false;
|
||||
if (application::get_htc_face_tracking_eye_supported())
|
||||
application::get_htc_face_tracker_eye().get_weights(t0 + Δt, face_htc);
|
||||
if (application::get_htc_face_tracking_lip_supported())
|
||||
application::get_htc_face_tracker_lip().get_weights(t0 + Δt, face_htc);
|
||||
break;
|
||||
}
|
||||
if (enabled(control, device))
|
||||
locate_spaces.add_space(device, space, t0 + Δt, packet.device_poses);
|
||||
}
|
||||
locate_spaces.resolve(session, t0 + Δt, packet.device_poses);
|
||||
|
||||
if (body_tracking)
|
||||
std::visit(utils::overloaded{
|
||||
[](std::monostate &) {},
|
||||
[&](auto & b) {
|
||||
if (t0 >= last_body_sample + period and
|
||||
(Δt == 0 or Δt >= prediction - 2 * period))
|
||||
{
|
||||
last_body_sample = t0;
|
||||
if (control.enabled[size_t(tid::generic_tracker)])
|
||||
{
|
||||
body.push_back(from_headset::body_tracking{
|
||||
.production_timestamp = t0,
|
||||
.timestamp = t0 + Δt,
|
||||
.poses = b.locate_spaces(t0 + Δt, world_space),
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
body_tracker);
|
||||
|
||||
if (face_tracking && control.enabled[size_t(tid::face)])
|
||||
{
|
||||
std::visit(utils::overloaded{
|
||||
[](std::monostate &) {},
|
||||
[&](auto & ft) {
|
||||
ft.get_weights(t0 + Δt, packet.face.emplace<typename std::remove_reference_t<decltype(ft)>::packet_type>());
|
||||
},
|
||||
},
|
||||
face_tracker);
|
||||
}
|
||||
}
|
||||
catch (const std::system_error & e)
|
||||
@@ -396,7 +567,7 @@ void scenes::stream::tracking()
|
||||
merged_tracking.back().items.emplace_back(std::move(item));
|
||||
}
|
||||
|
||||
packets.resize(std::max(packets.size(), merged_tracking.size() + hands.size()));
|
||||
packets.resize(std::max(packets.size(), merged_tracking.size() + hands.size() + body.size()));
|
||||
size_t packet_count = 0;
|
||||
for (const auto & i: merged_tracking)
|
||||
{
|
||||
@@ -413,6 +584,15 @@ void scenes::stream::tracking()
|
||||
wivrn_session::stream_socket_t::serialize(packet, i);
|
||||
}
|
||||
}
|
||||
for (const auto & i: body)
|
||||
{
|
||||
if (i.poses)
|
||||
{
|
||||
auto & packet = packets[packet_count++];
|
||||
packet.clear();
|
||||
wivrn_session::stream_socket_t::serialize(packet, i);
|
||||
}
|
||||
}
|
||||
|
||||
network_session->send_stream(std::span(packets.data(), packet_count));
|
||||
|
||||
@@ -438,6 +618,9 @@ void scenes::stream::tracking()
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
if (auto * face_pico = std::get_if<xr::pico_face_tracker>(&face_tracker))
|
||||
face_pico->stop();
|
||||
}
|
||||
|
||||
void scenes::stream::operator()(to_headset::tracking_control && packet)
|
||||
@@ -445,7 +628,7 @@ void scenes::stream::operator()(to_headset::tracking_control && packet)
|
||||
std::lock_guard lock(tracking_control_mutex);
|
||||
auto m = size_t(to_headset::tracking_control::id::microphone);
|
||||
if (audio_handle)
|
||||
audio_handle->set_mic_sate(packet.enabled[m]);
|
||||
audio_handle->set_mic_state(packet.enabled[m]);
|
||||
|
||||
tracking_control = packet;
|
||||
tracking_control.min_offset = std::min(tracking_control.min_offset, tracking_control.max_offset);
|
||||
@@ -469,6 +652,55 @@ static device_id derived_from(device_id target)
|
||||
|
||||
void scenes::stream::on_interaction_profile_changed(const XrEventDataInteractionProfileChanged &)
|
||||
{
|
||||
std::array path = {
|
||||
"/user/hand/left",
|
||||
"/user/hand/right",
|
||||
};
|
||||
#define DO_PROFILE(vendor, name) \
|
||||
if (profile == "/interaction_profiles/" #vendor "/" #name) \
|
||||
{ \
|
||||
interaction_profiles[i] = interaction_profile::vendor##_##name; \
|
||||
continue; \
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < 2; ++i)
|
||||
{
|
||||
try
|
||||
{
|
||||
auto profile = session.get_current_interaction_profile(path[i]);
|
||||
spdlog::info("interaction profile for {}: {}", path[i], profile);
|
||||
DO_PROFILE(khr, simple_controller)
|
||||
DO_PROFILE(ext, hand_interaction_ext)
|
||||
DO_PROFILE(bytedance, pico_neo3_controller)
|
||||
DO_PROFILE(bytedance, pico4_controller)
|
||||
DO_PROFILE(bytedance, pico4s_controller)
|
||||
DO_PROFILE(bytedance, pico_g3_controller)
|
||||
DO_PROFILE(google, daydream_controller)
|
||||
DO_PROFILE(hp, mixed_reality_controller)
|
||||
DO_PROFILE(htc, vive_controller)
|
||||
DO_PROFILE(htc, vive_cosmos_controller)
|
||||
DO_PROFILE(htc, vive_focus3_controller)
|
||||
DO_PROFILE(htc, vive_pro)
|
||||
DO_PROFILE(ml, ml2_controller)
|
||||
DO_PROFILE(microsoft, motion_controller)
|
||||
DO_PROFILE(microsoft, xbox_controller)
|
||||
DO_PROFILE(oculus, go_controller)
|
||||
DO_PROFILE(oculus, touch_controller)
|
||||
DO_PROFILE(meta, touch_pro_controller)
|
||||
DO_PROFILE(meta, touch_plus_controller)
|
||||
DO_PROFILE(meta, touch_controller_rift_cv1)
|
||||
DO_PROFILE(meta, touch_controller_quest_1_rift_s)
|
||||
DO_PROFILE(meta, touch_controller_quest_2)
|
||||
DO_PROFILE(samsung, odyssey_controller)
|
||||
DO_PROFILE(valve, index_controller)
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Failed to get current interaction profile: {}", e.what());
|
||||
}
|
||||
interaction_profiles[i] = interaction_profile::none;
|
||||
}
|
||||
|
||||
auto now = instance.now();
|
||||
for (device_id target: {
|
||||
device_id::LEFT_AIM,
|
||||
@@ -477,6 +709,17 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
||||
device_id::RIGHT_PALM,
|
||||
})
|
||||
{
|
||||
// don't do derived poses for hand interaction
|
||||
const bool right = target >= device_id::RIGHT_GRIP && target <= device_id::RIGHT_PALM;
|
||||
if (interaction_profiles[right].load() == interaction_profile::ext_hand_interaction_ext)
|
||||
{
|
||||
network_session->send_control(from_headset::derived_pose{
|
||||
.source = target,
|
||||
.target = target,
|
||||
});
|
||||
continue;
|
||||
}
|
||||
|
||||
auto source = derived_from(target);
|
||||
auto source_space = application::space(device_to_space(source));
|
||||
auto target_space = application::space(device_to_space(target));
|
||||
@@ -539,52 +782,4 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::array path = {
|
||||
"/user/hand/left",
|
||||
"/user/hand/right",
|
||||
};
|
||||
#define DO_PROFILE(vendor, name) \
|
||||
if (profile == "/interaction_profiles/" #vendor "/" #name) \
|
||||
{ \
|
||||
interaction_profiles[i] = interaction_profile::vendor##_##name; \
|
||||
continue; \
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < 2; ++i)
|
||||
{
|
||||
try
|
||||
{
|
||||
auto profile = session.get_current_interaction_profile(path[i]);
|
||||
spdlog::info("interaction profile for {}: {}", path[i], profile);
|
||||
DO_PROFILE(khr, simple_controller)
|
||||
DO_PROFILE(bytedance, pico_neo3_controller)
|
||||
DO_PROFILE(bytedance, pico4_controller)
|
||||
DO_PROFILE(bytedance, pico4s_controller)
|
||||
DO_PROFILE(bytedance, pico_g3_controller)
|
||||
DO_PROFILE(google, daydream_controller)
|
||||
DO_PROFILE(hp, mixed_reality_controller)
|
||||
DO_PROFILE(htc, vive_controller)
|
||||
DO_PROFILE(htc, vive_cosmos_controller)
|
||||
DO_PROFILE(htc, vive_focus3_controller)
|
||||
DO_PROFILE(htc, vive_pro)
|
||||
DO_PROFILE(ml, ml2_controller)
|
||||
DO_PROFILE(microsoft, motion_controller)
|
||||
DO_PROFILE(microsoft, xbox_controller)
|
||||
DO_PROFILE(oculus, go_controller)
|
||||
DO_PROFILE(oculus, touch_controller)
|
||||
DO_PROFILE(meta, touch_pro_controller)
|
||||
DO_PROFILE(meta, touch_plus_controller)
|
||||
DO_PROFILE(meta, touch_controller_rift_cv1)
|
||||
DO_PROFILE(meta, touch_controller_quest_1_rift_s)
|
||||
DO_PROFILE(meta, touch_controller_quest_2)
|
||||
DO_PROFILE(samsung, odyssey_controller)
|
||||
DO_PROFILE(valve, index_controller)
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Failed to get current interation profile: {}", e.what());
|
||||
}
|
||||
interaction_profiles[i] = interaction_profile::none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,56 +21,15 @@
|
||||
|
||||
#ifdef VERT_SHADER
|
||||
|
||||
layout (constant_id = 0) const bool use_foveation_x = false;
|
||||
layout (constant_id = 1) const bool use_foveation_y = false;
|
||||
layout (constant_id = 2) const int nb_x = 64;
|
||||
layout (constant_id = 3) const int nb_y = 64;
|
||||
|
||||
layout(set = 0, binding = 1) uniform UniformBufferObject
|
||||
{
|
||||
vec2 a;
|
||||
vec2 b;
|
||||
vec2 lambda;
|
||||
vec2 xc;
|
||||
}
|
||||
ubo;
|
||||
layout (location = 0) in vec2 vPosition;
|
||||
layout (location = 1) in vec2 vUV;
|
||||
|
||||
layout(location = 0) out vec2 outUV;
|
||||
|
||||
vec2 positions[6] = vec2[](
|
||||
vec2(0, 0), vec2(1, 0), vec2(0, 1),
|
||||
vec2(1, 0), vec2(0, 1), vec2(1, 1));
|
||||
|
||||
vec2 unfoveate(vec2 uv)
|
||||
{
|
||||
uv = 2 * uv - 1;
|
||||
if (use_foveation_x && use_foveation_y)
|
||||
{
|
||||
uv = ubo.lambda * tan(ubo.a * uv + ubo.b) + ubo.xc;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (use_foveation_x)
|
||||
{
|
||||
uv.x = (ubo.lambda * tan(ubo.a * uv + ubo.b) + ubo.xc).y;
|
||||
}
|
||||
if (use_foveation_y)
|
||||
{
|
||||
uv.y = (ubo.lambda * tan(ubo.a * uv + ubo.b) + ubo.xc).y;
|
||||
}
|
||||
}
|
||||
return uv;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
vec2 quad_size = 1 / vec2(nb_x, nb_y);
|
||||
int cell_id = gl_VertexIndex / 6;
|
||||
|
||||
vec2 top_left = quad_size * vec2(cell_id % nb_x, cell_id / nb_x);
|
||||
outUV = top_left + positions[gl_VertexIndex % 6] * quad_size;
|
||||
|
||||
gl_Position = vec4(unfoveate(outUV), 0.0, 1.0);
|
||||
gl_Position = vec4(vPosition, 0.0, 1.0);
|
||||
outUV = vUV;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "wivrn_client.h"
|
||||
#include "hardware.h"
|
||||
#include "protocol_version.h"
|
||||
#include "secrets.h"
|
||||
#include "smp.h"
|
||||
#include "spdlog/common.h"
|
||||
@@ -99,6 +100,7 @@ void wivrn_session::handshake(T address, bool tcp_only, crypto::key & headset_ke
|
||||
};
|
||||
|
||||
send_control(from_headset::crypto_handshake{
|
||||
.protocol_version = wivrn::protocol_version,
|
||||
.public_key = headset_keypair.public_key(),
|
||||
.name = model_name(),
|
||||
});
|
||||
@@ -178,6 +180,10 @@ void wivrn_session::handshake(T address, bool tcp_only, crypto::key & headset_ke
|
||||
case to_headset::crypto_handshake::crypto_state::pairing_disabled:
|
||||
spdlog::info("Pairing is disabled on server");
|
||||
throw std::runtime_error(_("Pairing is disabled on server"));
|
||||
|
||||
case to_headset::crypto_handshake::crypto_state::incompatible_version:
|
||||
spdlog::error("Incompatible protocol versions");
|
||||
throw std::runtime_error(_("Incompatible server version"));
|
||||
}
|
||||
|
||||
// may be on control socket if forced TCP
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "utils/typename.h"
|
||||
#include "xr/check.h"
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <openxr/openxr.h>
|
||||
#include <openxr/openxr_platform.h>
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "fb_body_tracker.h"
|
||||
#include "application.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "xr/meta_body_tracking_fidelity.h"
|
||||
#include "xr/xr.h"
|
||||
#include <ranges>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
static_assert(xr::fb_body_tracker::joint_whitelist.size() <= wivrn::from_headset::body_tracking::max_tracked_poses);
|
||||
|
||||
std::vector<XrFullBodyJointMETA> xr::fb_body_tracker::get_whitelisted_joints(bool full_body, bool hip)
|
||||
{
|
||||
auto whitelisted_joints = std::ranges::filter_view(xr::fb_body_tracker::joint_whitelist, [=](auto joint) {
|
||||
if (!full_body && (joint == XR_FULL_BODY_JOINT_HIPS_META || joint >= XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META))
|
||||
return false;
|
||||
if (!hip && joint == XR_FULL_BODY_JOINT_HIPS_META)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
});
|
||||
return {whitelisted_joints.begin(), whitelisted_joints.end()};
|
||||
}
|
||||
|
||||
xr::fb_body_tracker::fb_body_tracker(instance & inst, session & s) :
|
||||
s(s)
|
||||
{
|
||||
xrCreateBodyTrackerFB = inst.get_proc<PFN_xrCreateBodyTrackerFB>("xrCreateBodyTrackerFB");
|
||||
xrRequestBodyTrackingFidelityMETA = inst.get_proc<PFN_xrRequestBodyTrackingFidelityMETA>("xrRequestBodyTrackingFidelityMETA");
|
||||
xrLocateBodyJointsFB = inst.get_proc<PFN_xrLocateBodyJointsFB>("xrLocateBodyJointsFB");
|
||||
xrDestroyBodyTrackerFB = inst.get_proc<PFN_xrDestroyBodyTrackerFB>("xrDestroyBodyTrackerFB");
|
||||
}
|
||||
xr::fb_body_tracker::~fb_body_tracker()
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
void xr::fb_body_tracker::start(bool full_body, bool hip)
|
||||
{
|
||||
assert(xrCreateBodyTrackerFB);
|
||||
this->full_body = full_body;
|
||||
this->hip = hip;
|
||||
|
||||
XrBodyTrackerCreateInfoFB create_info{
|
||||
.type = XR_TYPE_BODY_TRACKER_CREATE_INFO_FB,
|
||||
.next = nullptr,
|
||||
};
|
||||
create_info.bodyJointSet = full_body
|
||||
? XR_BODY_JOINT_SET_FULL_BODY_META
|
||||
: XR_BODY_JOINT_SET_DEFAULT_FB;
|
||||
|
||||
CHECK_XR(xrCreateBodyTrackerFB(s, &create_info, &handle));
|
||||
|
||||
// Enable IOBT.
|
||||
CHECK_XR(xrRequestBodyTrackingFidelityMETA(handle, XR_BODY_TRACKING_FIDELITY_HIGH_META));
|
||||
|
||||
whitelisted_joints = get_whitelisted_joints(full_body, hip);
|
||||
}
|
||||
void xr::fb_body_tracker::stop()
|
||||
{
|
||||
full_body = false;
|
||||
hip = false;
|
||||
if (handle)
|
||||
{
|
||||
assert(xrDestroyBodyTrackerFB);
|
||||
CHECK_XR(xrDestroyBodyTrackerFB(std::exchange(handle, nullptr)));
|
||||
}
|
||||
}
|
||||
size_t xr::fb_body_tracker::count() const
|
||||
{
|
||||
const auto & config = application::get_config();
|
||||
return get_whitelisted_joints(config.fb_lower_body, config.fb_hip).size();
|
||||
}
|
||||
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::fb_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
{
|
||||
if (!handle)
|
||||
return std::nullopt;
|
||||
|
||||
assert(xrLocateBodyJointsFB);
|
||||
|
||||
XrBodyJointsLocateInfoFB locate_info{
|
||||
.type = XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB,
|
||||
.next = nullptr,
|
||||
.baseSpace = reference,
|
||||
.time = time,
|
||||
};
|
||||
|
||||
std::array<XrBodyJointLocationFB, XR_FULL_BODY_JOINT_COUNT_META> joints{};
|
||||
XrBodyJointLocationsFB joint_locations{
|
||||
.type = XR_TYPE_BODY_JOINT_LOCATIONS_FB,
|
||||
.next = nullptr,
|
||||
.jointCount = (uint32_t)(full_body ? XR_FULL_BODY_JOINT_COUNT_META : (XrFullBodyJointMETA)XR_BODY_JOINT_COUNT_FB),
|
||||
.jointLocations = joints.data(),
|
||||
};
|
||||
|
||||
if (auto res = xrLocateBodyJointsFB(handle, &locate_info, &joint_locations); !XR_SUCCEEDED(res))
|
||||
{
|
||||
spdlog::warn("xrLocateBodyJointsFB returned {}", xr::to_string(res));
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
if (!joint_locations.isActive)
|
||||
{
|
||||
spdlog::warn("Body tracker is not active.");
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
int num_poses = 0;
|
||||
for (auto joint: whitelisted_joints)
|
||||
{
|
||||
const auto & joint_loc = joints[joint];
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = joint_loc.pose,
|
||||
.flags = 0,
|
||||
};
|
||||
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
{
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_valid;
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_tracked;
|
||||
}
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
{
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_valid;
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_tracked;
|
||||
}
|
||||
|
||||
poses[num_poses++] = pose;
|
||||
}
|
||||
return poses;
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include "xr/meta_body_tracking_fidelity.h"
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
class instance;
|
||||
class session;
|
||||
|
||||
class fb_body_tracker
|
||||
{
|
||||
XrSession s;
|
||||
XrBodyTrackerFB handle{};
|
||||
|
||||
PFN_xrCreateBodyTrackerFB xrCreateBodyTrackerFB{};
|
||||
PFN_xrRequestBodyTrackingFidelityMETA xrRequestBodyTrackingFidelityMETA{};
|
||||
PFN_xrLocateBodyJointsFB xrLocateBodyJointsFB{};
|
||||
PFN_xrDestroyBodyTrackerFB xrDestroyBodyTrackerFB{};
|
||||
|
||||
bool full_body{};
|
||||
bool hip{};
|
||||
std::vector<XrFullBodyJointMETA> whitelisted_joints{};
|
||||
|
||||
public:
|
||||
static constexpr std::array joint_whitelist{
|
||||
XR_FULL_BODY_JOINT_HIPS_META,
|
||||
XR_FULL_BODY_JOINT_CHEST_META,
|
||||
XR_FULL_BODY_JOINT_LEFT_ARM_LOWER_META,
|
||||
XR_FULL_BODY_JOINT_RIGHT_ARM_LOWER_META,
|
||||
|
||||
XR_FULL_BODY_JOINT_LEFT_LOWER_LEG_META,
|
||||
XR_FULL_BODY_JOINT_RIGHT_LOWER_LEG_META,
|
||||
|
||||
XR_FULL_BODY_JOINT_LEFT_FOOT_TRANSVERSE_META,
|
||||
XR_FULL_BODY_JOINT_RIGHT_FOOT_TRANSVERSE_META,
|
||||
};
|
||||
static std::vector<XrFullBodyJointMETA> get_whitelisted_joints(bool full_body, bool hip);
|
||||
|
||||
fb_body_tracker() = default;
|
||||
fb_body_tracker(instance & inst, session & s);
|
||||
~fb_body_tracker();
|
||||
|
||||
void start(bool lower_body, bool hip);
|
||||
void stop();
|
||||
size_t count() const;
|
||||
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> locate_spaces(XrTime time, XrSpace reference);
|
||||
};
|
||||
} // namespace xr
|
||||
@@ -34,9 +34,10 @@ class fb_face_tracker2 : public utils::handle<XrFaceTracker2FB, destroy_fb_face_
|
||||
PFN_xrDestroyFaceTracker2FB xrDestroyFaceTracker2FB{};
|
||||
|
||||
public:
|
||||
using packet_type = wivrn::from_headset::tracking::fb_face2;
|
||||
fb_face_tracker2() = default;
|
||||
fb_face_tracker2(instance & inst, XrFaceTracker2FB h);
|
||||
|
||||
void get_weights(XrTime time, struct wivrn::from_headset::tracking::fb_face2 & out_expressions);
|
||||
void get_weights(XrTime time, packet_type & out_expressions);
|
||||
};
|
||||
} // namespace xr
|
||||
|
||||
@@ -18,13 +18,10 @@
|
||||
*/
|
||||
|
||||
#include "hand_tracker.h"
|
||||
#include "hardware.h"
|
||||
#include "xr/check.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/session.h"
|
||||
#include <cassert>
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
|
||||
static PFN_xrDestroyHandTrackerEXT xrDestroyHandTrackerEXT{};
|
||||
|
||||
@@ -33,8 +30,7 @@ XrResult xr::destroy_hand_tracker(XrHandTrackerEXT id)
|
||||
return xrDestroyHandTrackerEXT(id);
|
||||
}
|
||||
|
||||
xr::hand_tracker::hand_tracker(instance & inst, session & session, const XrHandTrackerCreateInfoEXT & info) :
|
||||
hand_id(info.hand)
|
||||
xr::hand_tracker::hand_tracker(instance & inst, session & session, const XrHandTrackerCreateInfoEXT & info)
|
||||
{
|
||||
static auto xrCreateHandTrackerEXT = inst.get_proc<PFN_xrCreateHandTrackerEXT>("xrCreateHandTrackerEXT");
|
||||
assert(xrCreateHandTrackerEXT);
|
||||
@@ -77,48 +73,13 @@ std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> xr::
|
||||
if (!locations.isActive)
|
||||
return std::nullopt;
|
||||
|
||||
float offset_angle = 0;
|
||||
|
||||
// check if we have a device that needs a thumb offset
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::meta_quest_3:
|
||||
case model::meta_quest_pro:
|
||||
case model::meta_quest_3s:
|
||||
case model::oculus_quest:
|
||||
case model::oculus_quest_2:
|
||||
if (hand_id == XR_HAND_LEFT_EXT)
|
||||
offset_angle = glm::radians(-90.0f);
|
||||
else if (hand_id == XR_HAND_RIGHT_EXT)
|
||||
offset_angle = glm::radians(90.0f);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
// bail if none of the joints are valid/tracked
|
||||
if (!std::ranges::any_of(joints_pos, [](const auto & loc) { return loc.locationFlags != 0; }))
|
||||
return std::nullopt;
|
||||
|
||||
std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> joints;
|
||||
for (int i = 0; i < XR_HAND_JOINT_COUNT_EXT; i++)
|
||||
{
|
||||
if (i >= XR_HAND_JOINT_THUMB_METACARPAL_EXT && i <= XR_HAND_JOINT_THUMB_TIP_EXT)
|
||||
{
|
||||
// Need to convert the XrQuaternionf to a glm::quat to use glm::rotate
|
||||
glm::quat q(
|
||||
joints_pos[i].pose.orientation.w,
|
||||
joints_pos[i].pose.orientation.x,
|
||||
joints_pos[i].pose.orientation.y,
|
||||
joints_pos[i].pose.orientation.z);
|
||||
|
||||
glm::quat offset_rotation = glm::rotate(q, offset_angle, glm::vec3(0, 0, 1));
|
||||
|
||||
joints_pos[i].pose.orientation = {
|
||||
.x = offset_rotation.x,
|
||||
.y = offset_rotation.y,
|
||||
.z = offset_rotation.z,
|
||||
.w = offset_rotation.w,
|
||||
};
|
||||
}
|
||||
|
||||
joints[i] = {joints_pos[i], joints_vel[i]};
|
||||
}
|
||||
|
||||
|
||||
@@ -43,8 +43,5 @@ public:
|
||||
std::optional<std::array<joint, XR_HAND_JOINT_COUNT_EXT>> locate(XrSpace space, XrTime time);
|
||||
|
||||
static bool check_flags(const std::array<joint, XR_HAND_JOINT_COUNT_EXT> & joints, XrSpaceLocationFlags position, XrSpaceVelocityFlags velocity);
|
||||
|
||||
private:
|
||||
XrHandEXT hand_id;
|
||||
};
|
||||
} // namespace xr
|
||||
|
||||
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Awzri <awzri@awzricat.com>
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "htc_body_tracker.h"
|
||||
#include "xr/details/enumerate.h"
|
||||
#include "xr/htc_exts.h"
|
||||
#include "xr/xr.h"
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
// Note: This utilizes extensions not present in the OpenXR spec!
|
||||
// For more info see:
|
||||
// https://hub.vive.com/apidoc/api/VIVE.OpenXR.Tracker.ViveXRTracker.html
|
||||
// https://hub.vive.com/apidoc/api/VIVE.OpenXR.VivePathEnumerationHelper.xrEnumeratePathsForInteractionProfileHTCDelegate.html
|
||||
|
||||
xr::vive_xr_tracker::vive_xr_tracker(xr::space && space) :
|
||||
space(std::move(space)) {}
|
||||
void xr::vive_xr_tracker::set_active(bool active)
|
||||
{
|
||||
is_active = active;
|
||||
}
|
||||
bool xr::vive_xr_tracker::get_active() const
|
||||
{
|
||||
return is_active;
|
||||
}
|
||||
XrSpace xr::vive_xr_tracker::get_space() const
|
||||
{
|
||||
return space;
|
||||
}
|
||||
|
||||
static wivrn::from_headset::body_tracking::pose locate_space(XrSpace space, XrSpace reference, XrTime time)
|
||||
{
|
||||
XrSpaceVelocity velocity{
|
||||
.type = XR_TYPE_SPACE_VELOCITY,
|
||||
};
|
||||
|
||||
XrSpaceLocation location{
|
||||
.type = XR_TYPE_SPACE_LOCATION,
|
||||
.next = &velocity,
|
||||
};
|
||||
|
||||
xrLocateSpace(space, reference, time, &location);
|
||||
|
||||
wivrn::from_headset::body_tracking::pose res{
|
||||
.pose = location.pose,
|
||||
.flags = 0,
|
||||
};
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::orientation_valid;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::position_valid;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::orientation_tracked;
|
||||
|
||||
if (location.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
res.flags |= wivrn::from_headset::body_tracking::position_tracked;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
std::vector<std::string> xr::htc_body_tracker::get_roles()
|
||||
{
|
||||
auto paths = get_paths();
|
||||
std::vector<std::string> roles{};
|
||||
roles.reserve(paths.size());
|
||||
|
||||
for (auto & path: paths)
|
||||
{
|
||||
XrInputSourceLocalizedNameGetInfo get_info{
|
||||
.type = XR_TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO,
|
||||
.next = nullptr,
|
||||
.sourcePath = path,
|
||||
.whichComponents = XR_INPUT_SOURCE_LOCALIZED_NAME_USER_PATH_BIT,
|
||||
};
|
||||
|
||||
roles.emplace_back(xr::details::enumerate<char>(xrGetInputSourceLocalizedName, s, &get_info));
|
||||
}
|
||||
|
||||
return roles;
|
||||
}
|
||||
|
||||
xr::htc_body_tracker::htc_body_tracker(instance & inst, session & s) :
|
||||
inst(&inst),
|
||||
s(s)
|
||||
{
|
||||
xrEnumeratePathsForInteractionProfileHTC = inst.get_proc<PFN_xrEnumeratePathsForInteractionProfileHTC>("xrEnumeratePathsForInteractionProfileHTC");
|
||||
}
|
||||
|
||||
std::vector<XrPath> xr::htc_body_tracker::get_paths(XrPath user_path)
|
||||
{
|
||||
assert(xrEnumeratePathsForInteractionProfileHTC);
|
||||
XrPath tracker_profile = inst->string_to_path("/interaction_profiles/htc/vive_xr_tracker");
|
||||
|
||||
XrPathsForInteractionProfileEnumerateInfoHTC profile_info{
|
||||
.type = XR_TYPE_UNKNOWN,
|
||||
.next = nullptr,
|
||||
.interactionProfile = tracker_profile,
|
||||
.userPath = user_path,
|
||||
};
|
||||
return xr::details::enumerate<XrPath>(xrEnumeratePathsForInteractionProfileHTC, *inst, profile_info);
|
||||
}
|
||||
|
||||
void xr::htc_body_tracker::add(xr::space && space)
|
||||
{
|
||||
trackers.emplace_back(std::move(space));
|
||||
}
|
||||
size_t xr::htc_body_tracker::count() const
|
||||
{
|
||||
return trackers.size();
|
||||
}
|
||||
|
||||
void xr::htc_body_tracker::update_active()
|
||||
{
|
||||
auto roles = get_roles();
|
||||
assert(roles.size() >= trackers.size());
|
||||
for (int i = 0; i < trackers.size(); i++)
|
||||
trackers[i].set_active(!roles[i].contains('_'));
|
||||
}
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> xr::htc_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
{
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
|
||||
for (int i = 0; i < trackers.size(); i++)
|
||||
{
|
||||
auto & tracker = trackers.at(i);
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = {},
|
||||
.flags = 0,
|
||||
};
|
||||
if (tracker.get_active())
|
||||
pose = locate_space(tracker.get_space(), reference, time);
|
||||
|
||||
poses[i] = pose;
|
||||
}
|
||||
|
||||
return poses;
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Awzri <awzri@awzricat.com>
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/htc_exts.h"
|
||||
#include "xr/space.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
class instance;
|
||||
class session;
|
||||
|
||||
class vive_xr_tracker
|
||||
{
|
||||
bool is_active = false;
|
||||
xr::space space;
|
||||
|
||||
public:
|
||||
vive_xr_tracker(xr::space && s);
|
||||
void set_active(bool active);
|
||||
bool get_active() const;
|
||||
XrSpace get_space() const;
|
||||
};
|
||||
|
||||
class htc_body_tracker
|
||||
{
|
||||
instance * inst;
|
||||
XrSession s;
|
||||
std::vector<vive_xr_tracker> trackers;
|
||||
|
||||
PFN_xrEnumeratePathsForInteractionProfileHTC xrEnumeratePathsForInteractionProfileHTC{};
|
||||
|
||||
std::vector<std::string> get_roles();
|
||||
|
||||
public:
|
||||
htc_body_tracker() = default;
|
||||
htc_body_tracker(instance & inst, session & s);
|
||||
|
||||
std::vector<XrPath> get_paths(XrPath user_path = XR_NULL_PATH);
|
||||
void add(xr::space && space);
|
||||
size_t count() const;
|
||||
void update_active();
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> locate_spaces(XrTime time, XrSpace reference);
|
||||
};
|
||||
} // namespace xr
|
||||
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2024 galister <galister@librevr.org>
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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
|
||||
@@ -19,26 +20,50 @@
|
||||
#include "htc_face_tracker.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/session.h"
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
static PFN_xrDestroyFacialTrackerHTC xrDestroyFacialTrackerHTC{};
|
||||
|
||||
XrResult xr::destroy_htc_face_tracker(XrFacialTrackerHTC id)
|
||||
xr::htc_face_tracker::htc_face_tracker(instance & inst, session & s, bool eye, bool lip) :
|
||||
s(s)
|
||||
{
|
||||
return xrDestroyFacialTrackerHTC(id);
|
||||
}
|
||||
if (!eye && !lip)
|
||||
return;
|
||||
|
||||
xr::htc_face_tracker::htc_face_tracker(instance & inst, XrFacialTrackerHTC h, XrFacialTrackingTypeHTC facialTrackingTypeHTC)
|
||||
{
|
||||
id = h;
|
||||
xrCreateFacialTrackerHTC = inst.get_proc<PFN_xrCreateFacialTrackerHTC>("xrCreateFacialTrackerHTC");
|
||||
xrGetFacialExpressionsHTC = inst.get_proc<PFN_xrGetFacialExpressionsHTC>("xrGetFacialExpressionsHTC");
|
||||
xrDestroyFacialTrackerHTC = inst.get_proc<PFN_xrDestroyFacialTrackerHTC>("xrDestroyFacialTrackerHTC");
|
||||
trackerType = facialTrackingTypeHTC;
|
||||
|
||||
XrFacialTrackerCreateInfoHTC create_info{
|
||||
.type = XR_TYPE_FACIAL_TRACKER_CREATE_INFO_HTC,
|
||||
.next = nullptr,
|
||||
};
|
||||
|
||||
if (eye)
|
||||
{
|
||||
create_info.facialTrackingType = XR_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC;
|
||||
xrCreateFacialTrackerHTC(s, &create_info, &this->eye);
|
||||
}
|
||||
if (lip)
|
||||
{
|
||||
create_info.facialTrackingType = XR_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC;
|
||||
xrCreateFacialTrackerHTC(s, &create_info, &this->lip);
|
||||
}
|
||||
}
|
||||
|
||||
void xr::htc_face_tracker::get_weights(XrTime time, wivrn::from_headset::tracking::htc_face & out_expressions)
|
||||
xr::htc_face_tracker::~htc_face_tracker()
|
||||
{
|
||||
if (!id || !xrGetFacialExpressionsHTC)
|
||||
if (!xrDestroyFacialTrackerHTC)
|
||||
return;
|
||||
|
||||
if (eye)
|
||||
CHECK_XR(xrDestroyFacialTrackerHTC(std::exchange(eye, nullptr)));
|
||||
if (lip)
|
||||
CHECK_XR(xrDestroyFacialTrackerHTC(std::exchange(lip, nullptr)));
|
||||
}
|
||||
|
||||
void xr::htc_face_tracker::get_weights(XrTime time, packet_type & out_expressions)
|
||||
{
|
||||
if (!(eye || lip) || !xrGetFacialExpressionsHTC)
|
||||
return;
|
||||
|
||||
XrFacialExpressionsHTC expressions{
|
||||
@@ -47,25 +72,18 @@ void xr::htc_face_tracker::get_weights(XrTime time, wivrn::from_headset::trackin
|
||||
.sampleTime = time,
|
||||
};
|
||||
|
||||
bool * is_active;
|
||||
|
||||
switch (trackerType)
|
||||
if (eye)
|
||||
{
|
||||
case XR_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC:
|
||||
expressions.expressionCount = out_expressions.eye.size();
|
||||
expressions.expressionWeightings = out_expressions.eye.data();
|
||||
is_active = &out_expressions.eye_active;
|
||||
break;
|
||||
case XR_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC:
|
||||
expressions.expressionCount = out_expressions.lip.size();
|
||||
expressions.expressionWeightings = out_expressions.lip.data();
|
||||
is_active = &out_expressions.lip_active;
|
||||
break;
|
||||
default:
|
||||
throw std::system_error(1, std::generic_category(), "htc_face_tracker with unknown trackerType");
|
||||
expressions.expressionCount = out_expressions.eye.size();
|
||||
expressions.expressionWeightings = out_expressions.eye.data();
|
||||
CHECK_XR(xrGetFacialExpressionsHTC(eye, &expressions));
|
||||
out_expressions.eye_active = expressions.isActive;
|
||||
}
|
||||
if (lip)
|
||||
{
|
||||
expressions.expressionCount = out_expressions.lip.size();
|
||||
expressions.expressionWeightings = out_expressions.lip.data();
|
||||
CHECK_XR(xrGetFacialExpressionsHTC(lip, &expressions));
|
||||
out_expressions.lip_active = expressions.isActive;
|
||||
}
|
||||
|
||||
CHECK_XR(xrGetFacialExpressionsHTC(id, &expressions));
|
||||
|
||||
*is_active = expressions.isActive;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2024 galister <galister@librevr.org>
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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
|
||||
@@ -25,19 +26,23 @@
|
||||
namespace xr
|
||||
{
|
||||
class instance;
|
||||
class session;
|
||||
|
||||
XrResult destroy_htc_face_tracker(XrFacialTrackerHTC);
|
||||
|
||||
class htc_face_tracker : public utils::handle<XrFacialTrackerHTC, destroy_htc_face_tracker>
|
||||
class htc_face_tracker
|
||||
{
|
||||
XrSession s;
|
||||
XrFacialTrackerHTC eye{};
|
||||
XrFacialTrackerHTC lip{};
|
||||
PFN_xrCreateFacialTrackerHTC xrCreateFacialTrackerHTC{};
|
||||
PFN_xrGetFacialExpressionsHTC xrGetFacialExpressionsHTC{};
|
||||
PFN_xrDestroyFacialTrackerHTC xrDestroyFacialTrackerHTC{};
|
||||
XrFacialTrackingTypeHTC trackerType{};
|
||||
|
||||
public:
|
||||
using packet_type = wivrn::from_headset::tracking::htc_face;
|
||||
htc_face_tracker() = default;
|
||||
htc_face_tracker(instance & inst, XrFacialTrackerHTC h, XrFacialTrackingTypeHTC facialTrackingTypeHTC);
|
||||
htc_face_tracker(instance & inst, session & s, bool eye, bool lip);
|
||||
~htc_face_tracker();
|
||||
|
||||
void get_weights(XrTime time, struct wivrn::from_headset::tracking::htc_face & out_expressions);
|
||||
void get_weights(XrTime time, packet_type & out_expressions);
|
||||
};
|
||||
} // namespace xr
|
||||
|
||||
+21
-3
@@ -40,6 +40,26 @@ static XrBool32 debug_callback(
|
||||
return XR_FALSE;
|
||||
}
|
||||
|
||||
static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & info)
|
||||
{
|
||||
XrResult res;
|
||||
for (XrVersion version: {
|
||||
XR_API_VERSION_1_1,
|
||||
XR_API_VERSION_1_0,
|
||||
})
|
||||
{
|
||||
info.applicationInfo.apiVersion = version;
|
||||
XrInstance inst;
|
||||
res = xrCreateInstance(&info, &inst);
|
||||
if (XR_SUCCEEDED(res))
|
||||
return {version, inst};
|
||||
spdlog::info("Failed to create OpenXR instance version {}: {}",
|
||||
xr::to_string(version),
|
||||
xr::to_string(res));
|
||||
}
|
||||
throw std::system_error(res, xr::error_category(), "Failed to create OpenXR instance");
|
||||
}
|
||||
|
||||
#if defined(XR_USE_PLATFORM_ANDROID)
|
||||
xr::instance::instance(std::string_view application_name, void * applicationVM, void * applicationActivity, std::vector<const char *> extensions)
|
||||
#else
|
||||
@@ -122,7 +142,6 @@ xr::instance::instance(std::string_view application_name, std::vector<const char
|
||||
|
||||
XrInstanceCreateInfo create_info{
|
||||
.type = XR_TYPE_INSTANCE_CREATE_INFO,
|
||||
.applicationInfo = {.apiVersion = XR_MAKE_VERSION(1, 0, 0)},
|
||||
.enabledApiLayerCount = (uint32_t)layers.size(),
|
||||
.enabledApiLayerNames = layers.data(),
|
||||
.enabledExtensionCount = (uint32_t)extensions.size(),
|
||||
@@ -139,8 +158,7 @@ xr::instance::instance(std::string_view application_name, std::vector<const char
|
||||
create_info.next = &instanceCreateInfoAndroid;
|
||||
#endif
|
||||
|
||||
CHECK_XR(xrCreateInstance(&create_info, &id));
|
||||
assert(id != XR_NULL_HANDLE);
|
||||
std::tie(api_version, id) = create_instance(create_info);
|
||||
|
||||
if (debug_utils_found)
|
||||
{
|
||||
|
||||
@@ -43,12 +43,14 @@ union event
|
||||
XrEventDataDisplayRefreshRateChangedFB refresh_rate_changed;
|
||||
XrEventDataPassthroughStateChangedFB passthrough_state_changed;
|
||||
XrEventDataVisibilityMaskChangedKHR visibility_mask_changed;
|
||||
XrEventDataUserPresenceChangedEXT user_presence_changed;
|
||||
};
|
||||
class instance : public utils::handle<XrInstance, xrDestroyInstance>
|
||||
{
|
||||
std::string runtime_version;
|
||||
std::string runtime_name;
|
||||
std::unordered_map<std::string, uint32_t> loaded_extensions;
|
||||
XrVersion api_version;
|
||||
|
||||
public:
|
||||
#if defined(XR_USE_PLATFORM_ANDROID)
|
||||
@@ -70,6 +72,11 @@ public:
|
||||
return runtime_name;
|
||||
}
|
||||
|
||||
XrVersion get_api_version() const
|
||||
{
|
||||
return api_version;
|
||||
}
|
||||
|
||||
template <typename F>
|
||||
F get_proc(const char * name)
|
||||
{
|
||||
|
||||
@@ -51,6 +51,7 @@ xr::passthrough_layer_fb::passthrough_layer_fb(instance & inst, session & s, con
|
||||
static XrPassthroughFB create_passthrough_fb(xr::instance & inst, xr::session & s)
|
||||
{
|
||||
PFN_xrCreatePassthroughFB xrCreatePassthroughFB = inst.get_proc<PFN_xrCreatePassthroughFB>("xrCreatePassthroughFB");
|
||||
xrDestroyPassthroughFB = inst.get_proc<PFN_xrDestroyPassthroughFB>("xrDestroyPassthroughFB");
|
||||
|
||||
XrPassthroughFB id;
|
||||
XrPassthroughCreateInfoFB info{
|
||||
@@ -71,7 +72,6 @@ xr::passthrough_fb::passthrough_fb(instance & inst, session & s) :
|
||||
.purpose = XR_PASSTHROUGH_LAYER_PURPOSE_RECONSTRUCTION_FB,
|
||||
})
|
||||
{
|
||||
xrDestroyPassthroughFB = inst.get_proc<PFN_xrDestroyPassthroughFB>("xrDestroyPassthroughFB");
|
||||
xrPassthroughStartFB = inst.get_proc<PFN_xrPassthroughStartFB>("xrPassthroughStartFB");
|
||||
xrPassthroughPauseFB = inst.get_proc<PFN_xrPassthroughPauseFB>("xrPassthroughPauseFB");
|
||||
xrPassthroughLayerPauseFB = inst.get_proc<PFN_xrPassthroughLayerPauseFB>("xrPassthroughLayerPauseFB");
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "pico_body_tracker.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "xr/xr.h"
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
static_assert(xr::pico_body_tracker::joint_whitelist.size() <= wivrn::from_headset::body_tracking::max_tracked_poses);
|
||||
|
||||
static PFN_xrDestroyBodyTrackerBD xrDestroyBodyTrackerBD{};
|
||||
|
||||
XrResult xr::destroy_pico_body_tracker(XrBodyTrackerBD id)
|
||||
{
|
||||
return xrDestroyBodyTrackerBD(id);
|
||||
}
|
||||
|
||||
xr::pico_body_tracker::pico_body_tracker(instance & inst, XrBodyTrackerBD h)
|
||||
{
|
||||
id = h;
|
||||
xrLocateBodyJointsBD = inst.get_proc<PFN_xrLocateBodyJointsBD>("xrLocateBodyJointsBD");
|
||||
}
|
||||
|
||||
size_t xr::pico_body_tracker::count() const
|
||||
{
|
||||
return joint_whitelist.size();
|
||||
}
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::pico_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
{
|
||||
if (!xrLocateBodyJointsBD)
|
||||
return std::nullopt;
|
||||
|
||||
XrBodyJointsLocateInfoBD locate_info{
|
||||
.type = XR_TYPE_BODY_JOINTS_LOCATE_INFO_BD,
|
||||
.next = nullptr,
|
||||
.baseSpace = reference,
|
||||
.time = time,
|
||||
};
|
||||
|
||||
std::array<XrBodyJointLocationBD, XR_BODY_JOINT_COUNT_BD> joints{};
|
||||
XrBodyJointLocationsBD joint_locations{
|
||||
.type = XR_TYPE_BODY_JOINT_LOCATIONS_BD,
|
||||
.next = nullptr,
|
||||
.jointLocationCount = joints.size(),
|
||||
.jointLocations = joints.data(),
|
||||
};
|
||||
|
||||
if (auto res = xrLocateBodyJointsBD(id, &locate_info, &joint_locations); !XR_SUCCEEDED(res))
|
||||
{
|
||||
spdlog::warn("Unable to get body joints: xrLocateBodyJointsBD returned {}", xr::to_string(res));
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
int num_poses = 0;
|
||||
for (auto joint: joint_whitelist)
|
||||
{
|
||||
const auto & joint_loc = joints[joint];
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = joint_loc.pose,
|
||||
.flags = 0,
|
||||
};
|
||||
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_valid;
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_valid;
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::orientation_tracked;
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_tracked;
|
||||
|
||||
poses[num_poses++] = pose;
|
||||
}
|
||||
return poses;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "utils/handle.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
class instance;
|
||||
|
||||
XrResult destroy_pico_body_tracker(XrBodyTrackerBD);
|
||||
|
||||
class pico_body_tracker : public utils::handle<XrBodyTrackerBD, destroy_pico_body_tracker>
|
||||
{
|
||||
PFN_xrLocateBodyJointsBD xrLocateBodyJointsBD{};
|
||||
|
||||
public:
|
||||
static constexpr std::array joint_whitelist{
|
||||
XR_BODY_JOINT_PELVIS_BD,
|
||||
XR_BODY_JOINT_LEFT_ELBOW_BD,
|
||||
XR_BODY_JOINT_RIGHT_ELBOW_BD,
|
||||
|
||||
XR_BODY_JOINT_LEFT_KNEE_BD,
|
||||
XR_BODY_JOINT_RIGHT_KNEE_BD,
|
||||
XR_BODY_JOINT_LEFT_FOOT_BD,
|
||||
XR_BODY_JOINT_RIGHT_FOOT_BD,
|
||||
};
|
||||
|
||||
pico_body_tracker() = default;
|
||||
pico_body_tracker(instance & inst, XrBodyTrackerBD h);
|
||||
|
||||
size_t count() const;
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> locate_spaces(XrTime time, XrSpace reference);
|
||||
};
|
||||
} // namespace xr
|
||||
@@ -0,0 +1,169 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2024 galister <galister@librevr.org>
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "pico_face_tracker.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/pico_eye_types.h"
|
||||
#include "xr/session.h"
|
||||
#include "xr/to_string.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
xr::pico_face_tracker::pico_face_tracker(instance & inst, session & s_) :
|
||||
s(s_)
|
||||
{
|
||||
xrStartEyeTrackingPICO = inst.get_proc<PFN_xrStartEyeTrackingPICO>("xrStartEyeTrackingPICO");
|
||||
xrStopEyeTrackingPICO = inst.get_proc<PFN_xrStopEyeTrackingPICO>("xrStopEyeTrackingPICO");
|
||||
xrSetTrackingModePICO = inst.get_proc<PFN_xrSetTrackingModePICO>("xrSetTrackingModePICO");
|
||||
xrGetFaceTrackingDataPICO = inst.get_proc<PFN_xrGetFaceTrackingDataPICO>("xrGetFaceTrackingDataPICO");
|
||||
}
|
||||
xr::pico_face_tracker::~pico_face_tracker()
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
void xr::pico_face_tracker::start()
|
||||
{
|
||||
if (started)
|
||||
throw std::invalid_argument("face tracking already started");
|
||||
|
||||
CHECK_XR(xrStartEyeTrackingPICO(s));
|
||||
CHECK_XR(xrSetTrackingModePICO(s, XR_TRACKING_MODE_FACE_BIT_PICO));
|
||||
started = true;
|
||||
}
|
||||
void xr::pico_face_tracker::stop()
|
||||
{
|
||||
if (!started)
|
||||
return;
|
||||
|
||||
if (auto res = xrStopEyeTrackingPICO(s, XR_TRACKING_MODE_FACE_BIT_PICO); !XR_SUCCEEDED(res))
|
||||
spdlog::warn("Failed to deactivate face tracking: {}", xr::to_string(res));
|
||||
|
||||
started = false;
|
||||
}
|
||||
|
||||
void xr::pico_face_tracker::get_weights(XrTime time, wivrn::from_headset::tracking::fb_face2 & out_expressions)
|
||||
{
|
||||
out_expressions.is_valid = false;
|
||||
out_expressions.is_eye_following_blendshapes_valid = false;
|
||||
|
||||
if (!started or !xrGetFaceTrackingDataPICO)
|
||||
return;
|
||||
|
||||
XrFaceTrackingDataPICO face_tracking{.time = 0};
|
||||
|
||||
if (auto res = xrGetFaceTrackingDataPICO(s, time, XR_GET_FACE_DATA_DEFAULT_PICO, &face_tracking); !XR_SUCCEEDED(res))
|
||||
{
|
||||
spdlog::warn("Unable to get face tracking data: xrGetFaceTrackingDataPICO returned {}", xr::to_string(res));
|
||||
return;
|
||||
}
|
||||
|
||||
if (face_tracking.time == 0)
|
||||
return;
|
||||
|
||||
#define MAP_EXPRESSION(fb, pico) \
|
||||
out_expressions.weights[fb] = face_tracking.blendShapeWeight[pico];
|
||||
|
||||
// Map the blendshapes.
|
||||
out_expressions.weights.fill(0.f);
|
||||
out_expressions.confidences.fill(1.f);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_BROW_LOWERER_L_FB, XR_BS_BROWDOWN_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_BROW_LOWERER_R_FB, XR_BS_BROWDOWN_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_CHEEK_PUFF_L_FB, XR_BS_CHEEKPUFF_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_CHEEK_PUFF_R_FB, XR_BS_CHEEKPUFF_PICO);
|
||||
// XR_FACE_EXPRESSION2_CHEEK_RAISER_L_FB
|
||||
// XR_FACE_EXPRESSION2_CHEEK_RAISER_R_FB
|
||||
// XR_FACE_EXPRESSION2_CHEEK_SUCK_L_FB
|
||||
// XR_FACE_EXPRESSION2_CHEEK_SUCK_R_FB
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_CHIN_RAISER_B_FB, XR_BS_MOUTHSHRUGLOWER_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_CHIN_RAISER_T_FB, XR_BS_MOUTHSHRUGUPPER_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_DIMPLER_L_FB, XR_BS_MOUTHDIMPLE_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_DIMPLER_R_FB, XR_BS_MOUTHDIMPLE_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_CLOSED_L_FB, XR_BS_EYEBLINK_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_CLOSED_R_FB, XR_BS_EYEBLINK_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_DOWN_L_FB, XR_BS_EYELOOKDOWN_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_DOWN_R_FB, XR_BS_EYELOOKDOWN_R_PICO);
|
||||
|
||||
// "out" is left for the left eye, right for the right eye
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_LEFT_L_FB, XR_BS_EYELOOKOUT_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_RIGHT_L_FB, XR_BS_EYELOOKIN_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_LEFT_R_FB, XR_BS_EYELOOKIN_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_RIGHT_R_FB, XR_BS_EYELOOKOUT_R_PICO);
|
||||
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_UP_L_FB, XR_BS_EYELOOKUP_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_EYES_LOOK_UP_R_FB, XR_BS_EYELOOKUP_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_INNER_BROW_RAISER_L_FB, XR_BS_BROWINNERUP_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_INNER_BROW_RAISER_R_FB, XR_BS_BROWINNERUP_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_JAW_DROP_FB, XR_BS_JAWOPEN_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_JAW_SIDEWAYS_LEFT_FB, XR_BS_JAWLEFT_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_JAW_SIDEWAYS_RIGHT_FB, XR_BS_JAWRIGHT_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_JAW_THRUST_FB, XR_BS_JAWFORWARD_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LID_TIGHTENER_L_FB, XR_BS_EYESQUINT_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LID_TIGHTENER_R_FB, XR_BS_EYESQUINT_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_CORNER_DEPRESSOR_L_FB, XR_BS_MOUTHFROWN_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_CORNER_DEPRESSOR_R_FB, XR_BS_MOUTHFROWN_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_CORNER_PULLER_L_FB, XR_BS_MOUTHSMILE_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_CORNER_PULLER_R_FB, XR_BS_MOUTHSMILE_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_FUNNELER_LB_FB, XR_BS_MOUTHFUNNEL_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_FUNNELER_LT_FB, XR_BS_MOUTHFUNNEL_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_FUNNELER_RB_FB, XR_BS_MOUTHFUNNEL_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_FUNNELER_RT_FB, XR_BS_MOUTHFUNNEL_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_PRESSOR_L_FB, XR_BS_MOUTHPRESS_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_PRESSOR_R_FB, XR_BS_MOUTHPRESS_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_PUCKER_L_FB, XR_BS_MOUTHPUCKER_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_PUCKER_R_FB, XR_BS_MOUTHPUCKER_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_STRETCHER_L_FB, XR_BS_MOUTHSTRETCH_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_STRETCHER_R_FB, XR_BS_MOUTHSTRETCH_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_SUCK_LB_FB, XR_BS_MOUTHROLLLOWER_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_SUCK_LT_FB, XR_BS_MOUTHROLLLOWER_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_SUCK_RT_FB, XR_BS_MOUTHROLLUPPER_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIP_SUCK_RB_FB, XR_BS_MOUTHROLLUPPER_PICO);
|
||||
// XR_FACE_EXPRESSION2_LIP_TIGHTENER_L_FB
|
||||
// XR_FACE_EXPRESSION2_LIP_TIGHTENER_R_FB
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LIPS_TOWARD_FB, XR_BS_MOUTHCLOSE_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LOWER_LIP_DEPRESSOR_L_FB, XR_BS_MOUTHLOWERDOWN_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_LOWER_LIP_DEPRESSOR_R_FB, XR_BS_MOUTHLOWERDOWN_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_MOUTH_LEFT_FB, XR_BS_MOUTHLEFT_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_MOUTH_RIGHT_FB, XR_BS_MOUTHRIGHT_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_NOSE_WRINKLER_L_FB, XR_BS_NOSESNEER_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_NOSE_WRINKLER_R_FB, XR_BS_NOSESNEER_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_OUTER_BROW_RAISER_L_FB, XR_BS_BROWOUTERUP_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_OUTER_BROW_RAISER_R_FB, XR_BS_BROWOUTERUP_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_UPPER_LID_RAISER_L_FB, XR_BS_EYEWIDE_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_UPPER_LID_RAISER_R_FB, XR_BS_EYEWIDE_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_UPPER_LIP_RAISER_L_FB, XR_BS_MOUTHUPPERUP_L_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_UPPER_LIP_RAISER_R_FB, XR_BS_MOUTHUPPERUP_R_PICO);
|
||||
MAP_EXPRESSION(XR_FACE_EXPRESSION2_TONGUE_OUT_FB, XR_BS_TONGUEOUT_PICO);
|
||||
// XR_FACE_EXPRESSION2_TONGUE_TIP_INTERDENTAL_FB
|
||||
// XR_FACE_EXPRESSION2_TONGUE_TIP_ALVEOLAR_FB
|
||||
// XR_FACE_EXPRESSION2_TONGUE_FRONT_DORSAL_PALATE_FB
|
||||
// XR_FACE_EXPRESSION2_TONGUE_MID_DORSAL_PALATE_FB
|
||||
// XR_FACE_EXPRESSION2_TONGUE_BACK_DORSAL_VELAR_FB
|
||||
// XR_FACE_EXPRESSION2_TONGUE_RETREAT_FB
|
||||
|
||||
#undef MAP_EXPRESSION
|
||||
|
||||
out_expressions.is_valid = true;
|
||||
out_expressions.is_eye_following_blendshapes_valid = true;
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2024 galister <galister@librevr.org>
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/pico_eye_types.h"
|
||||
#include "xr/pico_eye_types_reflection.h"
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
class instance;
|
||||
class session;
|
||||
|
||||
class pico_face_tracker
|
||||
{
|
||||
PFN_xrStartEyeTrackingPICO xrStartEyeTrackingPICO{};
|
||||
PFN_xrStopEyeTrackingPICO xrStopEyeTrackingPICO{};
|
||||
PFN_xrSetTrackingModePICO xrSetTrackingModePICO{};
|
||||
PFN_xrGetFaceTrackingDataPICO xrGetFaceTrackingDataPICO{};
|
||||
|
||||
XrSession s;
|
||||
bool started{};
|
||||
|
||||
public:
|
||||
using packet_type = wivrn::from_headset::tracking::fb_face2;
|
||||
pico_face_tracker() = default;
|
||||
pico_face_tracker(instance & inst, session & s);
|
||||
~pico_face_tracker();
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
void get_weights(XrTime time, packet_type & out_expressions);
|
||||
};
|
||||
} // namespace xr
|
||||
+33
-9
@@ -23,7 +23,10 @@
|
||||
#include "details/enumerate.h"
|
||||
#include "openxr/openxr.h"
|
||||
#include "utils/contains.h"
|
||||
#include "xr/fb_body_tracker.h"
|
||||
#include "xr/htc_body_tracker.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/pico_body_tracker.h"
|
||||
#include "xr/system.h"
|
||||
#include <ranges>
|
||||
#include <vulkan/vulkan.h>
|
||||
@@ -120,22 +123,43 @@ xr::fb_face_tracker2 xr::session::create_fb_face_tracker2()
|
||||
return {*inst, ft};
|
||||
}
|
||||
|
||||
xr::htc_face_tracker xr::session::create_htc_face_tracker(XrFacialTrackingTypeHTC facialTrackingType)
|
||||
xr::htc_face_tracker xr::session::create_htc_face_tracker(bool eye, bool lip)
|
||||
{
|
||||
XrFacialTrackerCreateInfoHTC create_info{
|
||||
.type = XR_TYPE_FACIAL_TRACKER_CREATE_INFO_HTC,
|
||||
return {*inst, *this, eye, lip};
|
||||
}
|
||||
|
||||
xr::pico_face_tracker xr::session::create_pico_face_tracker()
|
||||
{
|
||||
return {*inst, *this};
|
||||
}
|
||||
|
||||
xr::fb_body_tracker xr::session::create_fb_body_tracker()
|
||||
{
|
||||
return {*inst, *this};
|
||||
}
|
||||
|
||||
xr::htc_body_tracker xr::session::create_htc_body_tracker()
|
||||
{
|
||||
return {*inst, *this};
|
||||
}
|
||||
|
||||
xr::pico_body_tracker xr::session::create_pico_body_tracker()
|
||||
{
|
||||
XrBodyTrackerCreateInfoBD create_info{
|
||||
.type = XR_TYPE_BODY_TRACKER_CREATE_INFO_BD,
|
||||
.next = nullptr,
|
||||
.facialTrackingType = facialTrackingType,
|
||||
.jointSet = XR_BODY_JOINT_SET_FULL_BODY_JOINTS_BD,
|
||||
};
|
||||
|
||||
XrFacialTrackerHTC ft;
|
||||
XrBodyTrackerBD bt;
|
||||
|
||||
auto xrCreateFacialTrackerHTC = inst->get_proc<PFN_xrCreateFacialTrackerHTC>("xrCreateFacialTrackerHTC");
|
||||
assert(xrCreateFacialTrackerHTC);
|
||||
auto xrCreateBodyTrackerBD = inst->get_proc<PFN_xrCreateBodyTrackerBD>("xrCreateBodyTrackerBD");
|
||||
assert(xrCreateBodyTrackerBD);
|
||||
|
||||
CHECK_XR(xrCreateFacialTrackerHTC(id, &create_info, &ft));
|
||||
return {*inst, ft, facialTrackingType};
|
||||
CHECK_XR(xrCreateBodyTrackerBD(id, &create_info, &bt));
|
||||
return {*inst, bt};
|
||||
}
|
||||
|
||||
std::vector<vk::Format> xr::session::get_swapchain_formats() const
|
||||
{
|
||||
std::vector<vk::Format> formats;
|
||||
|
||||
+9
-1
@@ -26,10 +26,14 @@
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
#include "fb_body_tracker.h"
|
||||
#include "fb_face_tracker2.h"
|
||||
#include "hand_tracker.h"
|
||||
#include "htc_body_tracker.h"
|
||||
#include "htc_face_tracker.h"
|
||||
#include "passthrough.h"
|
||||
#include "pico_body_tracker.h"
|
||||
#include "pico_face_tracker.h"
|
||||
#include "space.h"
|
||||
|
||||
namespace xr
|
||||
@@ -51,7 +55,11 @@ public:
|
||||
space create_action_space(XrAction action, const XrPosef & pose = {{0, 0, 0, 1}, {0, 0, 0}});
|
||||
hand_tracker create_hand_tracker(XrHandEXT hand, XrHandJointSetEXT hand_joint_set = XR_HAND_JOINT_SET_DEFAULT_EXT);
|
||||
fb_face_tracker2 create_fb_face_tracker2();
|
||||
htc_face_tracker create_htc_face_tracker(XrFacialTrackingTypeHTC);
|
||||
htc_face_tracker create_htc_face_tracker(bool eye, bool lip);
|
||||
pico_face_tracker create_pico_face_tracker();
|
||||
fb_body_tracker create_fb_body_tracker();
|
||||
htc_body_tracker create_htc_body_tracker();
|
||||
pico_body_tracker create_pico_body_tracker();
|
||||
|
||||
std::vector<vk::Format> get_swapchain_formats() const;
|
||||
|
||||
|
||||
@@ -37,6 +37,11 @@ enum class spaces
|
||||
aim_right,
|
||||
palm_left,
|
||||
palm_right,
|
||||
// hand_interaction_ext
|
||||
pinch_left,
|
||||
pinch_right,
|
||||
poke_left,
|
||||
poke_right,
|
||||
|
||||
count
|
||||
};
|
||||
|
||||
@@ -105,6 +105,24 @@ XrSystemEyeGazeInteractionPropertiesEXT xr::system::eye_gaze_interaction_propert
|
||||
return eye_gaze_prop;
|
||||
}
|
||||
|
||||
XrSystemUserPresencePropertiesEXT xr::system::user_presence_properties() const
|
||||
{
|
||||
if (!id)
|
||||
throw std::invalid_argument("this");
|
||||
|
||||
XrSystemUserPresencePropertiesEXT presence_prop{
|
||||
.type = XR_TYPE_SYSTEM_USER_PRESENCE_PROPERTIES_EXT,
|
||||
};
|
||||
|
||||
XrSystemProperties prop{
|
||||
.type = XR_TYPE_SYSTEM_PROPERTIES,
|
||||
.next = &presence_prop,
|
||||
};
|
||||
CHECK_XR(xrGetSystemProperties(*inst, id, &prop));
|
||||
|
||||
return presence_prop;
|
||||
}
|
||||
|
||||
XrSystemFaceTrackingProperties2FB xr::system::fb_face_tracking2_properties() const
|
||||
{
|
||||
if (!id)
|
||||
@@ -141,6 +159,42 @@ XrSystemFacialTrackingPropertiesHTC xr::system::htc_face_tracking_properties() c
|
||||
return face_tracking_prop;
|
||||
}
|
||||
|
||||
XrSystemBodyTrackingPropertiesFB xr::system::fb_body_tracking_properties() const
|
||||
{
|
||||
if (!id)
|
||||
throw std::invalid_argument("this");
|
||||
|
||||
XrSystemBodyTrackingPropertiesFB body_tracking_prop{
|
||||
.type = XR_TYPE_SYSTEM_BODY_TRACKING_PROPERTIES_FB,
|
||||
};
|
||||
|
||||
XrSystemProperties prop{
|
||||
.type = XR_TYPE_SYSTEM_PROPERTIES,
|
||||
.next = &body_tracking_prop,
|
||||
};
|
||||
CHECK_XR(xrGetSystemProperties(*inst, id, &prop));
|
||||
|
||||
return body_tracking_prop;
|
||||
}
|
||||
|
||||
XrSystemBodyTrackingPropertiesBD xr::system::bd_body_tracking_properties() const
|
||||
{
|
||||
if (!id)
|
||||
throw std::invalid_argument("this");
|
||||
|
||||
XrSystemBodyTrackingPropertiesBD body_tracking_prop{
|
||||
.type = XR_TYPE_SYSTEM_BODY_TRACKING_PROPERTIES_BD,
|
||||
};
|
||||
|
||||
XrSystemProperties prop{
|
||||
.type = XR_TYPE_SYSTEM_PROPERTIES,
|
||||
.next = &body_tracking_prop,
|
||||
};
|
||||
CHECK_XR(xrGetSystemProperties(*inst, id, &prop));
|
||||
|
||||
return body_tracking_prop;
|
||||
}
|
||||
|
||||
xr::system::passthrough_type xr::system::passthrough_supported() const
|
||||
{
|
||||
if (utils::contains(environment_blend_modes(XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO), XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND))
|
||||
|
||||
@@ -62,8 +62,11 @@ public:
|
||||
XrSystemProperties properties() const;
|
||||
XrSystemHandTrackingPropertiesEXT hand_tracking_properties() const;
|
||||
XrSystemEyeGazeInteractionPropertiesEXT eye_gaze_interaction_properties() const;
|
||||
XrSystemUserPresencePropertiesEXT user_presence_properties() const;
|
||||
XrSystemFaceTrackingProperties2FB fb_face_tracking2_properties() const;
|
||||
XrSystemFacialTrackingPropertiesHTC htc_face_tracking_properties() const;
|
||||
XrSystemBodyTrackingPropertiesFB fb_body_tracking_properties() const;
|
||||
XrSystemBodyTrackingPropertiesBD bd_body_tracking_properties() const;
|
||||
passthrough_type passthrough_supported() const;
|
||||
|
||||
XrGraphicsRequirementsVulkan2KHR graphics_requirements() const;
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "xr.h"
|
||||
|
||||
#include "spdlog/fmt/fmt.h"
|
||||
|
||||
std::string xr::to_string(XrVersion version)
|
||||
{
|
||||
return fmt::format("{}.{}.{}", XR_VERSION_MAJOR(version), XR_VERSION_MINOR(version), XR_VERSION_PATCH(version));
|
||||
}
|
||||
+1
-33
@@ -26,36 +26,4 @@
|
||||
#include "swapchain.h"
|
||||
#include "system.h"
|
||||
#include "xr/check.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <openxr/openxr_reflection.h>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
#define XR_ENUM_CASE_STR(name, val) \
|
||||
case name: \
|
||||
return #name;
|
||||
#define XR_ENUM_STR(enumType) \
|
||||
constexpr const char * to_string(enumType e) \
|
||||
{ \
|
||||
switch (e) \
|
||||
{ \
|
||||
XR_LIST_ENUM_##enumType(XR_ENUM_CASE_STR) default : return "Unknown"; \
|
||||
} \
|
||||
}
|
||||
|
||||
XR_ENUM_STR(XrResult);
|
||||
XR_ENUM_STR(XrFormFactor);
|
||||
XR_ENUM_STR(XrViewConfigurationType);
|
||||
XR_ENUM_STR(XrEnvironmentBlendMode);
|
||||
XR_ENUM_STR(XrReferenceSpaceType);
|
||||
XR_ENUM_STR(XrActionType);
|
||||
XR_ENUM_STR(XrEyeVisibility);
|
||||
XR_ENUM_STR(XrSessionState);
|
||||
XR_ENUM_STR(XrObjectType);
|
||||
XR_ENUM_STR(XrStructureType);
|
||||
|
||||
std::string to_string(XrVersion version);
|
||||
|
||||
} // namespace xr
|
||||
#include "xr/to_string.h"
|
||||
+147
-85
@@ -41,86 +41,103 @@ namespace wivrn
|
||||
// Default port for server to listen, both TCP and UDP
|
||||
static const int default_port = 9757;
|
||||
|
||||
static constexpr int protocol_revision = 2;
|
||||
static constexpr int protocol_revision = 1;
|
||||
|
||||
enum class device_id : uint8_t
|
||||
{
|
||||
HEAD, // /user/head
|
||||
LEFT_CONTROLLER_HAPTIC, // /user/hand/left/output/haptic
|
||||
RIGHT_CONTROLLER_HAPTIC, // /user/hand/right/output/haptic
|
||||
LEFT_TRIGGER_HAPTIC, // /user/hand/left/output/haptic_trigger
|
||||
RIGHT_TRIGGER_HAPTIC, // /user/hand/right/output/haptic_trigger
|
||||
LEFT_THUMB_HAPTIC, // /user/hand/left/output/haptic_thumb
|
||||
RIGHT_THUMB_HAPTIC, // /user/hand/right/output/haptic_thumb
|
||||
LEFT_GRIP, // /user/hand/left/input/grip/pose
|
||||
LEFT_AIM, // /user/hand/left/input/aim/pose
|
||||
LEFT_PALM, // /user/hand/left/palm_ext/pose
|
||||
RIGHT_GRIP, // /user/hand/right/input/grip/pose
|
||||
RIGHT_AIM, // /user/hand/right/input/aim/pose
|
||||
RIGHT_PALM, // /user/hand/right/palm_ext/pose
|
||||
X_CLICK, // /user/hand/left/input/x/click
|
||||
X_TOUCH, // /user/hand/left/input/x/touch
|
||||
Y_CLICK, // /user/hand/left/input/y/click
|
||||
Y_TOUCH, // /user/hand/left/input/y/touch
|
||||
MENU_CLICK, // /user/hand/left/input/menu/click
|
||||
LEFT_SQUEEZE_CLICK, // /user/hand/left/input/squeeze/click
|
||||
LEFT_SQUEEZE_FORCE, // /user/hand/left/input/squeeze/force
|
||||
LEFT_SQUEEZE_VALUE, // /user/hand/left/input/squeeze/value
|
||||
LEFT_TRIGGER_CLICK, // /user/hand/left/input/trigger/click
|
||||
LEFT_TRIGGER_VALUE, // /user/hand/left/input/trigger/value
|
||||
LEFT_TRIGGER_TOUCH, // /user/hand/left/input/trigger/touch
|
||||
LEFT_TRIGGER_PROXIMITY, // /user/hand/left/input/trigger/proximity
|
||||
LEFT_TRIGGER_CURL, // /user/hand/left/input/trigger/curl_fb
|
||||
LEFT_TRIGGER_SLIDE, // /user/hand/left/input/trigger/slide_fb
|
||||
LEFT_TRIGGER_FORCE, // /user/hand/left/input/trigger/force
|
||||
LEFT_THUMBSTICK_X, // /user/hand/left/input/thumbstick/x
|
||||
LEFT_THUMBSTICK_Y, // /user/hand/left/input/thumbstick/y
|
||||
LEFT_THUMBSTICK_CLICK, // /user/hand/left/input/thumbstick/click
|
||||
LEFT_THUMBSTICK_TOUCH, // /user/hand/left/input/thumbstick/touch
|
||||
LEFT_THUMBREST_TOUCH, // /user/hand/left/input/thumbrest/touch
|
||||
LEFT_THUMBREST_FORCE, // /user/hand/left/input/thumbrest/force
|
||||
LEFT_THUMB_PROXIMITY, // /user/hand/left/input/thumb_resting_surfaces/proximity
|
||||
LEFT_TRACKPAD_X, // /user/hand/left/input/trackpad/x
|
||||
LEFT_TRACKPAD_Y, // /user/hand/left/input/trackpad/y
|
||||
LEFT_TRACKPAD_CLICK, // /user/hand/left/input/trackpad/click
|
||||
LEFT_TRACKPAD_TOUCH, // /user/hand/left/input/trackpad/touch
|
||||
LEFT_TRACKPAD_FORCE, // /user/hand/left/input/trackpad/force
|
||||
LEFT_STYLUS_FORCE, // /user/hand/left/input/stylus_fb/force
|
||||
A_CLICK, // /user/hand/right/input/a/click
|
||||
A_TOUCH, // /user/hand/right/input/a/touch
|
||||
B_CLICK, // /user/hand/right/input/b/click
|
||||
B_TOUCH, // /user/hand/right/input/b/touch
|
||||
SYSTEM_CLICK, // /user/hand/right/input/system/click
|
||||
RIGHT_SQUEEZE_CLICK, // /user/hand/right/input/squeeze/click
|
||||
RIGHT_SQUEEZE_FORCE, // /user/hand/right/input/squeeze/force
|
||||
RIGHT_SQUEEZE_VALUE, // /user/hand/right/input/squeeze/value
|
||||
RIGHT_TRIGGER_CLICK, // /user/hand/right/input/trigger/click
|
||||
RIGHT_TRIGGER_VALUE, // /user/hand/right/input/trigger/value
|
||||
RIGHT_TRIGGER_TOUCH, // /user/hand/right/input/trigger/touch
|
||||
RIGHT_TRIGGER_PROXIMITY, // /user/hand/right/input/trigger/proximity
|
||||
RIGHT_TRIGGER_CURL, // /user/hand/right/input/trigger/curl_fb
|
||||
RIGHT_TRIGGER_SLIDE, // /user/hand/right/input/trigger/slide_fb
|
||||
RIGHT_TRIGGER_FORCE, // /user/hand/right/input/trigger/force
|
||||
RIGHT_THUMBSTICK_X, // /user/hand/right/input/thumbstick/x
|
||||
RIGHT_THUMBSTICK_Y, // /user/hand/right/input/thumbstick/y
|
||||
RIGHT_THUMBSTICK_CLICK, // /user/hand/right/input/thumbstick/click
|
||||
RIGHT_THUMBSTICK_TOUCH, // /user/hand/right/input/thumbstick/touch
|
||||
RIGHT_THUMBREST_TOUCH, // /user/hand/right/input/thumbrest/touch
|
||||
RIGHT_THUMBREST_FORCE, // /user/hand/right/input/thumbrest/force
|
||||
RIGHT_THUMB_PROXIMITY, // /user/hand/right/input/thumb_resting_surfaces/proximity
|
||||
RIGHT_TRACKPAD_X, // /user/hand/right/input/trackpad/x
|
||||
RIGHT_TRACKPAD_Y, // /user/hand/right/input/trackpad/y
|
||||
RIGHT_TRACKPAD_CLICK, // /user/hand/right/input/trackpad/click
|
||||
RIGHT_TRACKPAD_TOUCH, // /user/hand/right/input/trackpad/touch
|
||||
RIGHT_TRACKPAD_FORCE, // /user/hand/right/input/trackpad/force
|
||||
RIGHT_STYLUS_FORCE, // /user/hand/right/input/stylus_fb/force
|
||||
EYE_GAZE, // /user/eyes_ext/input/gaze_ext/pose
|
||||
HEAD, // /user/head
|
||||
LEFT_CONTROLLER_HAPTIC, // /user/hand/left/output/haptic
|
||||
RIGHT_CONTROLLER_HAPTIC, // /user/hand/right/output/haptic
|
||||
LEFT_TRIGGER_HAPTIC, // /user/hand/left/output/haptic_trigger
|
||||
RIGHT_TRIGGER_HAPTIC, // /user/hand/right/output/haptic_trigger
|
||||
LEFT_THUMB_HAPTIC, // /user/hand/left/output/haptic_thumb
|
||||
RIGHT_THUMB_HAPTIC, // /user/hand/right/output/haptic_thumb
|
||||
LEFT_GRIP, // /user/hand/left/input/grip/pose
|
||||
LEFT_AIM, // /user/hand/left/input/aim/pose
|
||||
LEFT_PALM, // /user/hand/left/palm_ext/pose
|
||||
RIGHT_GRIP, // /user/hand/right/input/grip/pose
|
||||
RIGHT_AIM, // /user/hand/right/input/aim/pose
|
||||
RIGHT_PALM, // /user/hand/right/palm_ext/pose
|
||||
X_CLICK, // /user/hand/left/input/x/click
|
||||
X_TOUCH, // /user/hand/left/input/x/touch
|
||||
Y_CLICK, // /user/hand/left/input/y/click
|
||||
Y_TOUCH, // /user/hand/left/input/y/touch
|
||||
MENU_CLICK, // /user/hand/left/input/menu/click
|
||||
LEFT_SQUEEZE_CLICK, // /user/hand/left/input/squeeze/click
|
||||
LEFT_SQUEEZE_FORCE, // /user/hand/left/input/squeeze/force
|
||||
LEFT_SQUEEZE_VALUE, // /user/hand/left/input/squeeze/value
|
||||
LEFT_TRIGGER_CLICK, // /user/hand/left/input/trigger/click
|
||||
LEFT_TRIGGER_VALUE, // /user/hand/left/input/trigger/value
|
||||
LEFT_TRIGGER_TOUCH, // /user/hand/left/input/trigger/touch
|
||||
LEFT_TRIGGER_PROXIMITY, // /user/hand/left/input/trigger/proximity
|
||||
LEFT_TRIGGER_CURL, // /user/hand/left/input/trigger/curl_fb
|
||||
LEFT_TRIGGER_SLIDE, // /user/hand/left/input/trigger/slide_fb
|
||||
LEFT_TRIGGER_FORCE, // /user/hand/left/input/trigger/force
|
||||
LEFT_THUMBSTICK_X, // /user/hand/left/input/thumbstick/x
|
||||
LEFT_THUMBSTICK_Y, // /user/hand/left/input/thumbstick/y
|
||||
LEFT_THUMBSTICK_CLICK, // /user/hand/left/input/thumbstick/click
|
||||
LEFT_THUMBSTICK_TOUCH, // /user/hand/left/input/thumbstick/touch
|
||||
LEFT_THUMBREST_TOUCH, // /user/hand/left/input/thumbrest/touch
|
||||
LEFT_THUMBREST_FORCE, // /user/hand/left/input/thumbrest/force
|
||||
LEFT_THUMB_PROXIMITY, // /user/hand/left/input/thumb_resting_surfaces/proximity
|
||||
LEFT_TRACKPAD_X, // /user/hand/left/input/trackpad/x
|
||||
LEFT_TRACKPAD_Y, // /user/hand/left/input/trackpad/y
|
||||
LEFT_TRACKPAD_CLICK, // /user/hand/left/input/trackpad/click
|
||||
LEFT_TRACKPAD_TOUCH, // /user/hand/left/input/trackpad/touch
|
||||
LEFT_TRACKPAD_FORCE, // /user/hand/left/input/trackpad/force
|
||||
LEFT_STYLUS_FORCE, // /user/hand/left/input/stylus_fb/force
|
||||
LEFT_PINCH_POSE, // /user/hand/left/input/pinch_ext/pose
|
||||
LEFT_PINCH_VALUE, // /user/hand/left/input/pinch_ext/value
|
||||
LEFT_PINCH_READY, // /user/hand/left/input/pinch_ext/ready_ext
|
||||
LEFT_POKE, // /user/hand/left/input/poke_ext/pose
|
||||
LEFT_AIM_ACTIVATE_VALUE, // /user/hand/left/input/aim_activate_ext/value
|
||||
LEFT_AIM_ACTIVATE_READY, // /user/hand/left/input/aim_activate_ext/ready_ext
|
||||
LEFT_GRASP_VALUE, // /user/hand/left/input/grasp_ext/value
|
||||
LEFT_GRASP_READY, // /user/hand/left/input/grasp_ext/ready_ext
|
||||
A_CLICK, // /user/hand/right/input/a/click
|
||||
A_TOUCH, // /user/hand/right/input/a/touch
|
||||
B_CLICK, // /user/hand/right/input/b/click
|
||||
B_TOUCH, // /user/hand/right/input/b/touch
|
||||
SYSTEM_CLICK, // /user/hand/right/input/system/click
|
||||
RIGHT_SQUEEZE_CLICK, // /user/hand/right/input/squeeze/click
|
||||
RIGHT_SQUEEZE_FORCE, // /user/hand/right/input/squeeze/force
|
||||
RIGHT_SQUEEZE_VALUE, // /user/hand/right/input/squeeze/value
|
||||
RIGHT_TRIGGER_CLICK, // /user/hand/right/input/trigger/click
|
||||
RIGHT_TRIGGER_VALUE, // /user/hand/right/input/trigger/value
|
||||
RIGHT_TRIGGER_TOUCH, // /user/hand/right/input/trigger/touch
|
||||
RIGHT_TRIGGER_PROXIMITY, // /user/hand/right/input/trigger/proximity
|
||||
RIGHT_TRIGGER_CURL, // /user/hand/right/input/trigger/curl_fb
|
||||
RIGHT_TRIGGER_SLIDE, // /user/hand/right/input/trigger/slide_fb
|
||||
RIGHT_TRIGGER_FORCE, // /user/hand/right/input/trigger/force
|
||||
RIGHT_THUMBSTICK_X, // /user/hand/right/input/thumbstick/x
|
||||
RIGHT_THUMBSTICK_Y, // /user/hand/right/input/thumbstick/y
|
||||
RIGHT_THUMBSTICK_CLICK, // /user/hand/right/input/thumbstick/click
|
||||
RIGHT_THUMBSTICK_TOUCH, // /user/hand/right/input/thumbstick/touch
|
||||
RIGHT_THUMBREST_TOUCH, // /user/hand/right/input/thumbrest/touch
|
||||
RIGHT_THUMBREST_FORCE, // /user/hand/right/input/thumbrest/force
|
||||
RIGHT_THUMB_PROXIMITY, // /user/hand/right/input/thumb_resting_surfaces/proximity
|
||||
RIGHT_TRACKPAD_X, // /user/hand/right/input/trackpad/x
|
||||
RIGHT_TRACKPAD_Y, // /user/hand/right/input/trackpad/y
|
||||
RIGHT_TRACKPAD_CLICK, // /user/hand/right/input/trackpad/click
|
||||
RIGHT_TRACKPAD_TOUCH, // /user/hand/right/input/trackpad/touch
|
||||
RIGHT_TRACKPAD_FORCE, // /user/hand/right/input/trackpad/force
|
||||
RIGHT_STYLUS_FORCE, // /user/hand/right/input/stylus_fb/force
|
||||
RIGHT_PINCH_POSE, // /user/hand/right/input/pinch_ext/pose
|
||||
RIGHT_PINCH_VALUE, // /user/hand/right/input/pinch_ext/value
|
||||
RIGHT_PINCH_READY, // /user/hand/right/input/pinch_ext/ready_ext
|
||||
RIGHT_POKE, // /user/hand/right/input/poke_ext/pose
|
||||
RIGHT_AIM_ACTIVATE_VALUE, // /user/hand/right/input/aim_activate_ext/value
|
||||
RIGHT_AIM_ACTIVATE_READY, // /user/hand/right/input/aim_activate_ext/ready_ext
|
||||
RIGHT_GRASP_VALUE, // /user/hand/right/input/grasp_ext/value
|
||||
RIGHT_GRASP_READY, // /user/hand/right/input/grasp_ext/ready_ext
|
||||
EYE_GAZE, // /user/eyes_ext/input/gaze_ext/pose
|
||||
};
|
||||
|
||||
enum class interaction_profile : uint8_t
|
||||
{
|
||||
none,
|
||||
khr_simple_controller,
|
||||
ext_hand_interaction_ext,
|
||||
bytedance_pico_neo3_controller,
|
||||
bytedance_pico4_controller,
|
||||
bytedance_pico4s_controller,
|
||||
@@ -164,6 +181,7 @@ namespace from_headset
|
||||
{
|
||||
struct crypto_handshake
|
||||
{
|
||||
uint64_t protocol_version;
|
||||
std::string public_key; // In PEM format
|
||||
std::string name;
|
||||
};
|
||||
@@ -218,6 +236,7 @@ struct headset_info_packet
|
||||
bool palm_pose;
|
||||
bool passthrough;
|
||||
face_type face_tracking;
|
||||
uint32_t num_generic_trackers;
|
||||
std::vector<video_codec> supported_codecs; // from preferred to least preferred
|
||||
std::string system_name;
|
||||
};
|
||||
@@ -276,7 +295,6 @@ struct tracking
|
||||
bool is_valid;
|
||||
bool is_eye_following_blendshapes_valid;
|
||||
};
|
||||
std::optional<fb_face2> face;
|
||||
|
||||
struct htc_face
|
||||
{
|
||||
@@ -285,7 +303,8 @@ struct tracking
|
||||
bool eye_active;
|
||||
bool lip_active;
|
||||
};
|
||||
std::optional<htc_face> face_htc;
|
||||
|
||||
std::variant<std::monostate, fb_face2, htc_face> face;
|
||||
};
|
||||
|
||||
struct trackings
|
||||
@@ -335,6 +354,28 @@ struct hand_tracking
|
||||
std::optional<std::array<pose, XR_HAND_JOINT_COUNT_EXT>> joints;
|
||||
};
|
||||
|
||||
struct body_tracking
|
||||
{
|
||||
inline static const size_t max_tracked_poses = 16;
|
||||
enum flags : uint8_t
|
||||
{
|
||||
orientation_valid = 1 << 0,
|
||||
position_valid = 1 << 1,
|
||||
orientation_tracked = 1 << 2,
|
||||
position_tracked = 1 << 3,
|
||||
};
|
||||
struct pose
|
||||
{
|
||||
XrPosef pose{};
|
||||
// maybe add velocity?
|
||||
uint8_t flags{0};
|
||||
};
|
||||
|
||||
XrTime production_timestamp;
|
||||
XrTime timestamp;
|
||||
std::optional<std::array<pose, max_tracked_poses>> poses;
|
||||
};
|
||||
|
||||
struct inputs
|
||||
{
|
||||
struct input_value
|
||||
@@ -385,6 +426,15 @@ struct refresh_rate_changed
|
||||
float to;
|
||||
};
|
||||
|
||||
struct session_state_changed
|
||||
{
|
||||
XrSessionState state;
|
||||
};
|
||||
struct user_presence_changed
|
||||
{
|
||||
bool present;
|
||||
};
|
||||
|
||||
using packets = std::variant<
|
||||
crypto_handshake,
|
||||
pin_check_1,
|
||||
@@ -397,11 +447,14 @@ using packets = std::variant<
|
||||
trackings,
|
||||
derived_pose,
|
||||
hand_tracking,
|
||||
body_tracking,
|
||||
inputs,
|
||||
timesync_response,
|
||||
battery,
|
||||
visibility_mask_changed,
|
||||
refresh_rate_changed>;
|
||||
refresh_rate_changed,
|
||||
session_state_changed,
|
||||
user_presence_changed>;
|
||||
} // namespace from_headset
|
||||
|
||||
namespace to_headset
|
||||
@@ -415,6 +468,7 @@ struct crypto_handshake
|
||||
pin_needed,
|
||||
client_already_paired,
|
||||
pairing_disabled,
|
||||
incompatible_version,
|
||||
};
|
||||
|
||||
std::string public_key; // In PEM format
|
||||
@@ -437,18 +491,20 @@ struct handshake
|
||||
int stream_port;
|
||||
};
|
||||
|
||||
struct foveation_parameter_item
|
||||
{
|
||||
float center;
|
||||
float scale;
|
||||
float a;
|
||||
float b;
|
||||
};
|
||||
|
||||
struct foveation_parameter
|
||||
{
|
||||
foveation_parameter_item x;
|
||||
foveation_parameter_item y;
|
||||
// The number of source pixels for each ratio,
|
||||
// the middle one is 1:1
|
||||
//
|
||||
// how to read it:
|
||||
// 1, 4, 5, 3, 1 means:
|
||||
// the first output pixel has 3 source pixels
|
||||
// the 4 that come after have 2 source pixels
|
||||
// then 5 with 1 source pixel
|
||||
// 3 with 2 source pixels
|
||||
// 1 with 3 source pixels
|
||||
std::vector<uint16_t> x;
|
||||
std::vector<uint16_t> y;
|
||||
};
|
||||
|
||||
struct audio_stream_description
|
||||
@@ -488,7 +544,8 @@ struct video_stream_description
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
float fps;
|
||||
std::array<foveation_parameter, 2> foveation;
|
||||
uint16_t defoveated_width;
|
||||
uint16_t defoveated_height;
|
||||
std::vector<item> items;
|
||||
};
|
||||
|
||||
@@ -560,12 +617,17 @@ struct tracking_control
|
||||
left_aim,
|
||||
left_grip,
|
||||
left_palm,
|
||||
left_pinch,
|
||||
left_poke,
|
||||
right_aim,
|
||||
right_grip,
|
||||
right_palm,
|
||||
right_pinch,
|
||||
right_poke,
|
||||
left_hand,
|
||||
right_hand,
|
||||
face,
|
||||
generic_tracker,
|
||||
battery,
|
||||
microphone,
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
// clang-format off
|
||||
#pragma once
|
||||
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
// XR_HTC_vive_xr_tracker_interaction is a preprocessor guard. Do not pass it to API calls.
|
||||
#define XR_HTC_vive_xr_tracker_interaction 1
|
||||
#define XR_HTC_vive_xr_tracker_interaction_SPEC_VERSION 1
|
||||
#define XR_HTC_VIVE_XR_TRACKER_INTERACTION_EXTENSION_NAME "XR_HTC_vive_xr_tracker_interaction"
|
||||
|
||||
// XR_HTC_path_enumeration is a preprocessor guard. Do not pass it to API calls.
|
||||
#define XR_HTC_path_enumeration 1
|
||||
#define XR_HTC_path_enumeration_SPEC_VERSION 1
|
||||
#define XR_HTC_PATH_ENUMERATION_EXTENSION_NAME "XR_HTC_path_enumeration"
|
||||
|
||||
typedef struct XrPathsForInteractionProfileEnumerateInfoHTC {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
XrPath interactionProfile;
|
||||
XrPath userPath;
|
||||
} XrPathsForInteractionProfileEnumerateInfoHTC;
|
||||
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrEnumeratePathsForInteractionProfileHTC)(XrInstance instance, XrPathsForInteractionProfileEnumerateInfoHTC createInfo, uint32_t pathCapacityInput, uint32_t* pathCountOutput, XrPath* paths);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrEnumeratePathsForInteractionProfileHTC(
|
||||
XrInstance instance,
|
||||
XrPathsForInteractionProfileEnumerateInfoHTC createInfo,
|
||||
uint32_t pathCapacityInput,
|
||||
uint32_t* pathCountOutput,
|
||||
XrPath* paths);
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
|
||||
// clang-format on
|
||||
@@ -0,0 +1,41 @@
|
||||
// clang-format off
|
||||
#pragma once
|
||||
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
// XR_META_body_tracking_fidelity is a preprocessor guard. Do not pass it to API calls.
|
||||
#define XR_META_body_tracking_fidelity 1
|
||||
#define XR_META_body_tracking_fidelity_SPEC_VERSION 1
|
||||
#define XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME "XR_META_body_tracking_fidelity"
|
||||
static const XrStructureType XR_TYPE_BODY_TRACKING_FIDELITY_STATUS_META = (XrStructureType) 1000284000;
|
||||
static const XrStructureType XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FIDELITY_META = (XrStructureType) 1000284001;
|
||||
|
||||
typedef enum XrBodyTrackingFidelityMETA {
|
||||
XR_BODY_TRACKING_FIDELITY_LOW_META = 1,
|
||||
XR_BODY_TRACKING_FIDELITY_HIGH_META = 2,
|
||||
XR_BODY_TRACKING_FIDELITY_MAX_ENUM_META = 0x7FFFFFFF
|
||||
} XrBodyTrackingFidelityMETA;
|
||||
typedef struct XrSystemPropertiesBodyTrackingFidelityMETA {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
XrBool32 supportsBodyTrackingFidelity;
|
||||
} XrSystemPropertiesBodyTrackingFidelityMETA;
|
||||
|
||||
// XrBodyTrackingFidelityStatusMETA extends XrBodyJointLocationsFB
|
||||
typedef struct XrBodyTrackingFidelityStatusMETA {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
XrBodyTrackingFidelityMETA fidelity;
|
||||
} XrBodyTrackingFidelityStatusMETA;
|
||||
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrRequestBodyTrackingFidelityMETA)(XrBodyTrackerFB bodyTracker, const XrBodyTrackingFidelityMETA fidelity);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
#ifdef XR_EXTENSION_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrRequestBodyTrackingFidelityMETA(
|
||||
XrBodyTrackerFB bodyTracker,
|
||||
const XrBodyTrackingFidelityMETA fidelity);
|
||||
#endif /* XR_EXTENSION_PROTOTYPES */
|
||||
#endif /* !XR_NO_PROTOTYPES */
|
||||
|
||||
// clang-format on
|
||||
@@ -0,0 +1,147 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// See https://pico.crx.moe/docs/pico-openxr/eye-gaze-interaction and https://pico.crx.moe/docs/pico-openxr/eye-tracking.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
#define XR_PICO_EYE_TRACKING_EXTENSION_NAME "XR_PICO_eye_tracking"
|
||||
|
||||
typedef XrFlags64 XrTrackingModeFlagsPICO;
|
||||
|
||||
static const XrTrackingModeFlagsPICO XR_TRACKING_MODE_EYE_BIT_PICO = 0x00000004;
|
||||
static const XrTrackingModeFlagsPICO XR_TRACKING_MODE_FACE_BIT_PICO = 0x00000008;
|
||||
static const XrTrackingModeFlagsPICO XR_TRACKING_MODE_FACE_LIPSYNC_PICO = 0x00002000;
|
||||
static const XrTrackingModeFlagsPICO XR_TRACKING_MODE_FACE_LIPSYNC_BLEND_SHAPES_PICO = 0x00000100;
|
||||
|
||||
typedef enum XrTrackingStateCodePICO
|
||||
{
|
||||
XR_MT_SUCCESS_PICO = 0,
|
||||
XR_MT_FAILURE_PICO = -1,
|
||||
XR_MT_MODE_NONE_PICO = -2,
|
||||
XR_MT_DEVICE_NOT_SUPPORT_PICO = -3,
|
||||
XR_MT_SERVICE_NEED_START_PICO = -4,
|
||||
XR_MT_ET_PERMISSION_DENIED_PICO = -5,
|
||||
XR_MT_FT_PERMISSION_DENIED_PICO = -6,
|
||||
XR_MT_MIC_PERMISSION_DENIED_PICO = -7,
|
||||
XR_MT_SYSTEM_DENIED_PICO = -8,
|
||||
XR_MT_UNKNOWN_ERROR_PICO = -9,
|
||||
} XrTrackingStateCodePICO;
|
||||
|
||||
typedef enum XrFaceTrackingDataTypePICO
|
||||
{
|
||||
XR_GET_FACE_DATA_DEFAULT_PICO = 0,
|
||||
XR_GET_FACE_DATA_PICO = 3,
|
||||
XR_GET_LIP_DATA_PICO = 4,
|
||||
XR_GET_FACELIP_DATA_PICO = 5,
|
||||
} XrFaceTrackingDataTypePICO;
|
||||
|
||||
typedef struct XrFaceTrackingDataPICO
|
||||
{
|
||||
XrTime time;
|
||||
float blendShapeWeight[72];
|
||||
float isVideoInputValid[10];
|
||||
float laughingProbability;
|
||||
float emotionProbability[10];
|
||||
float reserved[128];
|
||||
} XrFaceTrackingDataPICO;
|
||||
|
||||
typedef enum XrBlendShapeIndexPICO
|
||||
{
|
||||
XR_BS_EYELOOKDOWN_L_PICO = 0,
|
||||
XR_BS_NOSESNEER_L_PICO = 1,
|
||||
XR_BS_EYELOOKIN_L_PICO = 2,
|
||||
XR_BS_BROWINNERUP_PICO = 3,
|
||||
XR_BS_BROWDOWN_R_PICO = 4,
|
||||
XR_BS_MOUTHCLOSE_PICO = 5,
|
||||
XR_BS_MOUTHLOWERDOWN_R_PICO = 6,
|
||||
XR_BS_JAWOPEN_PICO = 7,
|
||||
XR_BS_MOUTHUPPERUP_R_PICO = 8,
|
||||
XR_BS_MOUTHSHRUGUPPER_PICO = 9,
|
||||
XR_BS_MOUTHFUNNEL_PICO = 10,
|
||||
XR_BS_EYELOOKIN_R_PICO = 11,
|
||||
XR_BS_EYELOOKDOWN_R_PICO = 12,
|
||||
XR_BS_NOSESNEER_R_PICO = 13,
|
||||
XR_BS_MOUTHROLLUPPER_PICO = 14,
|
||||
XR_BS_JAWRIGHT_PICO = 15,
|
||||
XR_BS_BROWDOWN_L_PICO = 16,
|
||||
XR_BS_MOUTHSHRUGLOWER_PICO = 17,
|
||||
XR_BS_MOUTHROLLLOWER_PICO = 18,
|
||||
XR_BS_MOUTHSMILE_L_PICO = 19,
|
||||
XR_BS_MOUTHPRESS_L_PICO = 20,
|
||||
XR_BS_MOUTHSMILE_R_PICO = 21,
|
||||
XR_BS_MOUTHPRESS_R_PICO = 22,
|
||||
XR_BS_MOUTHDIMPLE_R_PICO = 23,
|
||||
XR_BS_MOUTHLEFT_PICO = 24,
|
||||
XR_BS_JAWFORWARD_PICO = 25,
|
||||
XR_BS_EYESQUINT_L_PICO = 26,
|
||||
XR_BS_MOUTHFROWN_L_PICO = 27,
|
||||
XR_BS_EYEBLINK_L_PICO = 28,
|
||||
XR_BS_CHEEKSQUINT_L_PICO = 29,
|
||||
XR_BS_BROWOUTERUP_L_PICO = 30,
|
||||
XR_BS_EYELOOKUP_L_PICO = 31,
|
||||
XR_BS_JAWLEFT_PICO = 32,
|
||||
XR_BS_MOUTHSTRETCH_L_PICO = 33,
|
||||
XR_BS_MOUTHPUCKER_PICO = 34,
|
||||
XR_BS_EYELOOKUP_R_PICO = 35,
|
||||
XR_BS_BROWOUTERUP_R_PICO = 36,
|
||||
XR_BS_CHEEKSQUINT_R_PICO = 37,
|
||||
XR_BS_EYEBLINK_R_PICO = 38,
|
||||
XR_BS_MOUTHUPPERUP_L_PICO = 39,
|
||||
XR_BS_MOUTHFROWN_R_PICO = 40,
|
||||
XR_BS_EYESQUINT_R_PICO = 41,
|
||||
XR_BS_MOUTHSTRETCH_R_PICO = 42,
|
||||
XR_BS_CHEEKPUFF_PICO = 43,
|
||||
XR_BS_EYELOOKOUT_L_PICO = 44,
|
||||
XR_BS_EYELOOKOUT_R_PICO = 45,
|
||||
XR_BS_EYEWIDE_R_PICO = 46,
|
||||
XR_BS_EYEWIDE_L_PICO = 47,
|
||||
XR_BS_MOUTHRIGHT_PICO = 48,
|
||||
XR_BS_MOUTHDIMPLE_L_PICO = 49,
|
||||
XR_BS_MOUTHLOWERDOWN_L_PICO = 50,
|
||||
XR_BS_TONGUEOUT_PICO = 51,
|
||||
XR_VISEME_PP_PICO = 52,
|
||||
XR_VISEME_CH_PICO = 53,
|
||||
XR_VISEME_O_PICO = 54,
|
||||
XR_VISEME_OU_PICO = 55,
|
||||
XR_VISEME_I_BACK_PICO = 56,
|
||||
XR_VISEME_U_PICO = 57,
|
||||
XR_VISEME_RR_PICO = 58,
|
||||
XR_VISEME_XX_PICO = 59,
|
||||
XR_VISEME_AA_PICO = 60,
|
||||
XR_VISEME_I_FRONT_PICO = 61,
|
||||
XR_VISEME_FF_PICO = 62,
|
||||
XR_VISEME_UW_PICO = 63,
|
||||
XR_VISEME_TH_PICO = 64,
|
||||
XR_VISEME_KK_PICO = 65,
|
||||
XR_VISEME_SS_PICO = 66,
|
||||
XR_VISEME_E_PICO = 67,
|
||||
XR_VISEME_DD_PICO = 68,
|
||||
XR_VISEME_EI_PICO = 69,
|
||||
XR_VISEME_NN_PICO = 70,
|
||||
XR_VISEME_SIL_PICO = 71,
|
||||
XR_BLEND_SHAPE_COUNT_PICO = 72,
|
||||
} XrBlendShapeIndexPICO;
|
||||
|
||||
typedef XrResult(XRAPI_PTR * PFN_xrStartEyeTrackingPICO)(XrSession session);
|
||||
typedef XrResult(XRAPI_PTR * PFN_xrStopEyeTrackingPICO)(XrSession session, XrTrackingModeFlagsPICO mode);
|
||||
typedef XrResult(XRAPI_PTR * PFN_xrSetTrackingModePICO)(XrSession session, XrTrackingModeFlagsPICO flags);
|
||||
typedef XrResult(XRAPI_PTR * PFN_xrGetFaceTrackingStatePICO)(XrSession session, XrTrackingModeFlagsPICO * mode, XrTrackingStateCodePICO * code);
|
||||
typedef XrResult(XRAPI_PTR * PFN_xrGetFaceTrackingDataPICO)(XrSession session, XrTime time, XrFaceTrackingDataTypePICO type, XrFaceTrackingDataPICO * data);
|
||||
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// See https://pico.crx.moe/docs/pico-openxr/eye-gaze-interaction and https://pico.crx.moe/docs/pico-openxr/eye-tracking.
|
||||
|
||||
#define XR_LIST_ENUM_XrTrackingStateCodePICO(_) \
|
||||
_(XR_MT_SUCCESS_PICO, 0) \
|
||||
_(XR_MT_FAILURE_PICO, -1) \
|
||||
_(XR_MT_MODE_NONE_PICO, -2) \
|
||||
_(XR_MT_DEVICE_NOT_SUPPORT_PICO, -3) \
|
||||
_(XR_MT_SERVICE_NEED_START_PICO, -4) \
|
||||
_(XR_MT_ET_PERMISSION_DENIED_PICO, -5) \
|
||||
_(XR_MT_FT_PERMISSION_DENIED_PICO, -6) \
|
||||
_(XR_MT_MIC_PERMISSION_DENIED_PICO, -7) \
|
||||
_(XR_MT_SYSTEM_DENIED_PICO, -8) \
|
||||
_(XR_MT_UNKNOWN_ERROR_PICO, -9)
|
||||
|
||||
#define XR_LIST_ENUM_XrBlendShapeIndexPICO(_) \
|
||||
_(XR_BS_EYELOOKDOWN_L_PICO, 0) \
|
||||
_(XR_BS_NOSESNEER_L_PICO, 1) \
|
||||
_(XR_BS_EYELOOKIN_L_PICO, 2) \
|
||||
_(XR_BS_BROWINNERUP_PICO, 3) \
|
||||
_(XR_BS_BROWDOWN_R_PICO, 4) \
|
||||
_(XR_BS_MOUTHCLOSE_PICO, 5) \
|
||||
_(XR_BS_MOUTHLOWERDOWN_R_PICO, 6) \
|
||||
_(XR_BS_JAWOPEN_PICO, 7) \
|
||||
_(XR_BS_MOUTHUPPERUP_R_PICO, 8) \
|
||||
_(XR_BS_MOUTHSHRUGUPPER_PICO, 9) \
|
||||
_(XR_BS_MOUTHFUNNEL_PICO, 10) \
|
||||
_(XR_BS_EYELOOKIN_R_PICO, 11) \
|
||||
_(XR_BS_EYELOOKDOWN_R_PICO, 12) \
|
||||
_(XR_BS_NOSESNEER_R_PICO, 13) \
|
||||
_(XR_BS_MOUTHROLLUPPER_PICO, 14) \
|
||||
_(XR_BS_JAWRIGHT_PICO, 15) \
|
||||
_(XR_BS_BROWDOWN_L_PICO, 16) \
|
||||
_(XR_BS_MOUTHSHRUGLOWER_PICO, 17) \
|
||||
_(XR_BS_MOUTHROLLLOWER_PICO, 18) \
|
||||
_(XR_BS_MOUTHSMILE_L_PICO, 19) \
|
||||
_(XR_BS_MOUTHPRESS_L_PICO, 20) \
|
||||
_(XR_BS_MOUTHSMILE_R_PICO, 21) \
|
||||
_(XR_BS_MOUTHPRESS_R_PICO, 22) \
|
||||
_(XR_BS_MOUTHDIMPLE_R_PICO, 23) \
|
||||
_(XR_BS_MOUTHLEFT_PICO, 24) \
|
||||
_(XR_BS_JAWFORWARD_PICO, 25) \
|
||||
_(XR_BS_EYESQUINT_L_PICO, 26) \
|
||||
_(XR_BS_MOUTHFROWN_L_PICO, 27) \
|
||||
_(XR_BS_EYEBLINK_L_PICO, 28) \
|
||||
_(XR_BS_CHEEKSQUINT_L_PICO, 29) \
|
||||
_(XR_BS_BROWOUTERUP_L_PICO, 30) \
|
||||
_(XR_BS_EYELOOKUP_L_PICO, 31) \
|
||||
_(XR_BS_JAWLEFT_PICO, 32) \
|
||||
_(XR_BS_MOUTHSTRETCH_L_PICO, 33) \
|
||||
_(XR_BS_MOUTHPUCKER_PICO, 34) \
|
||||
_(XR_BS_EYELOOKUP_R_PICO, 35) \
|
||||
_(XR_BS_BROWOUTERUP_R_PICO, 36) \
|
||||
_(XR_BS_CHEEKSQUINT_R_PICO, 37) \
|
||||
_(XR_BS_EYEBLINK_R_PICO, 38) \
|
||||
_(XR_BS_MOUTHUPPERUP_L_PICO, 39) \
|
||||
_(XR_BS_MOUTHFROWN_R_PICO, 40) \
|
||||
_(XR_BS_EYESQUINT_R_PICO, 41) \
|
||||
_(XR_BS_MOUTHSTRETCH_R_PICO, 42) \
|
||||
_(XR_BS_CHEEKPUFF_PICO, 43) \
|
||||
_(XR_BS_EYELOOKOUT_L_PICO, 44) \
|
||||
_(XR_BS_EYELOOKOUT_R_PICO, 45) \
|
||||
_(XR_BS_EYEWIDE_R_PICO, 46) \
|
||||
_(XR_BS_EYEWIDE_L_PICO, 47) \
|
||||
_(XR_BS_MOUTHRIGHT_PICO, 48) \
|
||||
_(XR_BS_MOUTHDIMPLE_L_PICO, 49) \
|
||||
_(XR_BS_MOUTHLOWERDOWN_L_PICO, 50) \
|
||||
_(XR_BS_TONGUEOUT_PICO, 51) \
|
||||
_(XR_VISEME_PP_PICO, 52) \
|
||||
_(XR_VISEME_CH_PICO, 53) \
|
||||
_(XR_VISEME_O_PICO, 54) \
|
||||
_(XR_VISEME_OU_PICO, 55) \
|
||||
_(XR_VISEME_I_BACK_PICO, 56) \
|
||||
_(XR_VISEME_U_PICO, 57) \
|
||||
_(XR_VISEME_RR_PICO, 58) \
|
||||
_(XR_VISEME_XX_PICO, 59) \
|
||||
_(XR_VISEME_AA_PICO, 60) \
|
||||
_(XR_VISEME_I_FRONT_PICO, 61) \
|
||||
_(XR_VISEME_FF_PICO, 62) \
|
||||
_(XR_VISEME_UW_PICO, 63) \
|
||||
_(XR_VISEME_TH_PICO, 64) \
|
||||
_(XR_VISEME_KK_PICO, 65) \
|
||||
_(XR_VISEME_SS_PICO, 66) \
|
||||
_(XR_VISEME_E_PICO, 67) \
|
||||
_(XR_VISEME_DD_PICO, 68) \
|
||||
_(XR_VISEME_EI_PICO, 69) \
|
||||
_(XR_VISEME_NN_PICO, 70) \
|
||||
_(XR_VISEME_SIL_PICO, 71) \
|
||||
_(XR_BLEND_SHAPE_COUNT_PICO, 72)
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "xr/pico_eye_types.h"
|
||||
#include "xr/pico_eye_types_reflection.h"
|
||||
|
||||
#include <format>
|
||||
#include <string>
|
||||
#include <openxr/openxr_reflection.h>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
#define XR_ENUM_CASE_STR(name, val) \
|
||||
case name: \
|
||||
return #name;
|
||||
#define XR_ENUM_STR(enumType) \
|
||||
constexpr const char * to_string(enumType e) \
|
||||
{ \
|
||||
switch (e) \
|
||||
{ \
|
||||
XR_LIST_ENUM_##enumType(XR_ENUM_CASE_STR) default : return "Unknown"; \
|
||||
} \
|
||||
}
|
||||
|
||||
XR_ENUM_STR(XrResult);
|
||||
XR_ENUM_STR(XrFormFactor);
|
||||
XR_ENUM_STR(XrViewConfigurationType);
|
||||
XR_ENUM_STR(XrEnvironmentBlendMode);
|
||||
XR_ENUM_STR(XrReferenceSpaceType);
|
||||
XR_ENUM_STR(XrActionType);
|
||||
XR_ENUM_STR(XrEyeVisibility);
|
||||
XR_ENUM_STR(XrSessionState);
|
||||
XR_ENUM_STR(XrObjectType);
|
||||
XR_ENUM_STR(XrStructureType);
|
||||
|
||||
XR_ENUM_STR(XrTrackingStateCodePICO);
|
||||
XR_ENUM_STR(XrBlendShapeIndexPICO);
|
||||
|
||||
inline std::string to_string(XrVersion version)
|
||||
{
|
||||
return std::format("{}.{}.{}", XR_VERSION_MAJOR(version), XR_VERSION_MINOR(version), XR_VERSION_PATCH(version));
|
||||
}
|
||||
|
||||
} // namespace xr
|
||||
@@ -69,6 +69,28 @@
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<releases>
|
||||
<release version="25.6.1" date="2025-06-29">
|
||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.6.1</url>
|
||||
<description>
|
||||
<ul>
|
||||
<li>Fix crash in H3VR</li>
|
||||
<li>Workaround controller positions on Meta headsets</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="25.6" date="2025-06-26">
|
||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.6</url>
|
||||
<description>
|
||||
<ul>
|
||||
<li>Improved image clarity</li>
|
||||
<li>Support for body tracking on Quest</li>
|
||||
<li>Support for face tracking on Pico</li>
|
||||
<li>Support for Vive ultimate trackers</li>
|
||||
<li>Added some advanced configuration options on dashboard</li>
|
||||
<li>Changed versioning scheme to year.month</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="0.25" date="2025-05-18">
|
||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v0.25</url>
|
||||
<description>
|
||||
|
||||
@@ -44,7 +44,7 @@ Kirigami.ScrollablePage {
|
||||
else if (!Adb.adbInstalled)
|
||||
return i18n("ADB is not installed.");
|
||||
else
|
||||
return i18n("Connect a headset and make sure developper mode is enabled.");
|
||||
return i18n("Connect a headset and make sure developer mode is enabled.");
|
||||
}
|
||||
explanation: {
|
||||
if (!ApkInstaller.busy && !ApkInstaller.apkAvailable)
|
||||
|
||||
@@ -292,7 +292,7 @@ Kirigami.ApplicationWindow {
|
||||
Kirigami.Heading {
|
||||
level: 1
|
||||
wrapMode: Text.WordWrap
|
||||
text: i18n("Steam informations")
|
||||
text: i18n("Steam information")
|
||||
opacity: root.server_started
|
||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
||||
}
|
||||
|
||||
@@ -301,7 +301,6 @@ Kirigami.ScrollablePage {
|
||||
onCurrentIndexChanged: partitionner.codec = model[currentIndex].name
|
||||
|
||||
delegate: Controls.ItemDelegate {
|
||||
required property int index
|
||||
required property string label
|
||||
required property string name
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
Kirigami.Dialog {
|
||||
id: devmode_dialog
|
||||
title: i18n("How to enable developper mode")
|
||||
title: i18n("How to enable developer mode")
|
||||
showCloseButton: false
|
||||
padding: 2 * Kirigami.Units.largeSpacing
|
||||
ColumnLayout {
|
||||
@@ -216,7 +216,7 @@ Kirigami.ScrollablePage {
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
text: i18n("<p>No headset detected. Make sure that:\n<ul><li>The ADB udev rules are installed</li><li>The headset is in <a href=\"#\">developper mode</a></li></ul></p>")
|
||||
text: i18n("<p>No headset detected. Make sure that:\n<ul><li>The ADB udev rules are installed</li><li>The headset is in <a href=\"#\">developer mode</a></li></ul></p>")
|
||||
onLinkActivated: devmode_dialog.open()
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
@@ -293,6 +293,20 @@ Kirigami.ScrollablePage {
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.35
|
||||
text: i18n("Important information")
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
text: i18n("WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is running.")
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ class steamApp
|
||||
{
|
||||
Q_GADGET
|
||||
QML_VALUE_TYPE(steamApp)
|
||||
QML_ELEMENT
|
||||
Q_PROPERTY(QString name READ name WRITE setName)
|
||||
Q_PROPERTY(QString imagePath READ imagePath WRITE setImagePath)
|
||||
Q_PROPERTY(QString command READ command WRITE setCommand)
|
||||
|
||||
@@ -577,19 +577,19 @@ QString wivrn_server::host_path(QString path)
|
||||
return path;
|
||||
}
|
||||
|
||||
QList<OpenVRCompat> wivrn_server::openVRCompat() const
|
||||
QList<openVRCompatLib> wivrn_server::openVRCompat() const
|
||||
{
|
||||
if (wivrn::is_flatpak())
|
||||
return {
|
||||
OpenVRCompat(i18n("xrizer"), "xrizer"),
|
||||
OpenVRCompat(i18n("Open Composite"), "OpenComposite"),
|
||||
openVRCompatLib(i18n("xrizer"), "xrizer"),
|
||||
openVRCompatLib(i18n("Open Composite"), "OpenComposite"),
|
||||
};
|
||||
|
||||
QList<OpenVRCompat> result;
|
||||
QList<openVRCompatLib> result;
|
||||
for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":")))
|
||||
{
|
||||
if (std::filesystem::path fs = std::string_view(path); std::filesystem::exists(fs))
|
||||
result.push_back(OpenVRCompat(QString::fromStdString(fs.string()), QString::fromStdString(fs.string())));
|
||||
result.push_back(openVRCompatLib(QString::fromStdString(fs.string()), QString::fromStdString(fs.string())));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,6 @@ class headset
|
||||
{
|
||||
Q_GADGET
|
||||
QML_VALUE_TYPE(headset)
|
||||
QML_ELEMENT
|
||||
Q_PROPERTY(QString name READ name WRITE setName)
|
||||
Q_PROPERTY(QString publicKey READ publicKey WRITE setPublicKey)
|
||||
Q_PROPERTY(bool hasLastConnection READ hasLastConnection)
|
||||
@@ -95,7 +94,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class OpenVRCompat
|
||||
class openVRCompatLib
|
||||
{
|
||||
Q_GADGET
|
||||
QML_VALUE_TYPE(openVRCompat)
|
||||
@@ -107,8 +106,8 @@ class OpenVRCompat
|
||||
QString m_path;
|
||||
|
||||
public:
|
||||
OpenVRCompat() = default;
|
||||
OpenVRCompat(QString name, QString path) :
|
||||
openVRCompatLib() = default;
|
||||
openVRCompatLib(QString name, QString path) :
|
||||
m_name(name), m_path(path) {}
|
||||
|
||||
// localized name of the compat layer (can be the path)
|
||||
@@ -199,7 +198,7 @@ public:
|
||||
Q_INVOKABLE QString host_path(QString path);
|
||||
|
||||
// System information
|
||||
Q_PROPERTY(QList<OpenVRCompat> openVRCompat READ openVRCompat CONSTANT)
|
||||
Q_PROPERTY(QList<openVRCompatLib> openVRCompat READ openVRCompat CONSTANT)
|
||||
|
||||
Status serverStatus() const
|
||||
{
|
||||
@@ -315,7 +314,7 @@ public:
|
||||
return server_output.join("");
|
||||
}
|
||||
|
||||
QList<OpenVRCompat> openVRCompat() const;
|
||||
QList<openVRCompatLib> openVRCompat() const;
|
||||
|
||||
Q_INVOKABLE void disconnect_headset();
|
||||
Q_INVOKABLE void copy_steam_command();
|
||||
|
||||
@@ -0,0 +1,848 @@
|
||||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"https://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node>
|
||||
<interface name="org.freedesktop.DBus.Peer">
|
||||
<method name="Ping"/>
|
||||
<method name="GetMachineId">
|
||||
<arg type="s" name="machine_uuid" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
<interface name="org.freedesktop.DBus.Introspectable">
|
||||
<method name="Introspect">
|
||||
<arg name="xml_data" type="s" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
<interface name="org.freedesktop.DBus.Properties">
|
||||
<method name="Get">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="property_name" direction="in" type="s"/>
|
||||
<arg name="value" direction="out" type="v"/>
|
||||
</method>
|
||||
<method name="GetAll">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="props" direction="out" type="a{sv}"/>
|
||||
</method>
|
||||
<method name="Set">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="property_name" direction="in" type="s"/>
|
||||
<arg name="value" direction="in" type="v"/>
|
||||
</method>
|
||||
<signal name="PropertiesChanged">
|
||||
<arg type="s" name="interface_name"/>
|
||||
<arg type="a{sv}" name="changed_properties"/>
|
||||
<arg type="as" name="invalidated_properties"/>
|
||||
</signal>
|
||||
</interface>
|
||||
<interface name="org.freedesktop.systemd1.Manager">
|
||||
<property name="Version" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Features" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Virtualization" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ConfidentialVirtualization" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Architecture" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Tainted" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="FirmwareTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="FirmwareTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="LoaderTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="LoaderTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="KernelTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="KernelTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UserspaceTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UserspaceTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="FinishTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="FinishTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ShutdownStartTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ShutdownStartTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SecurityStartTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SecurityStartTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SecurityFinishTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SecurityFinishTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="GeneratorsStartTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="GeneratorsStartTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="GeneratorsFinishTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="GeneratorsFinishTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UnitsLoadStartTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UnitsLoadStartTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UnitsLoadFinishTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UnitsLoadFinishTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UnitsLoadTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UnitsLoadTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDSecurityStartTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDSecurityStartTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDSecurityFinishTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDSecurityFinishTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDGeneratorsStartTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDGeneratorsStartTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDGeneratorsFinishTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDGeneratorsFinishTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDUnitsLoadStartTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDUnitsLoadStartTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDUnitsLoadFinishTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InitRDUnitsLoadFinishTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="LogLevel" type="s" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="LogTarget" type="s" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="NNames" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="NFailedUnits" type="u" access="read">
|
||||
</property>
|
||||
<property name="NJobs" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="NInstalledJobs" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="NFailedJobs" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="Progress" type="d" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="Environment" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="ConfirmSpawn" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ShowStatus" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="UnitPath" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultStandardOutput" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultStandardError" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="WatchdogDevice" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="WatchdogLastPingTimestamp" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="WatchdogLastPingTimestampMonotonic" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="RuntimeWatchdogUSec" type="t" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="RuntimeWatchdogPreUSec" type="t" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="RuntimeWatchdogPreGovernor" type="s" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="RebootWatchdogUSec" type="t" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="KExecWatchdogUSec" type="t" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="ServiceWatchdogs" type="b" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="ControlGroup" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="SystemState" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="ExitCode" type="y" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="DefaultTimerAccuracyUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultTimeoutStartUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultTimeoutStopUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultTimeoutAbortUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="DefaultDeviceTimeoutUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultRestartUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultStartLimitIntervalUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultStartLimitBurst" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultCPUAccounting" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultBlockIOAccounting" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultIOAccounting" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultIPAccounting" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultMemoryAccounting" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultTasksAccounting" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitCPU" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitCPUSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitFSIZE" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitFSIZESoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitDATA" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitDATASoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitSTACK" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitSTACKSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitCORE" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitCORESoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitRSS" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitRSSSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitNOFILE" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitNOFILESoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitAS" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitASSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitNPROC" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitNPROCSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitMEMLOCK" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitMEMLOCKSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitLOCKS" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitLOCKSSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitSIGPENDING" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitSIGPENDINGSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitMSGQUEUE" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitMSGQUEUESoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitNICE" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitNICESoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitRTPRIO" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitRTPRIOSoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitRTTIME" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultLimitRTTIMESoft" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultTasksMax" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="DefaultMemoryPressureThresholdUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="DefaultMemoryPressureWatch" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="TimerSlackNSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultOOMPolicy" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultOOMScoreAdjust" type="i" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="CtrlAltDelBurstAction" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SoftRebootsCount" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<method name="GetUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="o" name="unit" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUnitByPID">
|
||||
<arg type="u" name="pid" direction="in"/>
|
||||
<arg type="o" name="unit" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUnitByInvocationID">
|
||||
<arg type="ay" name="invocation_id" direction="in"/>
|
||||
<arg type="o" name="unit" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUnitByControlGroup">
|
||||
<arg type="s" name="cgroup" direction="in"/>
|
||||
<arg type="o" name="unit" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUnitByPIDFD">
|
||||
<arg type="h" name="pidfd" direction="in"/>
|
||||
<arg type="o" name="unit" direction="out"/>
|
||||
<arg type="s" name="unit_id" direction="out"/>
|
||||
<arg type="ay" name="invocation_id" direction="out"/>
|
||||
</method>
|
||||
<method name="LoadUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="o" name="unit" direction="out"/>
|
||||
</method>
|
||||
<method name="StartUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="StartUnitWithFlags">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="StartUnitReplace">
|
||||
<arg type="s" name="old_unit" direction="in"/>
|
||||
<arg type="s" name="new_unit" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="StopUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="ReloadUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="RestartUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="TryRestartUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="ReloadOrRestartUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="ReloadOrTryRestartUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="EnqueueUnitJob">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="job_type" direction="in"/>
|
||||
<arg type="s" name="job_mode" direction="in"/>
|
||||
<arg type="u" name="job_id" direction="out"/>
|
||||
<arg type="o" name="job_path" direction="out"/>
|
||||
<arg type="s" name="unit_id" direction="out"/>
|
||||
<arg type="o" name="unit_path" direction="out"/>
|
||||
<arg type="s" name="job_type" direction="out"/>
|
||||
<arg type="a(uosos)" name="affected_jobs" direction="out"/>
|
||||
</method>
|
||||
<method name="KillUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="whom" direction="in"/>
|
||||
<arg type="i" name="signal" direction="in"/>
|
||||
</method>
|
||||
<method name="QueueSignalUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="whom" direction="in"/>
|
||||
<arg type="i" name="signal" direction="in"/>
|
||||
<arg type="i" name="value" direction="in"/>
|
||||
</method>
|
||||
<method name="CleanUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="as" name="mask" direction="in"/>
|
||||
</method>
|
||||
<method name="FreezeUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
</method>
|
||||
<method name="ThawUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
</method>
|
||||
<method name="ResetFailedUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
</method>
|
||||
<method name="SetUnitProperties">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="a(sv)" name="properties" direction="in"/>
|
||||
</method>
|
||||
<method name="BindMountUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="source" direction="in"/>
|
||||
<arg type="s" name="destination" direction="in"/>
|
||||
<arg type="b" name="read_only" direction="in"/>
|
||||
<arg type="b" name="mkdir" direction="in"/>
|
||||
</method>
|
||||
<method name="MountImageUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="source" direction="in"/>
|
||||
<arg type="s" name="destination" direction="in"/>
|
||||
<arg type="b" name="read_only" direction="in"/>
|
||||
<arg type="b" name="mkdir" direction="in"/>
|
||||
<arg type="a(ss)" name="options" direction="in"/>
|
||||
</method>
|
||||
<method name="RefUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
</method>
|
||||
<method name="UnrefUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
</method>
|
||||
<method name="StartTransientUnit">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="a(sv)" name="properties" direction="in"/>
|
||||
<arg type="a(sa(sv))" name="aux" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUnitProcesses">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="a(sus)" name="processes" direction="out"/>
|
||||
</method>
|
||||
<method name="AttachProcessesToUnit">
|
||||
<arg type="s" name="unit_name" direction="in"/>
|
||||
<arg type="s" name="subcgroup" direction="in"/>
|
||||
<arg type="au" name="pids" direction="in"/>
|
||||
</method>
|
||||
<method name="AbandonScope">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
</method>
|
||||
<method name="GetJob">
|
||||
<arg type="u" name="id" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="GetJobAfter">
|
||||
<arg type="u" name="id" direction="in"/>
|
||||
<arg type="a(usssoo)" name="jobs" direction="out"/>
|
||||
</method>
|
||||
<method name="GetJobBefore">
|
||||
<arg type="u" name="id" direction="in"/>
|
||||
<arg type="a(usssoo)" name="jobs" direction="out"/>
|
||||
</method>
|
||||
<method name="CancelJob">
|
||||
<arg type="u" name="id" direction="in"/>
|
||||
</method>
|
||||
<method name="ClearJobs">
|
||||
</method>
|
||||
<method name="ResetFailed">
|
||||
</method>
|
||||
<method name="SetShowStatus">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
</method>
|
||||
<method name="ListUnits">
|
||||
<arg type="a(ssssssouso)" name="units" direction="out"/>
|
||||
</method>
|
||||
<method name="ListUnitsFiltered">
|
||||
<arg type="as" name="states" direction="in"/>
|
||||
<arg type="a(ssssssouso)" name="units" direction="out"/>
|
||||
</method>
|
||||
<method name="ListUnitsByPatterns">
|
||||
<arg type="as" name="states" direction="in"/>
|
||||
<arg type="as" name="patterns" direction="in"/>
|
||||
<arg type="a(ssssssouso)" name="units" direction="out"/>
|
||||
</method>
|
||||
<method name="ListUnitsByNames">
|
||||
<arg type="as" name="names" direction="in"/>
|
||||
<arg type="a(ssssssouso)" name="units" direction="out"/>
|
||||
</method>
|
||||
<method name="ListJobs">
|
||||
<arg type="a(usssoo)" name="jobs" direction="out"/>
|
||||
</method>
|
||||
<method name="Subscribe">
|
||||
</method>
|
||||
<method name="Unsubscribe">
|
||||
</method>
|
||||
<method name="Dump">
|
||||
<arg type="s" name="output" direction="out"/>
|
||||
</method>
|
||||
<method name="DumpUnitsMatchingPatterns">
|
||||
<arg type="as" name="patterns" direction="in"/>
|
||||
<arg type="s" name="output" direction="out"/>
|
||||
</method>
|
||||
<method name="DumpByFileDescriptor">
|
||||
<arg type="h" name="fd" direction="out"/>
|
||||
</method>
|
||||
<method name="DumpUnitsMatchingPatternsByFileDescriptor">
|
||||
<arg type="as" name="patterns" direction="in"/>
|
||||
<arg type="h" name="fd" direction="out"/>
|
||||
</method>
|
||||
<method name="Reload">
|
||||
</method>
|
||||
<method name="Reexecute">
|
||||
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
|
||||
</method>
|
||||
<method name="Exit">
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="Reboot">
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="SoftReboot">
|
||||
<arg type="s" name="new_root" direction="in"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="PowerOff">
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="Halt">
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="KExec">
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="SwitchRoot">
|
||||
<arg type="s" name="new_root" direction="in"/>
|
||||
<arg type="s" name="init" direction="in"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="SetEnvironment">
|
||||
<arg type="as" name="assignments" direction="in"/>
|
||||
</method>
|
||||
<method name="UnsetEnvironment">
|
||||
<arg type="as" name="names" direction="in"/>
|
||||
</method>
|
||||
<method name="UnsetAndSetEnvironment">
|
||||
<arg type="as" name="names" direction="in"/>
|
||||
<arg type="as" name="assignments" direction="in"/>
|
||||
</method>
|
||||
<method name="EnqueueMarkedJobs">
|
||||
<arg type="ao" name="jobs" direction="out"/>
|
||||
</method>
|
||||
<method name="ListUnitFiles">
|
||||
<arg type="a(ss)" name="unit_files" direction="out"/>
|
||||
</method>
|
||||
<method name="ListUnitFilesByPatterns">
|
||||
<arg type="as" name="states" direction="in"/>
|
||||
<arg type="as" name="patterns" direction="in"/>
|
||||
<arg type="a(ss)" name="unit_files" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUnitFileState">
|
||||
<arg type="s" name="file" direction="in"/>
|
||||
<arg type="s" name="state" direction="out"/>
|
||||
</method>
|
||||
<method name="EnableUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="b" name="carries_install_info" direction="out"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="DisableUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="EnableUnitFilesWithFlags">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
<arg type="b" name="carries_install_info" direction="out"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="DisableUnitFilesWithFlags">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="DisableUnitFilesWithFlagsAndInstallInfo">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
<arg type="b" name="carries_install_info" direction="out"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="ReenableUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="b" name="carries_install_info" direction="out"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="LinkUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="PresetUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="b" name="carries_install_info" direction="out"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="PresetUnitFilesWithMode">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="b" name="carries_install_info" direction="out"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="MaskUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="UnmaskUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="RevertUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="SetDefaultTarget">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="GetDefaultTarget">
|
||||
<arg type="s" name="name" direction="out"/>
|
||||
</method>
|
||||
<method name="PresetAllUnitFiles">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="AddDependencyUnitFiles">
|
||||
<arg type="as" name="files" direction="in"/>
|
||||
<arg type="s" name="target" direction="in"/>
|
||||
<arg type="s" name="type" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="b" name="force" direction="in"/>
|
||||
<arg type="a(sss)" name="changes" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUnitFileLinks">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="as" name="links" direction="out"/>
|
||||
</method>
|
||||
<method name="SetExitCode">
|
||||
<arg type="y" name="number" direction="in"/>
|
||||
</method>
|
||||
<method name="LookupDynamicUserByName">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="u" name="uid" direction="out"/>
|
||||
</method>
|
||||
<method name="LookupDynamicUserByUID">
|
||||
<arg type="u" name="uid" direction="in"/>
|
||||
<arg type="s" name="name" direction="out"/>
|
||||
</method>
|
||||
<method name="GetDynamicUsers">
|
||||
<arg type="a(us)" name="users" direction="out"/>
|
||||
</method>
|
||||
<method name="DumpUnitFileDescriptorStore">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="a(suuutuusu)" name="entries" direction="out"/>
|
||||
</method>
|
||||
<method name="StartAuxiliaryScope">
|
||||
<arg type="s" name="name" direction="in"/>
|
||||
<arg type="ah" name="pidfds" direction="in"/>
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
<arg type="a(sv)" name="properties" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
|
||||
</method>
|
||||
<signal name="UnitNew">
|
||||
<arg type="s" name="id"/>
|
||||
<arg type="o" name="unit"/>
|
||||
</signal>
|
||||
<signal name="UnitRemoved">
|
||||
<arg type="s" name="id"/>
|
||||
<arg type="o" name="unit"/>
|
||||
</signal>
|
||||
<signal name="JobNew">
|
||||
<arg type="u" name="id"/>
|
||||
<arg type="o" name="job"/>
|
||||
<arg type="s" name="unit"/>
|
||||
</signal>
|
||||
<signal name="JobRemoved">
|
||||
<arg type="u" name="id"/>
|
||||
<arg type="o" name="job"/>
|
||||
<arg type="s" name="unit"/>
|
||||
<arg type="s" name="result"/>
|
||||
</signal>
|
||||
<signal name="StartupFinished">
|
||||
<arg type="t" name="firmware"/>
|
||||
<arg type="t" name="loader"/>
|
||||
<arg type="t" name="kernel"/>
|
||||
<arg type="t" name="initrd"/>
|
||||
<arg type="t" name="userspace"/>
|
||||
<arg type="t" name="total"/>
|
||||
</signal>
|
||||
<signal name="UnitFilesChanged">
|
||||
</signal>
|
||||
<signal name="Reloading">
|
||||
<arg type="b" name="active"/>
|
||||
</signal>
|
||||
</interface>
|
||||
<node name="job"/>
|
||||
<node name="unit"/>
|
||||
</node>
|
||||
@@ -0,0 +1,386 @@
|
||||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"https://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node>
|
||||
<interface name="org.freedesktop.DBus.Peer">
|
||||
<method name="Ping"/>
|
||||
<method name="GetMachineId">
|
||||
<arg type="s" name="machine_uuid" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
<interface name="org.freedesktop.DBus.Introspectable">
|
||||
<method name="Introspect">
|
||||
<arg name="xml_data" type="s" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
<interface name="org.freedesktop.DBus.Properties">
|
||||
<method name="Get">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="property_name" direction="in" type="s"/>
|
||||
<arg name="value" direction="out" type="v"/>
|
||||
</method>
|
||||
<method name="GetAll">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="props" direction="out" type="a{sv}"/>
|
||||
</method>
|
||||
<method name="Set">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="property_name" direction="in" type="s"/>
|
||||
<arg name="value" direction="in" type="v"/>
|
||||
</method>
|
||||
<signal name="PropertiesChanged">
|
||||
<arg type="s" name="interface_name"/>
|
||||
<arg type="a{sv}" name="changed_properties"/>
|
||||
<arg type="as" name="invalidated_properties"/>
|
||||
</signal>
|
||||
</interface>
|
||||
<interface name="org.freedesktop.systemd1.Unit">
|
||||
<property name="Id" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Names" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Following" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="Requires" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Requisite" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Wants" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="BindsTo" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="PartOf" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Upholds" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RequiredBy" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RequisiteOf" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="WantedBy" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="BoundBy" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UpheldBy" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ConsistsOf" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Conflicts" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ConflictedBy" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Before" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="After" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="OnSuccess" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="OnSuccessOf" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="OnFailure" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="OnFailureOf" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Triggers" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="TriggeredBy" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="PropagatesReloadTo" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ReloadPropagatedFrom" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="PropagatesStopTo" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="StopPropagatedFrom" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="JoinsNamespaceOf" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SliceOf" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RequiresMountsFor" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="WantsMountsFor" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Documentation" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Description" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="AccessSELinuxContext" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="LoadState" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ActiveState" type="s" access="read">
|
||||
</property>
|
||||
<property name="FreezerState" type="s" access="read">
|
||||
</property>
|
||||
<property name="SubState" type="s" access="read">
|
||||
</property>
|
||||
<property name="FragmentPath" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SourcePath" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DropInPaths" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UnitFileState" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="UnitFilePreset" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="StateChangeTimestamp" type="t" access="read">
|
||||
</property>
|
||||
<property name="StateChangeTimestampMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="InactiveExitTimestamp" type="t" access="read">
|
||||
</property>
|
||||
<property name="InactiveExitTimestampMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="ActiveEnterTimestamp" type="t" access="read">
|
||||
</property>
|
||||
<property name="ActiveEnterTimestampMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="ActiveExitTimestamp" type="t" access="read">
|
||||
</property>
|
||||
<property name="ActiveExitTimestampMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="InactiveEnterTimestamp" type="t" access="read">
|
||||
</property>
|
||||
<property name="InactiveEnterTimestampMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="CanStart" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="CanStop" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="CanReload" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="CanIsolate" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="CanClean" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="CanFreeze" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="CanLiveMount" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Job" type="(uo)" access="read">
|
||||
</property>
|
||||
<property name="StopWhenUnneeded" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RefuseManualStart" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RefuseManualStop" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="AllowIsolate" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="DefaultDependencies" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SurviveFinalKillSignal" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="OnSuccessJobMode" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="OnFailureJobMode" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="IgnoreOnIsolate" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="NeedDaemonReload" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="Markers" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="JobTimeoutUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="JobRunningTimeoutUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="JobTimeoutAction" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="JobTimeoutRebootArgument" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="ConditionResult" type="b" access="read">
|
||||
</property>
|
||||
<property name="AssertResult" type="b" access="read">
|
||||
</property>
|
||||
<property name="ConditionTimestamp" type="t" access="read">
|
||||
</property>
|
||||
<property name="ConditionTimestampMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="AssertTimestamp" type="t" access="read">
|
||||
</property>
|
||||
<property name="AssertTimestampMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="Conditions" type="a(sbbsi)" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="invalidates"/>
|
||||
</property>
|
||||
<property name="Asserts" type="a(sbbsi)" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="invalidates"/>
|
||||
</property>
|
||||
<property name="LoadError" type="(ss)" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Transient" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Perpetual" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="StartLimitIntervalUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="StartLimitBurst" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="StartLimitAction" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="FailureAction" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="FailureActionExitStatus" type="i" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SuccessAction" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="SuccessActionExitStatus" type="i" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RebootArgument" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InvocationID" type="ay" access="read">
|
||||
</property>
|
||||
<property name="CollectMode" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="Refs" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="ActivationDetails" type="a(ss)" access="read">
|
||||
</property>
|
||||
<property name="DebugInvocation" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<method name="Start">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="Stop">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="Reload">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="Restart">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="TryRestart">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="ReloadOrRestart">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="ReloadOrTryRestart">
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="o" name="job" direction="out"/>
|
||||
</method>
|
||||
<method name="EnqueueJob">
|
||||
<arg type="s" name="job_type" direction="in"/>
|
||||
<arg type="s" name="job_mode" direction="in"/>
|
||||
<arg type="u" name="job_id" direction="out"/>
|
||||
<arg type="o" name="job_path" direction="out"/>
|
||||
<arg type="s" name="unit_id" direction="out"/>
|
||||
<arg type="o" name="unit_path" direction="out"/>
|
||||
<arg type="s" name="job_type" direction="out"/>
|
||||
<arg type="a(uosos)" name="affected_jobs" direction="out"/>
|
||||
</method>
|
||||
<method name="Kill">
|
||||
<arg type="s" name="whom" direction="in"/>
|
||||
<arg type="i" name="signal" direction="in"/>
|
||||
</method>
|
||||
<method name="QueueSignal">
|
||||
<arg type="s" name="whom" direction="in"/>
|
||||
<arg type="i" name="signal" direction="in"/>
|
||||
<arg type="i" name="value" direction="in"/>
|
||||
</method>
|
||||
<method name="ResetFailed">
|
||||
</method>
|
||||
<method name="SetProperties">
|
||||
<arg type="b" name="runtime" direction="in"/>
|
||||
<arg type="a(sv)" name="properties" direction="in"/>
|
||||
</method>
|
||||
<method name="Ref">
|
||||
</method>
|
||||
<method name="Unref">
|
||||
</method>
|
||||
<method name="Clean">
|
||||
<arg type="as" name="mask" direction="in"/>
|
||||
</method>
|
||||
<method name="Freeze">
|
||||
</method>
|
||||
<method name="Thaw">
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
||||
+1
-1
@@ -41,7 +41,7 @@ Systemd service and pretty hostname support
|
||||
-DWIVRN_USE_SYSTEMD=ON
|
||||
```
|
||||
|
||||
Additionally, if your environment requires absolute paths inside the OpenXR runtime manifest, you can add `-DWIVRN_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH=ON` to the build configuration.
|
||||
Additionally, if your environment requires absolute paths inside the OpenXR runtime manifest, you can add `-DWIVRN_OPENXR_MANIFEST_TYPE=absolute` to the build configuration.
|
||||
|
||||
# Dashboard
|
||||
|
||||
|
||||
+13
-2
@@ -1,6 +1,12 @@
|
||||
# Configurable items
|
||||
|
||||
Configuration is done on server side, in `$XDG_CONFIG_HOME/wivrn/config.json` or if `$XDG_CONFIG_HOME` is not set, `$HOME/.config/wivrn/config.json`.
|
||||
Configuration is done on server side.
|
||||
Files are read from
|
||||
- `/usr/share/wivrn/config.json` (where `/usr` is selected at configure time with `CMAKE_INSTALL_PREFIX`)
|
||||
- `/etc/wivrn/config.json`
|
||||
- `$XDG_CONFIG_HOME/wivrn/config.json` or if `$XDG_CONFIG_HOME` is not set, `$HOME/.config/wivrn/config.json`.
|
||||
|
||||
Files later in the list replace top-level values from previous ones.
|
||||
|
||||
All elements are optional and have default values.
|
||||
|
||||
@@ -16,7 +22,7 @@ Scaling is applied in a foveated fashion: the center has a 1:1 ratio and the res
|
||||
"scale": 0.5
|
||||
}
|
||||
```
|
||||
The x and y resolution of the streamed video are half the size on the headsed, reduces the required bandwidth and encoding/decoding time by about 4.
|
||||
The x and y resolution of the streamed video are half the size on the headset, reduces the required bandwidth and encoding/decoding time by about 4.
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -30,6 +36,11 @@ Default value: `50000000` (50Mb/s)
|
||||
|
||||
Bitrate of the video, in bit/s. Split among decoders based on size and codecs.
|
||||
|
||||
## `bit-depth`
|
||||
Default value: `8` (bits)
|
||||
|
||||
Bit depth of the video. 8-bit is supported by all encoders. 10-bit is supported by `vaapi` encoders using `h265` or `av1`.
|
||||
|
||||
## `encoders`
|
||||
A list of encoders to use.
|
||||
|
||||
|
||||
Generated
+9
-9
@@ -5,11 +5,11 @@
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1743550720,
|
||||
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
|
||||
"lastModified": 1751413152,
|
||||
"narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
|
||||
"rev": "77826244401ea9de6e3bac47c2db46005e1f30b5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -20,11 +20,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1747744144,
|
||||
"narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=",
|
||||
"lastModified": 1751271578,
|
||||
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f",
|
||||
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -36,11 +36,11 @@
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1743296961,
|
||||
"narHash": "sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc=",
|
||||
"lastModified": 1751159883,
|
||||
"narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "e4822aea2a6d1cdd36653c134cacfd64c97ff4fa",
|
||||
"rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -5,19 +5,20 @@
|
||||
outputs = inputs@{ nixpkgs, flake-parts, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" ];
|
||||
perSystem = { pkgs, ... }: let
|
||||
perSystem = { lib, pkgs, ... }: let
|
||||
# Tools used for development work (clangd, clang-format)
|
||||
devTools = with pkgs; [
|
||||
clang-tools
|
||||
gdb
|
||||
ktx-tools
|
||||
];
|
||||
# Extra build inputs not yet in the nixpkgs recipe.
|
||||
# Should be submitted to nixpkgs on release
|
||||
extraBuildInputs = with pkgs; [
|
||||
# XRT_FEATURE_DEBUG_GUI requires SDL2
|
||||
sdl2-compat
|
||||
];
|
||||
|
||||
package = pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {
|
||||
package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {
|
||||
src = ./.;
|
||||
version = "next";
|
||||
|
||||
@@ -25,6 +26,8 @@
|
||||
# We also don't need the check since we read the revision from the monado-rev file.
|
||||
postUnpack = null;
|
||||
|
||||
separateDebugInfo = false;
|
||||
|
||||
monado = pkgs.applyPatches {
|
||||
inherit (oldAttrs.monado) patches postPatch;
|
||||
# Force a refetch when the monado rev changes.
|
||||
@@ -34,17 +37,51 @@
|
||||
# Keep in sync with CMakeLists.txt monado rev
|
||||
rev = builtins.readFile ./monado-rev;
|
||||
# Nix will output the correct hash when it doesn't match
|
||||
hash = "sha256-Bus9GTNC4+nOSwN8pUsMaFsiXjlpHYioQfBLxbQEF+0=";
|
||||
hash = "sha256-BiqNLYTQseymHgkZ3RLHOesxi6qaf4L0j8dgpgaG7LI=";
|
||||
};
|
||||
};
|
||||
|
||||
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
|
||||
});
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapQtApp "$out/bin/wivrn-dashboard" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ pkgs.vulkan-loader ]}
|
||||
'';
|
||||
postFixup = null;
|
||||
|
||||
cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [
|
||||
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "Debug")
|
||||
];
|
||||
}));
|
||||
in {
|
||||
packages.default = package;
|
||||
packages = {
|
||||
default = package;
|
||||
dissector = package.overrideAttrs (oldAttrs: {
|
||||
pname = "wivrn-dissector";
|
||||
cmakeFlags = (lib.filter (flag: !(lib.hasPrefix "-DWIVRN_BUILD" flag)) oldAttrs.cmakeFlags) ++ [
|
||||
(lib.cmakeBool "WIVRN_BUILD_CLIENT" false)
|
||||
(lib.cmakeBool "WIVRN_BUILD_SERVER" false)
|
||||
(lib.cmakeBool "WIVRN_BUILD_DASHBOARD" false)
|
||||
(lib.cmakeBool "WIVRN_BUILD_WIVRNCTL" false)
|
||||
(lib.cmakeBool "WIVRN_BUILD_DISSECTOR" true)
|
||||
];
|
||||
buildInputs = oldAttrs.buildInputs ++ [
|
||||
(pkgs.symlinkJoin {
|
||||
name = "wireshark-dev-out-combined";
|
||||
paths = [
|
||||
pkgs.wireshark.out
|
||||
pkgs.wireshark.dev
|
||||
];
|
||||
})
|
||||
];
|
||||
preFixup = null;
|
||||
});
|
||||
};
|
||||
devShells.default = package.overrideAttrs (oldAttrs: {
|
||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ devTools;
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,9 @@ finish-args:
|
||||
# Set the active OpenXR / OpenVR runtime
|
||||
- --filesystem=xdg-config/openxr:create
|
||||
- --filesystem=xdg-config/openvr:create
|
||||
# SlimeVR
|
||||
- --filesystem=xdg-run/SlimeVRInput
|
||||
- --filesystem=xdg-run/SlimeVRRpc
|
||||
# Let outside application access the WiVRn socket
|
||||
- --filesystem=xdg-run/wivrn:create
|
||||
- --own-name=io.github.wivrn.Server
|
||||
@@ -90,7 +93,8 @@ modules:
|
||||
url: https://www.mpfr.org/mpfr-4.2.1/mpfr-4.2.1.tar.xz
|
||||
sha256: 277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2
|
||||
- type: file
|
||||
url: https://libisl.sourceforge.io/isl-0.26.tar.xz
|
||||
dest-filename: isl-0.26.tar.xz
|
||||
url: https://sourceforge.net/projects/libisl/files/isl-0.26.tar.xz/download
|
||||
sha256: a0b5cb06d24f9fa9e77b55fabbe9a3c94a336190345c2555f9915bb38e976504
|
||||
- type: file
|
||||
url: https://www.multiprecision.org/downloads/mpc-1.3.1.tar.gz
|
||||
@@ -304,7 +308,7 @@ modules:
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/Supreeeme/xrizer.git
|
||||
tag: fcc6793ffeadf0d7676c4cfd5a6c57da481a520c
|
||||
tag: 366be00cdeb3156cf958fa48b49c39ce819cab86
|
||||
- xrizer-gen-src.json
|
||||
|
||||
- name: wivrn-library
|
||||
@@ -371,6 +375,7 @@ modules:
|
||||
- -DWIVRN_USE_NVENC=ON
|
||||
- -DWIVRN_USE_VULKAN_ENCODE=ON
|
||||
- -DWIVRN_USE_PULSEAUDIO=OFF
|
||||
- -DWIVRN_FEATURE_SOLARXR=ON
|
||||
- -DWIVRN_WERROR=ON
|
||||
- -DWIVRN_CHECK_CAPSYSNICE=OFF # Capabilities don't work inside flatpak
|
||||
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 158 KiB |
@@ -2,20 +2,22 @@
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-13 21:31+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"POT-Creation-Date: 2025-06-18 21:12+0200\n"
|
||||
"PO-Revision-Date: 2025-06-20 19:47+0200\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
@@ -91,7 +93,7 @@ msgstr "ADB no está instalado."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developper mode is enabled."
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr ""
|
||||
"Conecta un visor y asegúrate de que el modo desarrollador esté activado."
|
||||
|
||||
@@ -178,7 +180,7 @@ msgstr "Renombrar"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
@@ -300,7 +302,7 @@ msgstr "Emparejando"
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Conectar por USB"
|
||||
@@ -324,7 +326,7 @@ msgstr "Aplicación"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Steam informations"
|
||||
msgid "Steam information"
|
||||
msgstr "Información de Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:313
|
||||
@@ -532,54 +534,73 @@ msgstr "H.265"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:323
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opciones avanzadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Habilitar ventana de depuración"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
"Requires SteamVR to be installed.\n"
|
||||
"Devices must be be powered on before connecting to WiVRn.\n"
|
||||
"An external tool such as motoc is needed for calibration."
|
||||
msgstr ""
|
||||
"Permite el uso de controles y dispositivos de seguimiento basados en "
|
||||
"estaciones base.\n"
|
||||
"Es necesario tener SteamVR instalado.\n"
|
||||
"Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n"
|
||||
"Una herramienta externa como motoc será necesaria para la calibración."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Ruta de adb personalizada"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:334
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Ruta de adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Explorar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:353
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:360
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:365
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:372
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:377
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Librería de compatibilidad para OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:411
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
|
||||
@@ -616,7 +637,7 @@ msgstr "Comando de lanzamiento de Steam copiado"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "No puedo encontrar la aplicación WiVRn en mi visor"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -630,7 +651,7 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "No puedo ver mi computadora en la aplicación WiVRn"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
@@ -684,7 +705,7 @@ msgstr "El emparejamiento está actualmente desactivado."
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "No tengo sonido en mi visor"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -709,9 +730,9 @@ msgid "Getting started"
|
||||
msgstr "Comenzando"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
|
||||
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
|
||||
#: dashboard/qml/WizardPage.qml:470
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Atrás"
|
||||
@@ -731,15 +752,15 @@ msgstr ""
|
||||
"computadora."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
|
||||
#: dashboard/qml/WizardPage.qml:475
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "Siguiente"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developper mode"
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "Cómo habilitar el modo desarrollador"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
@@ -810,7 +831,7 @@ msgstr "ADB no está instalado"
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developper mode</a></li></ul></p>"
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>No se detectó el visor. Asegúrate de que:\n"
|
||||
"<ul><li>Las reglas ADB udev están instaladas</li><li>El visor está en <a "
|
||||
@@ -830,12 +851,26 @@ msgstr ""
|
||||
"La aplicación que elijas se iniciará automáticamente cuando conectes tu "
|
||||
"visor."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:344
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Información importante"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn sustituye completamente a SteamVR, no deberías iniciar SteamVR "
|
||||
"mientras WiVRn esté en ejecución"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Inicia la aplicación WiVRn en tu visor"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:349
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -844,32 +879,32 @@ msgstr ""
|
||||
"Para conectarte por WiFi, inicia la aplicación WiVRn en tu visor, conéctate "
|
||||
"a \"%1\" y ingresa el PIN \"%2\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:356
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "Para conectarte por USB, haz clic en \"Conectar por USB\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:369
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Solución de problemas"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:391
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Saltar"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:411
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Conexión establecida"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:416
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Tu visor está ahora conectado."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
@@ -878,12 +913,22 @@ msgstr ""
|
||||
"Para conectar otro visor, asegúrate de que el emparejamiento esté habilitado "
|
||||
"en el panel antes de conectar."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Finalizar"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:458
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+148
-88
@@ -1,14 +1,20 @@
|
||||
#
|
||||
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-13 21:31+0200\n"
|
||||
"PO-Revision-Date: 2024-11-05 19:29+0100\n"
|
||||
"Last-Translator: Sergio Navarro <respuit@protonmail.com>\n"
|
||||
"Language: Spanish\n"
|
||||
"POT-Creation-Date: 2025-06-17 18:10+0200\n"
|
||||
"PO-Revision-Date: 2025-06-20 22:28+0200\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: client/scenes/lobby.cpp:148
|
||||
msgid "No supported swapchain format"
|
||||
@@ -37,30 +43,30 @@ msgstr "No se puede conectar a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Esperando conexión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:131
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Calidad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:136
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#: client/scenes/lobby_gui.cpp:198
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:203
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "Transmisión de video interrumpida"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:205
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
@@ -68,7 +74,7 @@ msgstr ""
|
||||
"Conexión lista\n"
|
||||
"Inicia una aplicación de VR en tu ordenador"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:207
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
@@ -77,52 +83,52 @@ msgstr ""
|
||||
"Conexión lista\n"
|
||||
"Inicia una aplicación de VR en {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:220
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:226
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "Connection"
|
||||
msgstr "Conexión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:228
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexión a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/lobby_gui.cpp:259
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:280
|
||||
#: client/scenes/lobby_gui.cpp:281
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Ingresa el PIN que se muestra en el panel de control"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:355
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
msgid "Name"
|
||||
msgstr "Nombre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
msgid "Address"
|
||||
msgstr "Dirección"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:375
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
msgid "Port"
|
||||
msgstr "Puerto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:390
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:457
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -130,32 +136,32 @@ msgstr ""
|
||||
"Inicia un servidor WiVRn en tu\n"
|
||||
"red local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
msgid "Autoconnect"
|
||||
msgstr "Conexión automática"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:515
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:525
|
||||
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versión del servidor incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:527
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor no disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frecuencia de actualización"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
|
||||
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automática"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:622
|
||||
#: client/scenes/lobby_gui.cpp:623
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -164,118 +170,163 @@ msgstr ""
|
||||
"aplicación.\n"
|
||||
"Puede causar parpadeos cuando ocurre un cambio."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:639
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Tasa mínima de refresco"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:662
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid "Resolution scale"
|
||||
msgstr "Escala de resolución"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} por ojo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
|
||||
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "La resolución mayor que {}x{} podría no ser compatible con el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:683
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activar micrófono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:693
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Entrada de audio sin procesar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:699
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
|
||||
"ruido"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activar seguimiento de manos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
|
||||
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Esta función no es compatible con tu visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:719
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activar seguimiento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:732
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activar seguimiento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:744
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Habilitar seguimiento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:764
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||
"movimiento de Quest,\n"
|
||||
"si no el seguimiento corporal será medido por la posición de los controles y "
|
||||
"el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Habilitar seguimiento de cintura para abajo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Estima la posición de unión de la parte baja de la cintura usando Generative "
|
||||
"Legs.\n"
|
||||
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||
"movimiento de Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Habilitar seguimiento de cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"Solo es funcional si tiene habilitado el seguimiento de cintura para abajo.\n"
|
||||
"Puede ser necesario si está usando otro metodo para seguir la cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Activar video passthrough en el lobby"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "Mostrar métricas de rendimiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "Puedes alternar la superposición presionando ambos joysticks"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "Tiempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tiempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "Tiempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tiempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-procesamiento de OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
msgid "Supersampling"
|
||||
msgstr "Sobremuestreo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Reducir parpadeo para los bordes de contrate alto.\n"
|
||||
"Útil cuando la resolución de entrada es alta comparada con la pantalla del visor"
|
||||
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:854
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
msgid "Sharpening"
|
||||
msgstr "Nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Mejorar la claridad de bordes de alto contraste y contrarestar desenfoque.\n"
|
||||
"Útil cuando la resolución de entrada es baja comparada con la pantalla del visor"
|
||||
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:883
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
@@ -285,102 +336,111 @@ msgstr ""
|
||||
"Opción de enfoque arriba.\n"
|
||||
"Sólo habilita esto si sabes lo que estás haciendo."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:893
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Sobreescalado y nitidez de lado del cliente, supone un mayor coste de rendimiento para el visor"
|
||||
"Sobreescalado y nitidez de lado del cliente, supone un mayor coste de "
|
||||
"rendimiento para el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Factor de sobreescalado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usar la dirección del borde"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:936
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Añade un coste de rendimiento adicional"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid "Edge threshold"
|
||||
msgstr "Umbral del borde"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Recomendado: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidez del borde"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
|
||||
msgid "Licenses"
|
||||
msgstr "Licencias"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1384
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Micrófono activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1385
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Micrófono desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Seguimiento de manos activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Seguimiento de manos desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Seguimiento ocular activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Seguimiento ocular desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Seguimiento facial activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Seguimiento facial desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1444
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Seguimiento corporal está habilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Seguimiento corporal está deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
msgid "Add server"
|
||||
msgstr "Agregar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1673
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1676
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
msgid "Settings"
|
||||
msgstr "Configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-procesamiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
msgid "Debug"
|
||||
msgstr "Depuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
msgid "About"
|
||||
msgstr "Acerca de"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
msgid "Exit"
|
||||
msgstr "Salir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1774
|
||||
msgid ""
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -388,7 +448,7 @@ msgstr ""
|
||||
"Presiona A o X o levanta la palma\n"
|
||||
"para mover la ventana principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1776
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr "Presiona A o X para mover la ventana principal"
|
||||
|
||||
@@ -454,19 +514,19 @@ msgstr "Previsto"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
||||
|
||||
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Tiempo de espera agotado"
|
||||
|
||||
#: client/wivrn_client.cpp:147
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "PIN incorrecto"
|
||||
|
||||
#: client/wivrn_client.cpp:151
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "No se puede verificar el PIN"
|
||||
|
||||
#: client/wivrn_client.cpp:180
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "El emparejamiento está deshabilitado en el servidor."
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-22 18:25+0200\n"
|
||||
"PO-Revision-Date: 2025-05-22 18:33+0200\n"
|
||||
"POT-Creation-Date: 2025-06-18 21:11+0200\n"
|
||||
"PO-Revision-Date: 2025-06-18 21:12+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
@@ -90,7 +90,7 @@ msgstr "ADB n'est pas installé."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developper mode is enabled."
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr ""
|
||||
"Connecter un casque et assurez-vous que le mode développeur est activé."
|
||||
|
||||
@@ -177,7 +177,7 @@ msgstr "Renommer"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
@@ -300,7 +300,7 @@ msgstr "Appairage"
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN : %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Connexion par USB"
|
||||
@@ -323,7 +323,7 @@ msgstr "Application"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Steam informations"
|
||||
msgid "Steam information"
|
||||
msgstr "Informations pour Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:313
|
||||
@@ -530,22 +530,22 @@ msgstr "H.265"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Paramètres avancés"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:326
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Activer la fenêtre de débogage"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:333
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Activer le support des manettes SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -559,44 +559,44 @@ msgstr ""
|
||||
"WiVRn.\n"
|
||||
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:344
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Spécifier l'emplacement d'adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:355
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Emplacement d'adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:364
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Parcourir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:374
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Par défaut"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:388
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personnalisé"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:401
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Compatibilité OpenVR :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:427
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
|
||||
@@ -633,7 +633,7 @@ msgstr "Commande de lancement Steam copiée"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "Je ne trouve pas l'application WiVRn sur mon casque"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -647,7 +647,7 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "Je ne vois pas mon ordinateur dans l'application WiVRn"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
@@ -701,7 +701,7 @@ msgstr "L'appairage est désactivé."
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "Je n'ai pas de son sur mon casque"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -726,9 +726,9 @@ msgid "Getting started"
|
||||
msgstr "Commencer"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
|
||||
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
|
||||
#: dashboard/qml/WizardPage.qml:470
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Retour"
|
||||
@@ -748,15 +748,15 @@ msgstr ""
|
||||
"connecter à votre ordinateur."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
|
||||
#: dashboard/qml/WizardPage.qml:475
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "Suivant"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developper mode"
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "Comment activer le mode développeur"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
@@ -829,7 +829,7 @@ msgstr "ADB n'est pas installé"
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developper mode</a></li></ul></p>"
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>Aucun casque détecté. Assurez-vous que:\n"
|
||||
"<ul><li>Les règles udev sont installées</li><li>Le casque est en <a "
|
||||
@@ -849,12 +849,26 @@ msgstr ""
|
||||
"L'application que vous choisissez sera démarrée automatiquement quand vous "
|
||||
"connectez votre casque."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:344
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Informations importantes"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn remplace entièrement SteamVR, il ne faut pas lancer SteamVR lorsque "
|
||||
"WiVRn est démarré."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Démarrez l'application WiVRn sur votre casque"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:349
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -863,32 +877,32 @@ msgstr ""
|
||||
"Pour vous connecter en WiFi, démarrez l'application WiVRn sur votre casque, "
|
||||
"connectez-vous à « %1 » et entrez le PIN « %2 »."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:356
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "Pour vous connecter en USB, cliquez sur « Connexion par USB »"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:369
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Dépannage"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:391
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Passer"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:411
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Connexion établie"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:416
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Votre casque est maintenant connecté."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
@@ -897,12 +911,12 @@ msgstr ""
|
||||
"Pour connecter un autre casque, assurez-vous que l'appairage est activé dans "
|
||||
"le tableau de bord avant de vous connecter."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Finir"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:458
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Terminé"
|
||||
|
||||
+139
-83
@@ -1,14 +1,19 @@
|
||||
#
|
||||
# Guillaume Meunier <guillaume.meunier@centraliens.net>, 2025.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-04-15 12:05+0200\n"
|
||||
"PO-Revision-Date: 2024-05-20 13:00+0200\n"
|
||||
"POT-Creation-Date: 2025-06-18 21:11+0200\n"
|
||||
"PO-Revision-Date: 2025-06-18 21:25+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Gtranslator 47.1\n"
|
||||
|
||||
#: client/scenes/lobby.cpp:148
|
||||
msgid "No supported swapchain format"
|
||||
@@ -38,30 +43,30 @@ msgstr "Impossible de se connecter à {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Attente de connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:131
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualité"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:136
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#: client/scenes/lobby_gui.cpp:198
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:203
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "Flux vidéo interrompu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:205
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
@@ -69,7 +74,7 @@ msgstr ""
|
||||
"Connexion prête\n"
|
||||
"Démarrez une application VR sur l'ordinateur"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:207
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
@@ -78,52 +83,52 @@ msgstr ""
|
||||
"Connexion prête\n"
|
||||
"Démarrez une application VR sur {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:220
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:226
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "Connection"
|
||||
msgstr "Connexion en cours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:228
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connexion à {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/lobby_gui.cpp:259
|
||||
msgid "PIN"
|
||||
msgstr "Code PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:280
|
||||
#: client/scenes/lobby_gui.cpp:281
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Entrez le code PIN affiché sur le tableau de bord"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:355
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
msgid "Address"
|
||||
msgstr "Adresse"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:375
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
msgid "TCP only"
|
||||
msgstr "TCP seulement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:390
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:457
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -131,32 +136,32 @@ msgstr ""
|
||||
"Démarrez un serveur WiVRn sur\n"
|
||||
"le réseau local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconnexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:515
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
msgid "Connect"
|
||||
msgstr "Connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:525
|
||||
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Version du serveur incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:527
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
msgid "Server not available"
|
||||
msgstr "Serveur non disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taux de rafraichissement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
|
||||
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:622
|
||||
#: client/scenes/lobby_gui.cpp:623
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -165,92 +170,135 @@ msgstr ""
|
||||
"des performances mesurées.\n"
|
||||
"Peut causer des clignotements lors du changement de fréquence."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:639
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taux minimal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:662
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid "Resolution scale"
|
||||
msgstr "Échelle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} par œil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
|
||||
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:683
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activer le micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:693
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Utiliser les données brutes du micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:699
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Désactive les traitements tels que la suppression du bruit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activer le suivi des mains"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
|
||||
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:719
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activer le suivi des yeux"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:732
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activer le suivi du visage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:744
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Activer le suivi du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:764
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"Nécessite que le suivi des mains et du corps soit activé dans les paramètres "
|
||||
"de\n"
|
||||
"suivi des mouvements du casque.\n"
|
||||
"Sinon les positions seront déduites de celles des manettes et casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Activer le suivi du bas du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Estime les positions du bas du corps via « Generative Legs »\n"
|
||||
"Nécessite que le suivi des mains et du corps soit activé dans les "
|
||||
"paramètres\n"
|
||||
"de suivi de mouvements du casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Activer le suivi des hanches"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"N'a d'effet que si le suivi du bas du corps est activé.\n"
|
||||
"Peut être utile si les hanches sont suivies via un autre moyen."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Activer la vue réelle dans l'accueil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "Afficher les métriques de performances"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "L'affichage peut être basculé en appuyant sur les deux joysticks"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "Temps CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Temps CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "Temps GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Temps GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-traitement OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
msgid "Supersampling"
|
||||
msgstr "Suréchantillonnage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -258,11 +306,11 @@ msgstr ""
|
||||
"Réduit le scintillement des contours à haut contraste.\n"
|
||||
"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:854
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
msgid "Sharpening"
|
||||
msgstr "Affinage de netteté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -270,11 +318,11 @@ msgstr ""
|
||||
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
|
||||
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:883
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Activer Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
@@ -284,103 +332,111 @@ msgstr ""
|
||||
"de netteté ci-dessus.\n"
|
||||
"N’activer que si vous savez ce que vous faites."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:893
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Mise à l’échelle et affinage de netteté, ajoute un coût en performances pour "
|
||||
"le casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Échelle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
msgid "Use edge direction"
|
||||
msgstr "Utiliser la direction de contours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:936
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Ajoute un coût additionnel en performances"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid "Edge threshold"
|
||||
msgstr "Seuil de contour"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Recommandé : {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Netteté de contour"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
|
||||
msgid "Licenses"
|
||||
msgstr "Licences"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1384
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Le micro est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1385
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Le micro est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Le suivi des mains est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Le suivi des mains est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Le suivi des yeux est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Le suivi des yeux est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Le suivi du visage est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Le suivi du visage est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1444
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Le suivi du corps est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Le suivi du corps est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
msgid "Add server"
|
||||
msgstr "Ajouter un serveur"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1673
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
msgid "Server list"
|
||||
msgstr "Serveurs"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1676
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-traitement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
msgid "Exit"
|
||||
msgstr "Quitter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1774
|
||||
msgid ""
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -388,7 +444,7 @@ msgstr ""
|
||||
"Appuyez sur A ou X ou placez votre paume\n"
|
||||
"vers le haut pour déplacer la fenêtre principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1776
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr ""
|
||||
"Appuyez sur A ou X pour\n"
|
||||
@@ -456,18 +512,18 @@ msgstr "Prédiction"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latence mouvement à photons estimée: {}ms"
|
||||
|
||||
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Temps d'attente dépassé"
|
||||
|
||||
#: client/wivrn_client.cpp:147
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "Code PIN incorrect"
|
||||
|
||||
#: client/wivrn_client.cpp:151
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "Impossible de vérifier le code PIN"
|
||||
|
||||
#: client/wivrn_client.cpp:180
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "L'appairage est désactivé sur le serveur"
|
||||
|
||||
+137
-83
@@ -5,8 +5,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-04-17 19:47+0200\n"
|
||||
"PO-Revision-Date: 2025-04-17 20:01+0200\n"
|
||||
"POT-Creation-Date: 2025-06-18 21:11+0200\n"
|
||||
"PO-Revision-Date: 2025-06-18 21:32+0200\n"
|
||||
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
|
||||
"Language-Team: Italian <>\n"
|
||||
"Language: Italian\n"
|
||||
@@ -42,30 +42,30 @@ msgstr "Impossibile connettersi a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "In attesa di connessione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:131
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Alta qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:136
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#: client/scenes/lobby_gui.cpp:198
|
||||
msgid "Disconnect"
|
||||
msgstr "Sconnetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:203
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "Flusso video interrotto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:205
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
@@ -73,7 +73,7 @@ msgstr ""
|
||||
"Connessione pronta\n"
|
||||
"Avvia un'applicazione VR sul computer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:207
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
@@ -82,52 +82,52 @@ msgstr ""
|
||||
"Connessione pronta\n"
|
||||
"Avvia un'applicazione VR su {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:220
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
msgid "Close"
|
||||
msgstr "Chiudi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:226
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "Connection"
|
||||
msgstr "Connessione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:228
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connessione a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/lobby_gui.cpp:259
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:280
|
||||
#: client/scenes/lobby_gui.cpp:281
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Digitare il PIN visibile sul server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:355
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
msgid "Address"
|
||||
msgstr "Indirizzo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:375
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:390
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Save"
|
||||
msgstr "Salva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:457
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -135,32 +135,32 @@ msgstr ""
|
||||
"Avvia un server WiVRn sulla\n"
|
||||
"rete locale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
msgid "Autoconnect"
|
||||
msgstr "Connessione automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:515
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
msgid "Connect"
|
||||
msgstr "Connetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:525
|
||||
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versione del server incompatibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:527
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
msgid "Server not available"
|
||||
msgstr "Server non disponibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frequenza di aggiornamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
|
||||
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:622
|
||||
#: client/scenes/lobby_gui.cpp:623
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -169,93 +169,139 @@ msgstr ""
|
||||
"misurate dell'applicazione.\n"
|
||||
"Può causare un flash quando avviene il cambiamento."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:639
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Frequenza minima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:662
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid "Resolution scale"
|
||||
msgstr "Scala di risoluzione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} per occhio"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
|
||||
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:683
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgid "Enable microphone"
|
||||
msgstr "Attiva il microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:693
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Usare dati grezzi del microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:699
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Disattiva gli effetti come la cancellazione del rumore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Abilita il tracciamento delle mani"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
|
||||
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Questa funzionalità non è supportata dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:719
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Abilita il tracciamento oculare"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:732
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Abilita il tracciamento facciale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:744
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Abilita il tracciamento del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:764
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"L'opzione \"Tracking delle mani e del corpo\" deve essere attivata nelle "
|
||||
"impostazioni,\n"
|
||||
"sezione \"Tracking dei movimenti\".\n"
|
||||
"Altrimenti i dati di posizioni verranno generati dalle posizioni dei "
|
||||
"controller e\n"
|
||||
"del visore."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Abilita il tracciamento del basso del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Stima il basso del corpo usando \"Generative Legs\".\n"
|
||||
"L'opzione \"Tracking delle mani e del corpo\" deve essere attivata nelle "
|
||||
"impostazioni,\n"
|
||||
"sezione \"Tracking dei movimenti\"."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Abilitia il tracciamento delle anche"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"Ha effetto soltanto se il tracciamento del basso del corpo è attivo.\n"
|
||||
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
|
||||
"delle anche."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Abilita la visualizzazione reale in ingresso"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "Mostra metriche delle prestazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "È possibile alternare la visualizzazione premendo entrambi i joystick"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-trattamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersamping"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -263,11 +309,11 @@ msgstr ""
|
||||
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
|
||||
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:854
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
msgid "Sharpening"
|
||||
msgstr "Miglioramento della nitidezza"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -276,114 +322,122 @@ msgstr ""
|
||||
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
|
||||
"visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:883
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Attivare Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr "Su questo visore è consigliato usare il post-trattamento OpenXR."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:893
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Aumento della risoluzione e nitidezza sul visore, diminuisce le prestazioni "
|
||||
"sul visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Aumento di risoluzione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usare la direzione dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:936
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Riduce le prestazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid "Edge threshold"
|
||||
msgstr "Soglia dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Valore consigliato: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidezza dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
|
||||
msgid "Licenses"
|
||||
msgstr "Licenze"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1384
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Microfono attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1385
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Microfono disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Tracciamento delle mani attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Tracciamento delle mani disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Tracciamento oculare attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Tracciamento oculare disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Tracciamento facciale attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Tracciamento facciale disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1444
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Tracciamento del corpo attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Tracciamento del corpo disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
msgid "Add server"
|
||||
msgstr "Aggiungi server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1673
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
msgid "Server list"
|
||||
msgstr "Elenco dei server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1676
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
msgid "Settings"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-trattamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
msgid "About"
|
||||
msgstr "Informazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
msgid "Exit"
|
||||
msgstr "Esci"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1774
|
||||
msgid ""
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -391,7 +445,7 @@ msgstr ""
|
||||
"Premi A, X o punta il palmo della mano verso l'alto\n"
|
||||
"per spostare la finestra principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1776
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr "Premi A o X per spostare la finestra principale"
|
||||
|
||||
@@ -457,18 +511,18 @@ msgstr "Previsto"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latenza stimata da movimento a fotoni: {}ms"
|
||||
|
||||
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Timeout"
|
||||
|
||||
#: client/wivrn_client.cpp:147
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "PIN errato"
|
||||
|
||||
#: client/wivrn_client.cpp:151
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "Impossibile verificare il PIN"
|
||||
|
||||
#: client/wivrn_client.cpp:180
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "L'associazione è disattivata sul server"
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-22 03:31+0900\n"
|
||||
"POT-Creation-Date: 2025-06-20 01:44+0900\n"
|
||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language-Team: Japanese <>\n"
|
||||
@@ -86,7 +86,7 @@ msgstr "ADBはインストールされていません。"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developper mode is enabled."
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr "HMDを接続し、開発モードを確認しましょう。"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
@@ -172,7 +172,7 @@ msgstr "名前変更"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "やめる"
|
||||
@@ -287,7 +287,7 @@ msgstr "ペアリング"
|
||||
msgid "PIN: %1"
|
||||
msgstr "暗証番号:%1"
|
||||
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "USBで接続する"
|
||||
@@ -310,7 +310,7 @@ msgstr "アプリ"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Steam informations"
|
||||
msgid "Steam information"
|
||||
msgstr "ストリーム情報"
|
||||
|
||||
#: dashboard/qml/Main.qml:313
|
||||
@@ -517,22 +517,22 @@ msgstr "H.265"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "詳細設定"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:326
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "デバッグ・ウィンドウを表示する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:333
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR・ライトハウス・トラッキング"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -545,44 +545,44 @@ msgstr ""
|
||||
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
|
||||
"キャリブレーションはmotocなどのソフトウェアで行います。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:344
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "特定なADBの場所"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:355
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "ADBの場所:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:364
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "検索する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:374
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:388
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "カスタム"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "無し"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:401
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR実装ライブラリー"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:427
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
|
||||
@@ -617,7 +617,7 @@ msgstr "Steam用の起動オプションをコピーしました"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "HMDでWiVRnアプリが見つからない"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -629,7 +629,7 @@ msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "WiVRnアプリでパソコンが表示されない"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
@@ -683,7 +683,7 @@ msgstr "ペアリングは無効です。"
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "HMDから音が出ない"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -707,9 +707,9 @@ msgid "Getting started"
|
||||
msgstr "はじめに"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
|
||||
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
|
||||
#: dashboard/qml/WizardPage.qml:470
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "戻る"
|
||||
@@ -729,15 +729,15 @@ msgstr ""
|
||||
"るようにご案内します。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
|
||||
#: dashboard/qml/WizardPage.qml:475
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "次"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developper mode"
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "HMDの開発者モードを有効する方法"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
@@ -753,7 +753,7 @@ msgid ""
|
||||
"You can either install it from the Meta store or directly over USB."
|
||||
msgstr ""
|
||||
"WiVRnを使用するには、HMDにアプリをインストール必要があります。\n"
|
||||
"Metaストアからインストールするとも、USBで直接インストールすることもできます。"
|
||||
"Metaストアからインストールや、USBで直接インストールすることもできます。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:148
|
||||
#, kde-format
|
||||
@@ -807,7 +807,7 @@ msgstr "ADBはインストールされていません"
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developper mode</a></li></ul></p>"
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>HMDは見つかりません。以下を確認しましょう:\n"
|
||||
"<ul><li>ADB用のudevルールはインストールされています</li><li>HMDは<a "
|
||||
@@ -825,12 +825,24 @@ msgid ""
|
||||
"your headset."
|
||||
msgstr "接続すると、選択したアプリが自動的に起動します。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:344
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "警告"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr "WiVRnはSteamVRの変わりに使うものです。両方を同時に走らせないように気をつけましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "HMDでWiVRnアプリを起動しましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:349
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -839,44 +851,44 @@ msgstr ""
|
||||
"WiFiで接続するには、HMDのWiVRnアプリを使い、「%1」に接続し、暗証番号に「%2」"
|
||||
"を入れましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:356
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:369
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "問題解決"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:391
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "スキップ"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:411
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "接続確立"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:416
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "HMDに接続しました。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr "他のHMDを接続するには、ペアリングが有効なのかどうか確認しましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "完了"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:458
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "完了しました"
|
||||
|
||||
+135
-85
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.16\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-04-20 17:32+0900\n"
|
||||
"POT-Creation-Date: 2025-06-20 01:44+0900\n"
|
||||
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language: Japanese\n"
|
||||
@@ -37,30 +37,30 @@ msgstr "{}に接続できませんでした:({}) {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "接続を待っています"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:131
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "ノーマル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "クオリティ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:136
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "無効"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#: client/scenes/lobby_gui.cpp:198
|
||||
msgid "Disconnect"
|
||||
msgstr "切断する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:203
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "動画ストリームは中断しました"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:205
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
@@ -68,7 +68,7 @@ msgstr ""
|
||||
"接続に成功しました\n"
|
||||
"パソコンでVRアプリを起動して下さい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:207
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
@@ -77,52 +77,52 @@ msgstr ""
|
||||
"接続に成功しました\n"
|
||||
"{}でVRアプリを起動して下さい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:220
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
msgid "Close"
|
||||
msgstr "やめる"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:226
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "Connection"
|
||||
msgstr "接続"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:228
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "{}に接続中"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/lobby_gui.cpp:259
|
||||
msgid "PIN"
|
||||
msgstr "暗証番号"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:280
|
||||
#: client/scenes/lobby_gui.cpp:281
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "パソコンで表示された暗証番号を入力してください"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:355
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
msgid "Name"
|
||||
msgstr "表示名"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
msgid "Address"
|
||||
msgstr "アドレス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:375
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
msgid "Port"
|
||||
msgstr "ポート番号"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
msgid "TCP only"
|
||||
msgstr "TCPのみを使用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:390
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
msgid "Cancel"
|
||||
msgstr "やめる"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Save"
|
||||
msgstr "保存する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:457
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -130,32 +130,32 @@ msgstr ""
|
||||
"ローカルネットワークでWiVRnサーバーを\n"
|
||||
"起動してみて下さい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
msgid "Autoconnect"
|
||||
msgstr "自動接続"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:515
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
msgid "Connect"
|
||||
msgstr "接続する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:525
|
||||
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "互換性のないサーバーです"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:527
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
msgid "Server not available"
|
||||
msgstr "サーバーは利用不可です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
msgid "Refresh rate"
|
||||
msgstr "リフレッシュレート"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
|
||||
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:622
|
||||
#: client/scenes/lobby_gui.cpp:623
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -163,93 +163,135 @@ msgstr ""
|
||||
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
||||
"変更時にチラツキが発生する可能性があります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:639
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低リフレッシュレート"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:662
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid "Resolution scale"
|
||||
msgstr "解像度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - 目あたり{}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
|
||||
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:683
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgid "Enable microphone"
|
||||
msgstr "マイクを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:693
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未処理のマイク音声"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:699
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "ノイズ除去などのフィルターを無効化する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "ハンドトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
|
||||
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "デバイスはこの機能をサポートしていません"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:719
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "アイトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:732
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable face tracking"
|
||||
msgstr "顔トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:744
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
msgid "Enable body tracking"
|
||||
msgstr "ボディラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:764
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||
"有効する必要がある。\n"
|
||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
||||
"とになる。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "下半身トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"下半身に計算された疑似トラッキングを使用する。\n"
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||
"有効する必要がある。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "腰のトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"下半身トラッキングが有効な場合に使用可能。腰トラッカーを持ってる方は無効にし"
|
||||
"ましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "ロビーでパススルーを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "パフォーマンスグラフを表示する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "両方のサムスティックを同時に押すことで切り替え可能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "CPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "GPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
msgid "Supersampling"
|
||||
msgstr "スーパーサンプリング"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -257,11 +299,11 @@ msgstr ""
|
||||
"コントラストが高い部分のギザギザを低減する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:854
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
msgid "Sharpening"
|
||||
msgstr "シャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -269,115 +311,123 @@ msgstr ""
|
||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:883
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Snapdragon Game Super Resolutionを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"この設定は、使用中のHMDでは非推奨です。"
|
||||
"OpenXRの方法を使用してください。"
|
||||
"この設定は、使用中のHMDでは非推奨です。OpenXRの方法を使用してください。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:893
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"HMD側のアップスケーリングやシャープニングを使用する場合、要求性能が上がります。"
|
||||
"HMD側のアップスケーリングやシャープニングを使用する場合、要求性能が上がりま"
|
||||
"す。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
msgid "Upscaling factor"
|
||||
msgstr "アップスケーリング係数"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
msgid "Use edge direction"
|
||||
msgstr "エッジ方向を使用する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:936
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "HMDに対する要求性能が上がります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid "Edge threshold"
|
||||
msgstr "エッジのしきい値"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "推奨値:{:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
msgid "Edge sharpness"
|
||||
msgstr "エッジのシャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
|
||||
msgid "Licenses"
|
||||
msgstr "ライセンス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1384
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "マイクは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1385
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "マイクは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "ハンドトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "ハンドラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "アイトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "アイトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "顔トラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "フェーストラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1444
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "ボディトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "ボディトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
msgid "Add server"
|
||||
msgstr "サーバーを追加する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1673
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
msgid "Server list"
|
||||
msgstr "サーバー"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1676
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Post-processing"
|
||||
msgstr "ポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
msgid "Debug"
|
||||
msgstr "デバッグ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
msgid "About"
|
||||
msgstr "WiVRnについて"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
msgid "Exit"
|
||||
msgstr "完了"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1774
|
||||
msgid ""
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -385,7 +435,7 @@ msgstr ""
|
||||
"ウィンドウを移動するには、手のひらを上に向けるか、\n"
|
||||
"AまたはBボタンを押しましょう"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1776
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr "AまたはXボタンを押してウィンドウを移動"
|
||||
|
||||
@@ -451,18 +501,18 @@ msgstr "予測時間"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
||||
|
||||
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "タイムアウト"
|
||||
|
||||
#: client/wivrn_client.cpp:147
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "識別番号に誤りがありました"
|
||||
|
||||
#: client/wivrn_client.cpp:151
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "暗証番号を確認できませんでした"
|
||||
|
||||
#: client/wivrn_client.cpp:180
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "このサーバーではペアリングが無効です"
|
||||
|
||||
+139
-95
@@ -2,20 +2,22 @@
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
|
||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-04-29 19:40+0200\n"
|
||||
"PO-Revision-Date: 2025-05-05 21:15+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
|
||||
"PO-Revision-Date: 2025-06-21 21:55-0300\n"
|
||||
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
|
||||
"Language-Team: Brazilian Portuguese\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Lokalize 25.04.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
@@ -35,7 +37,7 @@ msgstr "Download cancelado"
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "Incapaz de baixar o APK: %1"
|
||||
msgstr "Não é possível baixar o APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#, kde-format
|
||||
@@ -45,7 +47,7 @@ msgstr "Instalando APK"
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adb incapaz de iniciar: %1"
|
||||
msgstr "O adb não conseguiu iniciar: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#, kde-format
|
||||
@@ -60,7 +62,7 @@ msgstr "O comando 'adb install' falhou: código de saída %1"
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Instalação com sucesso"
|
||||
msgstr "Instalação bem-sucedida"
|
||||
|
||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
||||
#, kde-format
|
||||
@@ -70,7 +72,7 @@ msgstr "Painel do WiVRn"
|
||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||
#, kde-format
|
||||
msgid "Install the WiVRn app on your headset"
|
||||
msgstr "Instalar a aplicação WiVRn no seu headset"
|
||||
msgstr "Instalar o aplicativo do WiVRn no seu headset"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
|
||||
#: dashboard/qml/WizardPage.qml:192
|
||||
@@ -91,7 +93,7 @@ msgstr "ADB não está instalado."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developper mode is enabled."
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr ""
|
||||
"Conecte um headset e assegure que o modo desenvolvedor esteja habilitado."
|
||||
|
||||
@@ -106,8 +108,8 @@ msgstr ""
|
||||
"docs/building.md#client-headset\">documentação</a> para construir seu "
|
||||
"próprio cliente."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
|
||||
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
@@ -133,11 +135,6 @@ msgstr "Reinstalar WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Instalar WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estatísticas do headset"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
@@ -183,7 +180,7 @@ msgstr "Renomear"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
@@ -201,34 +198,39 @@ msgstr "Remover"
|
||||
#: dashboard/qml/HeadsetsPage.qml:143
|
||||
#, kde-format
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "Pareamento habilitado, PIN: %1"
|
||||
msgstr "Pareamento ativado, PIN: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "Desabilitar pareamento"
|
||||
msgstr "Desativar pareamento"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset and use the PIN: %1"
|
||||
msgstr "Inicie a aplicação WiVRn no seu headset e use o PIN: %1"
|
||||
msgstr "Inicie o aplicativo do WiVRn no seu headset e use o PIN: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr ""
|
||||
"Habilite pareamento para permitir ao seu headset conectar a esse computador"
|
||||
"Ative o pareamento para permitir que seu headset conecte-se a esse computador"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "Habilitar pareamento"
|
||||
msgstr "Ativar pareamento"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:191
|
||||
#, kde-format
|
||||
msgid "Pair a new headset"
|
||||
msgstr "Parear um novo headset"
|
||||
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estatísticas do headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:103
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
@@ -298,7 +300,7 @@ msgstr "Pareando"
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Conectar pela USB"
|
||||
@@ -318,11 +320,11 @@ msgstr "Desconectar"
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplicação"
|
||||
msgstr "Aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Steam informations"
|
||||
msgid "Steam information"
|
||||
msgstr "Informações da Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:313
|
||||
@@ -333,7 +335,7 @@ msgstr "Assistente"
|
||||
#: dashboard/qml/Main.qml:320
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar a aplicação"
|
||||
msgstr "Instalar o aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:349 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
@@ -444,19 +446,19 @@ msgstr "Manual"
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "Pré-ajuste default"
|
||||
msgstr "Predefinição padrão"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "Pré-ajuste de baixa latência"
|
||||
msgstr "Predefinição de baixa latência"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "Pré-ajuste seguro"
|
||||
msgstr "Predefinição segura"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#, kde-format
|
||||
@@ -530,54 +532,72 @@ msgstr "H.265"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:323
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opções avançadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Ativar janela de depuração"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
"Requires SteamVR to be installed.\n"
|
||||
"Devices must be be powered on before connecting to WiVRn.\n"
|
||||
"An external tool such as motoc is needed for calibration."
|
||||
msgstr ""
|
||||
"Permite o uso de controladores e rastreadores baseados em Lighthouse.\n"
|
||||
"Requer que o SteamVR esteja instalado.\n"
|
||||
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
|
||||
"Uma ferramenta externa como o motoc é necessária para calibração."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Caminho personalizado do adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:334
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Caminho do adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:353
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Default"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:360
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:365
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:372
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:377
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
msgstr "Desativado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Biblioteca de compatibilidade OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:411
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
|
||||
@@ -595,8 +615,8 @@ msgstr ""
|
||||
#, kde-format
|
||||
msgid "Paste this in the Steam launch options for the app you want to start"
|
||||
msgstr ""
|
||||
"Cole isso nas opções de lançamento da Steam para a aplicação que você deseja "
|
||||
"iniciar"
|
||||
"Cole isso nas opções de lançamento da Steam para o aplicativo que você "
|
||||
"deseja iniciar"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:26
|
||||
#, kde-format
|
||||
@@ -612,23 +632,23 @@ msgstr "Comando de lançamento da Steam copiado"
|
||||
#: dashboard/qml/TroubleshootPage.qml:20
|
||||
#, kde-format
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "Não consigo encontrar a aplicação WiVRn no meu headset"
|
||||
msgstr "Não consigo encontrar o aplicativo do WiVRn no meu headset"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Se você instalou o WiVRn pela USB em um headset Meta, a aplicação está na "
|
||||
"Se você instalou o WiVRn pelo USB em um headset Meta, o aplicativo está na "
|
||||
"seção \"fontes desconhecidas\"."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "Não consigo ver meu computador na aplicação WiVRn"
|
||||
msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
@@ -649,9 +669,9 @@ msgid ""
|
||||
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
|
||||
"server version is <b>%1</b></li></ul>"
|
||||
msgstr ""
|
||||
"<p>A versão da aplicação do headset e o servidor no seu computador devem "
|
||||
"casar.</p><ul><li>A versão da aplicação do headset está na página \"Sobre\"</"
|
||||
"li><li>A versão do servidor é <b>%1</b></li></ul>"
|
||||
"<p>A versão do aplicativo do headset e o servidor no seu computador devem "
|
||||
"ser a mesma.</p><ul><li>A versão do aplicativo do headset está na página "
|
||||
"\"Sobre\"</li><li>A versão do servidor é <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
@@ -665,24 +685,24 @@ msgid ""
|
||||
"another headset, you must enable pairing before connecting."
|
||||
msgstr ""
|
||||
"Se você reinstalou o servidor ou o cliente ou se você quer conectar outro "
|
||||
"headset, você deve habilitar o pareamento antes de conectar."
|
||||
"headset, você deve atviar o pareamento antes de conectar."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "Pareamento está atualmente habilitado com o PIN %1."
|
||||
msgstr "Pareamento está atualmente ativado com o PIN %1."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "Pareamento está atualmente desabilitado."
|
||||
msgstr "Pareamento está atualmente desativado."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:49
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "Eu não tenho som no meu headset"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -707,9 +727,9 @@ msgid "Getting started"
|
||||
msgstr "Começando"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
|
||||
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
|
||||
#: dashboard/qml/WizardPage.qml:470
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Voltar"
|
||||
@@ -729,16 +749,16 @@ msgstr ""
|
||||
"ao seu computador."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
|
||||
#: dashboard/qml/WizardPage.qml:475
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "Próximo"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developper mode"
|
||||
msgstr "Como habilitar modo desenvolvedor"
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "Como habilitar o modo de desenvolvedor"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
#, kde-format
|
||||
@@ -752,9 +772,9 @@ msgid ""
|
||||
"headset.\n"
|
||||
"You can either install it from the Meta store or directly over USB."
|
||||
msgstr ""
|
||||
"Para usar o WiVRn, você precisa instalar a aplicação cliente em seu "
|
||||
"Para usar o WiVRn, você precisa instalar o aplicativo do cliente em seu "
|
||||
"headset.\n"
|
||||
"Você pode instalá-la pela loja Meta ou diretamente pela USB."
|
||||
"Você pode instalá-lo pela loja Meta ou diretamente pela USB."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:148
|
||||
#, kde-format
|
||||
@@ -767,7 +787,7 @@ msgid ""
|
||||
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
|
||||
msgstr ""
|
||||
"Para os Quest 2, 3, 3S, e Pro, você pode obter a aplicação pela <a "
|
||||
"Para o Quest 2, 3, 3S, e Pro, você pode obter o aplicativo pela <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">loja Meta</a>."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:164
|
||||
@@ -776,8 +796,8 @@ msgid ""
|
||||
"A newer release is available: %1 → %2, the client app on the Meta store may "
|
||||
"not be compatible."
|
||||
msgstr ""
|
||||
"Uma versão mais nova está disponível: %1 → %2, a aplicação cliente na loja "
|
||||
"Meta pode não ser compatível."
|
||||
"Uma versão mais nova está disponível: %1 → %2, o aplicativo do cliente na "
|
||||
"loja Meta pode não ser compatível."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:171
|
||||
#, kde-format
|
||||
@@ -785,7 +805,7 @@ msgid ""
|
||||
"This is a nightly build, the client app on the Meta store may not be "
|
||||
"compatible."
|
||||
msgstr ""
|
||||
"Esta é uma compilação noturna, a aplicação cliente na loja Meta pode não ser "
|
||||
"Esta é uma build nightly, o aplicativo do cliente na loja Meta pode não ser "
|
||||
"compativel."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:181
|
||||
@@ -809,16 +829,16 @@ msgstr "ABD não está instalado"
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developper mode</a></li></ul></p>"
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>Nenhum headset detectado. Se assegure que:\n"
|
||||
"<p>Nenhum headset detectado. Tenha certeza que:\n"
|
||||
"<ul><li>As regras udev de ADB estejam instaladas</li><li>O headset esteja em "
|
||||
"<a href=\"#\">modo desenvolvedor</a></li></ul></p>"
|
||||
"<a href=\"#\">modo de desenvolvedor</a></li></ul></p>"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:280
|
||||
#, kde-format
|
||||
msgid "Select the application you want to start"
|
||||
msgstr "Selecione a aplicação que você quer iniciar"
|
||||
msgstr "Selecione o aplicativo que você quer iniciar"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:286
|
||||
#, kde-format
|
||||
@@ -826,49 +846,63 @@ msgid ""
|
||||
"The application you choose will be started automatically when you connect "
|
||||
"your headset."
|
||||
msgstr ""
|
||||
"A aplicação que você escolher será iniciada automaticamente quando você "
|
||||
"O aplicativo que você escolher será iniciado automaticamente quando você "
|
||||
"conectar seu headset."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:344
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Informação importante"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"O WiVRn substitui o SteamVR completamente, você não deve iniciar o SteamVR "
|
||||
"enquanto o WiVRn estiver rodando."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Iniciar a aplicação WiVRn no seu headset"
|
||||
msgstr "Iniciar o aplicativo do WiVRn no seu headset"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:349
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
"and enter PIN \"%2\"."
|
||||
msgstr ""
|
||||
"Para conectar pela WiFi, inicie a aplicação WiVRn no seu headset, conecte a "
|
||||
"\"%1\" e entre o PIN \"%2\"."
|
||||
"Para conectar pelo WiFi, inicie o aplicativo do WiVRn no seu headset, "
|
||||
"conecte a \"%1\" e entre o PIN \"%2\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:356
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "Para conectar pela USB, clique em \"Conectar pela USB\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:369
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Resolver problemas"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:391
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Pular"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:411
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Conexão estabelecida"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:416
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Seu headset está conectado agora."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
@@ -877,12 +911,22 @@ msgstr ""
|
||||
"Para conectar outro headset, se assegure que o pareamento esteja habilitado "
|
||||
"no painel antes de conectar."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Terminar"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:458
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+162
-108
@@ -2,20 +2,22 @@
|
||||
# This file is distributed under the same license as the WiVRn package.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
|
||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-04-15 12:06+0200\n"
|
||||
"PO-Revision-Date: 2025-04-19 20:27+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
"POT-Creation-Date: 2025-06-20 19:23-0300\n"
|
||||
"PO-Revision-Date: 2025-06-23 05:42-0300\n"
|
||||
"Last-Translator: LuckShiba <LuckShiba@protonmail.com>\n"
|
||||
"Language-Team: Brazilian Portuguese\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Lokalize 24.12.3\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: client/scenes/lobby.cpp:148
|
||||
msgid "No supported swapchain format"
|
||||
@@ -44,92 +46,92 @@ msgstr "Incapaz de conectar a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Aguardando conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:131
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualidade"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:136
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#: client/scenes/lobby_gui.cpp:198
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:203
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "Fluxo de vídeo interrompido"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:205
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
msgstr ""
|
||||
"Conexão pronta\n"
|
||||
"Inicie uma aplicação VR no seu computador"
|
||||
"Inicie um aplicativo VR no seu computador"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:207
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on {}"
|
||||
msgstr ""
|
||||
"Conexão pronta\n"
|
||||
"Inicie uma aplicação VR em {}"
|
||||
"Inicie um aplicativo VR em {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:220
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:226
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "Connection"
|
||||
msgstr "Conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:228
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexão a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/lobby_gui.cpp:259
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:280
|
||||
#: client/scenes/lobby_gui.cpp:281
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Entre o PIN mostrado no painel"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:355
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
msgid "Address"
|
||||
msgstr "Endereço"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:375
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
msgid "TCP only"
|
||||
msgstr "TCP somente"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:390
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:457
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -137,126 +139,170 @@ msgstr ""
|
||||
"Inicie um servidor WiVRn em sua\n"
|
||||
"rede local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:515
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:525
|
||||
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versão de servidor incompatível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:527
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor não disponível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taxa de atualização"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
|
||||
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:622
|
||||
#: client/scenes/lobby_gui.cpp:623
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
msgstr ""
|
||||
"Seleciona a taxa de atualização baseada no desempenho medido da aplicação.\n"
|
||||
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
||||
"Pode causar oscilações quando uma alteração ocorrer."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:639
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taxa de atualização mínima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:662
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid "Resolution scale"
|
||||
msgstr "Escala de resolução"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} por olho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
|
||||
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:683
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgid "Enable microphone"
|
||||
msgstr "Habilitar microfone"
|
||||
msgstr "Ativar microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:693
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Áudio Não-processado de Microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:699
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Força a desabilitação de filtros de áudio tais como cancelamento de ruído"
|
||||
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Habilitar rastreamento de mãos"
|
||||
msgstr "Ativar rastreamento de mãos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
|
||||
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Este recurso não é suportado pelo seu headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:719
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Habilitar rastreamento ocular"
|
||||
msgstr "Ativar rastreamento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:732
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Habilitar rastreamento de face"
|
||||
msgstr "Ativar rastreamento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:744
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Ativar rastreamento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:764
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas "
|
||||
"configurações de \n"
|
||||
"Rastreamento de Movimento do Quest, caso contrário dados corporais serão "
|
||||
"estimados\n"
|
||||
"com base nas posições do controle e do headset."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Estima as posições das articulações da parte inferior do corpo usando Pernas "
|
||||
"Gerativas\n"
|
||||
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
|
||||
"configurações de Rastreamento de Movimento do Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"Só tem efeito com o rastreamento corporal inferior ativado\n"
|
||||
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Habilitar repassagem de vídeo no lobby"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "Mostrar métricas de desempenho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "A sobreposição pode ser alternada pressionando ambos os joysticks"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -264,11 +310,11 @@ msgstr ""
|
||||
"Reduz flicker para arestas de alto contraste.\n"
|
||||
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:854
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -276,117 +322,125 @@ msgstr ""
|
||||
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
|
||||
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:883
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"Neste headset, este ajuste foi completamente supersedido pelo ajuste "
|
||||
"de aumento de nitidez acima.\n"
|
||||
"Neste headset, este ajuste foi completamente supersedido pelo ajuste de "
|
||||
"aumento de nitidez acima.\n"
|
||||
"Somente habilite se souber o que está fazendo."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:893
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de dese"
|
||||
"mpenho no headset"
|
||||
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de "
|
||||
"desempenho no headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Fator de upscaling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usar direção da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:936
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Acrescenta um custo de desempenho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid "Edge threshold"
|
||||
msgstr "Limite da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Recomenadado: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidez da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
|
||||
msgid "Licenses"
|
||||
msgstr "Licenças"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1384
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "O microfone está habilitado"
|
||||
msgstr "O microfone está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1385
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "O microfone está desabilitado"
|
||||
msgstr "O microfone está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "O rastreamento de mãos está habilitado"
|
||||
msgstr "O rastreamento de mãos está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "O rastreamento de mãos está desabilitado"
|
||||
msgstr "O rastreamento de mãos está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "O rastreamento ocular está habilitado"
|
||||
msgstr "O rastreamento ocular está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "O rastreamento ocular está desabilitado"
|
||||
msgstr "O rastreamento ocular está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "O rastreamento de face está habilitado"
|
||||
msgstr "O rastreamento facial está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "O rastreamento de face está desabilitado"
|
||||
msgstr "O rastreamento facial está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1444
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "O rastreamento corporal está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "O rastreamento corporal está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
msgid "Add server"
|
||||
msgstr "Adicionar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1673
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1676
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Post-processing"
|
||||
msgstr "Pós-processamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
msgid "Debug"
|
||||
msgstr "Depurar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
msgid "Exit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1774
|
||||
msgid ""
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -394,7 +448,7 @@ msgstr ""
|
||||
"Pressione A ou X ou coloque a palma da mão pra cima\n"
|
||||
"para mover a janela principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1776
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr "Pressione A ou X para mover a janela principal"
|
||||
|
||||
@@ -416,7 +470,7 @@ msgstr "Baixar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:165
|
||||
msgid "Upload"
|
||||
msgstr "Subir"
|
||||
msgstr "Enviar"
|
||||
|
||||
#: client/scenes/stream_stats.cpp:234
|
||||
#, c++-format
|
||||
@@ -460,18 +514,18 @@ msgstr "Previsto"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Movimento estimado para a latência de fótons: {}ms"
|
||||
|
||||
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Tempo esgotado"
|
||||
|
||||
#: client/wivrn_client.cpp:147
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "PIN incorreto"
|
||||
|
||||
#: client/wivrn_client.cpp:151
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "Incapaz de verificar PIN"
|
||||
|
||||
#: client/wivrn_client.cpp:180
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Pareamento está desabilitado no servidor"
|
||||
|
||||
@@ -8,9 +8,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-11 16:16+0800\n"
|
||||
"POT-Creation-Date: 2025-06-22 20:32+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -91,7 +91,7 @@ msgstr "未安裝 ADB"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developper mode is enabled."
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr "連接頭戴式裝置並確認已啟用開發人員模式"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
@@ -101,8 +101,8 @@ msgid ""
|
||||
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||
"client."
|
||||
msgstr ""
|
||||
"請按照 <a href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/building."
|
||||
"md#client-headset\">文件</a>中的說明建置您自己的用戶端。"
|
||||
"請按照 <a href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/"
|
||||
"building.md#client-headset\">文件</a>中的說明建置您自己的用戶端。"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
|
||||
@@ -176,7 +176,7 @@ msgstr "重新命名"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:312 dashboard/qml/WizardPage.qml:396
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
@@ -294,7 +294,7 @@ msgstr "配對中"
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:359
|
||||
#: dashboard/qml/Main.qml:238 dashboard/qml/WizardPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "透過 USB 連線"
|
||||
@@ -317,7 +317,7 @@ msgstr "應用程式"
|
||||
|
||||
#: dashboard/qml/Main.qml:295
|
||||
#, kde-format
|
||||
msgid "Steam informations"
|
||||
msgid "Steam information"
|
||||
msgstr "Steam 資訊"
|
||||
|
||||
#: dashboard/qml/Main.qml:313
|
||||
@@ -523,54 +523,72 @@ msgstr "H.265"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:323
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "進階選項"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "啟用偵錯視窗"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "啟用 SteamVR 追蹤裝置支援"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
"Requires SteamVR to be installed.\n"
|
||||
"Devices must be be powered on before connecting to WiVRn.\n"
|
||||
"An external tool such as motoc is needed for calibration."
|
||||
msgstr ""
|
||||
"允許使用 Lighthouse 基地台追蹤的控制器和追蹤器。\n"
|
||||
"需要安裝 SteamVR。\n"
|
||||
"裝置必須在連線到 WiVRn 之前開啟電源。\n"
|
||||
"校準需要額外工具,例如 motoc。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "自訂 adb 位置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:334
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "adb 位置:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "瀏覽"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:353
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "預設"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:360
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:365
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:372
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "自訂"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:377
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR 相容性函式庫:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:411
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "函式庫路徑,不包含 bin/linux64/vrclient.so"
|
||||
@@ -605,7 +623,7 @@ msgstr "已複製 Steam 啟動命令"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "我在我的頭顯上找不到 WiVRn 應用程式。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -619,7 +637,7 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "我在 WiVRn 應用程式中看不到我的電腦。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:378
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
@@ -672,7 +690,7 @@ msgstr "目前已停用配對"
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "我的頭戴式裝置沒有聲音"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:426
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -695,9 +713,9 @@ msgid "Getting started"
|
||||
msgstr "入門指南"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:302
|
||||
#: dashboard/qml/WizardPage.qml:386 dashboard/qml/WizardPage.qml:433
|
||||
#: dashboard/qml/WizardPage.qml:470
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "返回"
|
||||
@@ -715,15 +733,15 @@ msgid ""
|
||||
msgstr "此精靈將幫助您在頭戴式裝置上設定 WiVRn,並將其連接到您的電腦。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:307 dashboard/qml/WizardPage.qml:438
|
||||
#: dashboard/qml/WizardPage.qml:475
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "下一步"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developper mode"
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "如何啟用開發者模式"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
@@ -790,7 +808,7 @@ msgstr "未安裝 ADB"
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developper mode</a></li></ul></p>"
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>未偵測到頭戴式裝置。請確認:\n"
|
||||
"<ul><li>已安裝 ADB udev 規則</li><li>頭戴式裝置處於 <a href=\"#\">開發者模式"
|
||||
@@ -808,12 +826,24 @@ msgid ""
|
||||
"your headset."
|
||||
msgstr "當您連接頭戴式裝置時,您選擇的應用程式將會自動啟動。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:344
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "重要訊息"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr "WiVRn完全取代了SteamVR,在WiVRn運行時,請勿啟動SteamVR"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "在您的頭戴式裝置上啟動 WiVRn 應用程式"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:349
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -822,44 +852,54 @@ msgstr ""
|
||||
"要通過 WiFi 連線,請在您的頭戴式裝置上啟動 WiVRn 應用程式,連線至 \"%1\" 並輸"
|
||||
"入 PIN 碼 \"%2\"。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:356
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "要透過 USB 連線,請點擊 \"透過 USB 連線\"。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:369
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "疑難排解"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:391
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "跳過"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:411
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "連線已建立"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:416
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "您的頭戴式裝置現在已連線。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:421 dashboard/qml/WizardPage.qml:463
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr "要連線其他頭戴式裝置,請確保在連線之前在儀表板中啟用配對。"
|
||||
msgstr "如要連接其他頭戴式裝置,請確保在連線之前在儀表板中啟用配對。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:443 dashboard/qml/WizardPage.qml:480
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "完成"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:458
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "已完成"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+134
-90
@@ -8,9 +8,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-11 16:16+0800\n"
|
||||
"POT-Creation-Date: 2025-06-22 20:32+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -44,30 +44,30 @@ msgstr "無法連線至 {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "等待連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:131
|
||||
#: client/scenes/lobby_gui.cpp:132
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "正常"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:134
|
||||
#: client/scenes/lobby_gui.cpp:135
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "畫質"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:136
|
||||
#: client/scenes/lobby_gui.cpp:137
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:197
|
||||
#: client/scenes/lobby_gui.cpp:198
|
||||
msgid "Disconnect"
|
||||
msgstr "中斷連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:203
|
||||
#: client/scenes/lobby_gui.cpp:204
|
||||
msgid "Video stream interrupted"
|
||||
msgstr "影片串流中斷"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:205
|
||||
#: client/scenes/lobby_gui.cpp:206
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
"Start a VR application on your computer"
|
||||
@@ -75,7 +75,7 @@ msgstr ""
|
||||
"連線已就緒\n"
|
||||
"請在您的電腦上啟動 VR 應用程式"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:207
|
||||
#: client/scenes/lobby_gui.cpp:208
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Connection ready\n"
|
||||
@@ -84,52 +84,52 @@ msgstr ""
|
||||
"連線已就緒\n"
|
||||
"請在 {} 上啟動 VR 應用程式"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:220
|
||||
#: client/scenes/lobby_gui.cpp:221
|
||||
msgid "Close"
|
||||
msgstr "關閉"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:226
|
||||
#: client/scenes/lobby_gui.cpp:227
|
||||
msgid "Connection"
|
||||
msgstr "連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:228
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "連線至 {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:258
|
||||
#: client/scenes/lobby_gui.cpp:259
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:280
|
||||
#: client/scenes/lobby_gui.cpp:281
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "請輸入控制面板上顯示的 PIN 碼"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:355
|
||||
#: client/scenes/lobby_gui.cpp:356
|
||||
msgid "Name"
|
||||
msgstr "名"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:366
|
||||
#: client/scenes/lobby_gui.cpp:367
|
||||
msgid "Address"
|
||||
msgstr "位址"
|
||||
msgstr "伺服器位址"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:375
|
||||
#: client/scenes/lobby_gui.cpp:376
|
||||
msgid "Port"
|
||||
msgstr "連接埠"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:383
|
||||
#: client/scenes/lobby_gui.cpp:384
|
||||
msgid "TCP only"
|
||||
msgstr "僅限 TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:390
|
||||
#: client/scenes/lobby_gui.cpp:391
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:404
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Save"
|
||||
msgstr "儲存"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:457
|
||||
#: client/scenes/lobby_gui.cpp:458
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -137,32 +137,32 @@ msgstr ""
|
||||
"在您的區域網路中啟動\n"
|
||||
"WiVRn 伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:489
|
||||
#: client/scenes/lobby_gui.cpp:490
|
||||
msgid "Autoconnect"
|
||||
msgstr "自動連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:515
|
||||
#: client/scenes/lobby_gui.cpp:516
|
||||
msgid "Connect"
|
||||
msgstr "連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:525
|
||||
#: client/scenes/lobby_gui.cpp:526 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "伺服器版本不相容"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:527
|
||||
#: client/scenes/lobby_gui.cpp:528
|
||||
msgid "Server not available"
|
||||
msgstr "無法使用伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613
|
||||
#: client/scenes/lobby_gui.cpp:614
|
||||
msgid "Refresh rate"
|
||||
msgstr "刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:613 client/scenes/lobby_gui.cpp:615
|
||||
#: client/scenes/lobby_gui.cpp:614 client/scenes/lobby_gui.cpp:616
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:622
|
||||
#: client/scenes/lobby_gui.cpp:623
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -170,92 +170,131 @@ msgstr ""
|
||||
"根據測量的應用程式效能選擇刷新率。\n"
|
||||
"變更時可能會造成閃爍。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:639
|
||||
#: client/scenes/lobby_gui.cpp:640
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:662
|
||||
#: client/scenes/lobby_gui.cpp:663
|
||||
msgid "Resolution scale"
|
||||
msgstr "解析度縮放比例"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:667 client/scenes/lobby_gui.cpp:971
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - 每眼 {}x{}"
|
||||
msgstr "%d%% - 單眼 {}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
|
||||
#: client/scenes/lobby_gui.cpp:678 client/scenes/lobby_gui.cpp:982
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "解析度高於 {}x{} 可能不被頭戴式裝置支援"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:683
|
||||
#: client/scenes/lobby_gui.cpp:684
|
||||
msgid "Enable microphone"
|
||||
msgstr "啟用麥克風"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:693
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未處理的麥克風音訊"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:699
|
||||
#: client/scenes/lobby_gui.cpp:700
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "強制停用音訊濾波器,例如降噪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
#: client/scenes/lobby_gui.cpp:707
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "啟用手部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:714 client/scenes/lobby_gui.cpp:727
|
||||
#: client/scenes/lobby_gui.cpp:740 client/scenes/lobby_gui.cpp:757
|
||||
#: client/scenes/lobby_gui.cpp:807
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "您的頭戴式裝置不支援此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:719
|
||||
#: client/scenes/lobby_gui.cpp:720
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "啟用眼球追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:732
|
||||
#: client/scenes/lobby_gui.cpp:733
|
||||
msgid "Enable face tracking"
|
||||
msgstr "啟用臉部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:744
|
||||
#: client/scenes/lobby_gui.cpp:747
|
||||
msgid "Enable body tracking"
|
||||
msgstr "啟用身體追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:764
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
|
||||
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:777
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "啟用下半身追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:783
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"使用 Generative Legs 預估下半身關節位置\n"
|
||||
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:786
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "啟用臀部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"僅在啟用下半身追蹤時生效\n"
|
||||
"在使用其他臀部追蹤時可能需要此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "在待機區啟用影像穿透 (Passthrough)"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Show performance metrics"
|
||||
msgstr "顯示效能指標"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "同時按下兩個拇指搖桿可以切換覆蓋層"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:852
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "CPU 時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:848
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU 時間 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:858 client/scenes/lobby_gui.cpp:866
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "GPU 時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:862
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU 時間 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR 後期處理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:885
|
||||
msgid "Supersampling"
|
||||
msgstr "超取樣"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -263,11 +302,11 @@ msgstr ""
|
||||
"減少高對比邊緣的閃爍。\n"
|
||||
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:854
|
||||
#: client/scenes/lobby_gui.cpp:910
|
||||
msgid "Sharpening"
|
||||
msgstr "銳利化"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -275,11 +314,11 @@ msgstr ""
|
||||
"改善高對比邊緣的清晰度並抵消模糊。\n"
|
||||
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:883
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "啟用 Snapdragon 遊戲超級解析度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
@@ -288,101 +327,109 @@ msgstr ""
|
||||
"在此頭戴式顯示器上,此設定已被上方的原生「銳利化」設定完全取代。\n"
|
||||
"僅在您了解自己在做什麼時啟用。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:893
|
||||
#: client/scenes/lobby_gui.cpp:949
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr "用戶端向上取樣和銳利化,會消耗頭戴式顯示器的效能"
|
||||
msgstr "用戶端向上取樣和銳利化,會增加頭戴式顯示器的效能負擔"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
#: client/scenes/lobby_gui.cpp:967
|
||||
msgid "Upscaling factor"
|
||||
msgstr "向上取樣係數"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
#: client/scenes/lobby_gui.cpp:986
|
||||
msgid "Use edge direction"
|
||||
msgstr "使用邊緣方向"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:936
|
||||
#: client/scenes/lobby_gui.cpp:992
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "消耗額外的效能"
|
||||
msgstr "會增加額外的效能負擔"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
msgid "Edge threshold"
|
||||
msgstr "邊緣閾值"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/lobby_gui.cpp:1013
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "推薦:{:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:1007
|
||||
msgid "Edge sharpness"
|
||||
msgstr "邊緣銳利度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1101 client/scenes/lobby_gui.cpp:1757
|
||||
msgid "Licenses"
|
||||
msgstr "授權資訊"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1384
|
||||
#: client/scenes/lobby_gui.cpp:1440
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "麥克風已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1385
|
||||
#: client/scenes/lobby_gui.cpp:1441
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "麥克風已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
#: client/scenes/lobby_gui.cpp:1450
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "手部追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
#: client/scenes/lobby_gui.cpp:1451
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "手部追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
#: client/scenes/lobby_gui.cpp:1460
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "眼球追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
#: client/scenes/lobby_gui.cpp:1461
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "眼球追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
|
||||
#: client/scenes/lobby_gui.cpp:1471 client/scenes/lobby_gui.cpp:1482
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "臉部追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
|
||||
#: client/scenes/lobby_gui.cpp:1472 client/scenes/lobby_gui.cpp:1483
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "臉部追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1444
|
||||
#: client/scenes/lobby_gui.cpp:1493
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "身體追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1494
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "身體追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1510
|
||||
msgid "Add server"
|
||||
msgstr "新增伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1673
|
||||
#: client/scenes/lobby_gui.cpp:1739
|
||||
msgid "Server list"
|
||||
msgstr "伺服器列表"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1676
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Post-processing"
|
||||
msgstr "後期處理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
msgid "Debug"
|
||||
msgstr "偵錯"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1754
|
||||
msgid "About"
|
||||
msgstr "關於"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1760
|
||||
msgid "Exit"
|
||||
msgstr "離開"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1774
|
||||
msgid ""
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -390,7 +437,7 @@ msgstr ""
|
||||
"按下 A 或 X 鍵,或將手掌向上\n"
|
||||
"即可移動主視窗"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1776
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr "按下 A 或 X 鍵即可移動主視窗"
|
||||
|
||||
@@ -456,21 +503,18 @@ msgstr "已預測"
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "估計運動到光子的延遲: {}毫秒"
|
||||
|
||||
#: client/wivrn_client.cpp:97 client/wivrn_client.cpp:196
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "逾時"
|
||||
|
||||
#: client/wivrn_client.cpp:147
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "PIN 碼錯誤"
|
||||
|
||||
#: client/wivrn_client.cpp:151
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "無法驗證 PIN 碼"
|
||||
|
||||
#: client/wivrn_client.cpp:180
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "伺服器上已停用配對"
|
||||
|
||||
#~ msgid "No preference"
|
||||
#~ msgstr "無偏好"
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
2a6932d46dad9aa957205e8a47ec2baa33041076
|
||||
2bf7f5c14b947ab3528e37551eb49753fe982dcb
|
||||
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -d ".git" ] ; then
|
||||
git config user.email > /dev/null || git config user.email "git-am@invalid"
|
||||
git config user.name > /dev/null || git config user.name "no name"
|
||||
git config --local commit.gpgsign false
|
||||
git config --worktree user.email "git-am@invalid"
|
||||
git config --worktree user.name "no name"
|
||||
git config --worktree commit.gpgsign false
|
||||
git am --abort 2> /dev/null
|
||||
git checkout .
|
||||
exec git am "$@"
|
||||
exec git am --committer-date-is-author-date "$@"
|
||||
fi
|
||||
|
||||
# There is no reliable way to apply a patch and succeed if it was
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From e18311e2b207f784cdd48ab6faf3834f912a1f8d Mon Sep 17 00:00:00 2001
|
||||
From 20aa4cc8fd841df0498a3ea34cccbe475db5b800 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 22 Oct 2024 15:23:19 +0200
|
||||
Subject: [PATCH 01/11] c/multi: early wake of compositor
|
||||
@@ -51,7 +51,7 @@ index 3351defa4..e8f0c8295 100644
|
||||
{
|
||||
int64_t predicted_display_time_ns;
|
||||
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
|
||||
index b06b03a58..249e07d7d 100644
|
||||
index a0bd04e08..9d7610d02 100644
|
||||
--- a/src/xrt/compositor/multi/comp_multi_system.c
|
||||
+++ b/src/xrt/compositor/multi/comp_multi_system.c
|
||||
@@ -23,6 +23,8 @@
|
||||
@@ -93,7 +93,7 @@ index b06b03a58..249e07d7d 100644
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -525,10 +534,13 @@ multi_main_loop(struct multi_system_compositor *msc)
|
||||
@@ -526,10 +535,13 @@ multi_main_loop(struct multi_system_compositor *msc)
|
||||
broadcast_timings_to_clients(msc, predicted_display_time_ns);
|
||||
|
||||
// Now we can wait.
|
||||
@@ -109,7 +109,7 @@ index b06b03a58..249e07d7d 100644
|
||||
|
||||
// Now we know the diff, broadcast to pacers.
|
||||
broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns);
|
||||
@@ -705,6 +717,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
|
||||
@@ -706,6 +718,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
|
||||
xrt_comp_native_destroy(&msc->xcn);
|
||||
|
||||
os_mutex_destroy(&msc->list_and_timing_lock);
|
||||
@@ -118,7 +118,7 @@ index b06b03a58..249e07d7d 100644
|
||||
|
||||
free(msc);
|
||||
}
|
||||
@@ -759,6 +773,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
|
||||
@@ -760,6 +774,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
|
||||
msc->sessions.state = do_warm_start ? MULTI_SYSTEM_STATE_INIT_WARM_START : MULTI_SYSTEM_STATE_STOPPED;
|
||||
|
||||
os_mutex_init(&msc->list_and_timing_lock);
|
||||
@@ -128,5 +128,5 @@ index b06b03a58..249e07d7d 100644
|
||||
//! @todo Make the clients not go from IDLE to READY before we have completed a first frame.
|
||||
// Make sure there is at least some sort of valid frame data here.
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 0b802694d3a46668acbb7962cb6cc9e7634fa519 Mon Sep 17 00:00:00 2001
|
||||
From 328076ce8b74e32e6e41c3a53de3e000a43720a4 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 2 Apr 2024 17:14:42 +0200
|
||||
Subject: [PATCH 02/11] ipc/server: Always listen to stdin
|
||||
@@ -21,5 +21,5 @@ index d364fbed3..ad6b473b7 100644
|
||||
// default.
|
||||
// This polls stdin.
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 7a53f4a771a8386d659ad03a025447e8193c284c Mon Sep 17 00:00:00 2001
|
||||
From e1c5cdf2de5f1ef5c9556004ffc44a75e0fadc10 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 8 Oct 2024 22:13:15 +0200
|
||||
Subject: [PATCH 03/11] Use extern socket fd
|
||||
@@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644
|
||||
// We may have been launched with socket activation
|
||||
int num_fds = sd_listen_fds(0);
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 018341025bf1ddd2a59e063e7dd972b914ebfbb5 Mon Sep 17 00:00:00 2001
|
||||
From 8aa74c49f98d57c44c7ee9ad4bfa30c91aae8e67 Mon Sep 17 00:00:00 2001
|
||||
From: galister <3123227-galister@users.noreply.gitlab.com>
|
||||
Date: Mon, 19 Aug 2024 18:51:45 +0900
|
||||
Subject: [PATCH 04/11] c/render: Add storage usage to distortion mesh
|
||||
@@ -21,5 +21,5 @@ index 8ac24db8e..5a7e400c3 100644
|
||||
&image); // out_image
|
||||
VK_CHK_AND_RET(ret, "vk_create_image_simple");
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From e7159c1bb460909c7c8fe4d54f2a1513462e24b0 Mon Sep 17 00:00:00 2001
|
||||
From 6e97c25c737f0eb2fda9683caf9d38be66ea5aa9 Mon Sep 17 00:00:00 2001
|
||||
From: galister <85970-galister@users.noreply.gitlab.freedesktop.org>
|
||||
Date: Sat, 23 Nov 2024 02:42:12 +0900
|
||||
Subject: [PATCH 05/11] change environment blend mode selection logic
|
||||
@@ -8,7 +8,7 @@ Subject: [PATCH 05/11] change environment blend mode selection logic
|
||||
1 file changed, 17 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
|
||||
index 249e07d7d..12c8fc455 100644
|
||||
index 9d7610d02..f3131e810 100644
|
||||
--- a/src/xrt/compositor/multi/comp_multi_system.c
|
||||
+++ b/src/xrt/compositor/multi/comp_multi_system.c
|
||||
@@ -232,23 +232,31 @@ find_active_blend_mode(struct multi_compositor **overlay_sorted_clients, size_t
|
||||
@@ -53,5 +53,5 @@ index 249e07d7d..12c8fc455 100644
|
||||
}
|
||||
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
|
||||
+106
-121
@@ -1,7 +1,7 @@
|
||||
From 30eb60e3716c0bb0df118f4b36eb1820c567ee5b Mon Sep 17 00:00:00 2001
|
||||
From a8d3eae0afd8b61aacc18824982c5b6066b5e4d6 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Wed, 11 Sep 2024 22:56:29 +0200
|
||||
Subject: [PATCH 07/11] Convert to YCbCr in Monado
|
||||
Subject: [PATCH 06/11] Convert to YCbCr in Monado
|
||||
|
||||
---
|
||||
src/xrt/compositor/main/comp_renderer.c | 6 +-
|
||||
@@ -9,16 +9,16 @@ Subject: [PATCH 07/11] Convert to YCbCr in Monado
|
||||
src/xrt/compositor/render/render_compute.c | 104 +++++++++++++------
|
||||
src/xrt/compositor/render/render_interface.h | 15 ++-
|
||||
src/xrt/compositor/render/render_resources.c | 35 +++++--
|
||||
src/xrt/compositor/shaders/distortion.comp | 55 +++++++---
|
||||
src/xrt/compositor/shaders/distortion.comp | 62 +++++++----
|
||||
src/xrt/compositor/util/comp_render.h | 12 ++-
|
||||
src/xrt/compositor/util/comp_render_cs.c | 41 +++++---
|
||||
8 files changed, 186 insertions(+), 85 deletions(-)
|
||||
src/xrt/compositor/util/comp_render_cs.c | 19 ++--
|
||||
8 files changed, 175 insertions(+), 81 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c
|
||||
index 89982e654..55aaed69e 100644
|
||||
index 06d1cb72a..80678b9f1 100644
|
||||
--- a/src/xrt/compositor/main/comp_renderer.c
|
||||
+++ b/src/xrt/compositor/main/comp_renderer.c
|
||||
@@ -1009,7 +1009,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
@@ -1022,7 +1022,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
|
||||
// Target Vulkan resources..
|
||||
VkImage target_image = r->c->target->images[r->acquired_buffer].handle;
|
||||
@@ -28,7 +28,7 @@ index 89982e654..55aaed69e 100644
|
||||
|
||||
// Target view information.
|
||||
struct render_viewport_data views[XRT_MAX_VIEWS];
|
||||
@@ -1020,7 +1021,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
@@ -1033,7 +1034,8 @@ dispatch_compute(struct comp_renderer *r,
|
||||
comp_render_cs_initial_init( //
|
||||
&data, // data
|
||||
target_image, // target_image
|
||||
@@ -39,10 +39,10 @@ index 89982e654..55aaed69e 100644
|
||||
do_timewarp); // do_timewarp
|
||||
|
||||
diff --git a/src/xrt/compositor/main/comp_target.h b/src/xrt/compositor/main/comp_target.h
|
||||
index 876ff8cd9..924b4ea08 100644
|
||||
index 143d41639..98301d596 100644
|
||||
--- a/src/xrt/compositor/main/comp_target.h
|
||||
+++ b/src/xrt/compositor/main/comp_target.h
|
||||
@@ -61,7 +61,8 @@ enum comp_target_display_timing_usage
|
||||
@@ -62,7 +62,8 @@ enum comp_target_display_timing_usage
|
||||
struct comp_target_image
|
||||
{
|
||||
VkImage handle;
|
||||
@@ -53,7 +53,7 @@ index 876ff8cd9..924b4ea08 100644
|
||||
|
||||
/*!
|
||||
diff --git a/src/xrt/compositor/render/render_compute.c b/src/xrt/compositor/render/render_compute.c
|
||||
index 131b97066..a9552cf2c 100644
|
||||
index 27b1953cf..fd04801d4 100644
|
||||
--- a/src/xrt/compositor/render/render_compute.c
|
||||
+++ b/src/xrt/compositor/render/render_compute.c
|
||||
@@ -66,8 +66,8 @@ calc_dispatch_dims_views(const struct render_viewport_data views[XRT_MAX_VIEWS],
|
||||
@@ -199,7 +199,7 @@ index 131b97066..a9552cf2c 100644
|
||||
};
|
||||
|
||||
vk->vkUpdateDescriptorSets( //
|
||||
@@ -409,7 +439,8 @@ render_compute_layers(struct render_compute *render,
|
||||
@@ -395,7 +425,8 @@ render_compute_layers(struct render_compute *render,
|
||||
VkSampler src_samplers[RENDER_MAX_IMAGES_SIZE],
|
||||
VkImageView src_image_views[RENDER_MAX_IMAGES_SIZE],
|
||||
uint32_t num_srcs,
|
||||
@@ -209,7 +209,7 @@ index 131b97066..a9552cf2c 100644
|
||||
const struct render_viewport_data *view,
|
||||
bool do_timewarp)
|
||||
{
|
||||
@@ -429,8 +460,10 @@ render_compute_layers(struct render_compute *render,
|
||||
@@ -415,8 +446,10 @@ render_compute_layers(struct render_compute *render,
|
||||
src_samplers, //
|
||||
src_image_views, //
|
||||
num_srcs, //
|
||||
@@ -222,7 +222,7 @@ index 131b97066..a9552cf2c 100644
|
||||
r->compute.ubo_binding, //
|
||||
ubo, //
|
||||
VK_WHOLE_SIZE, //
|
||||
@@ -473,7 +506,8 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
@@ -459,7 +492,8 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
const struct xrt_fov src_fovs[XRT_MAX_VIEWS],
|
||||
const struct xrt_pose new_poses[XRT_MAX_VIEWS],
|
||||
VkImage target_image,
|
||||
@@ -232,7 +232,7 @@ index 131b97066..a9552cf2c 100644
|
||||
const struct render_viewport_data views[XRT_MAX_VIEWS])
|
||||
{
|
||||
assert(render->r != NULL);
|
||||
@@ -542,8 +576,10 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
@@ -528,8 +562,10 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
r->compute.distortion_binding, //
|
||||
distortion_samplers, //
|
||||
r->distortion.image_views, //
|
||||
@@ -245,7 +245,7 @@ index 131b97066..a9552cf2c 100644
|
||||
r->compute.ubo_binding, //
|
||||
r->compute.distortion.ubo.buffer, //
|
||||
VK_WHOLE_SIZE, //
|
||||
@@ -581,7 +617,7 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
@@ -567,7 +603,7 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT,
|
||||
.dstAccessMask = VK_ACCESS_MEMORY_READ_BIT,
|
||||
.oldLayout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
@@ -254,7 +254,7 @@ index 131b97066..a9552cf2c 100644
|
||||
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.image = target_image,
|
||||
@@ -607,7 +643,8 @@ render_compute_projection(struct render_compute *render,
|
||||
@@ -593,7 +629,8 @@ render_compute_projection(struct render_compute *render,
|
||||
VkImageView src_image_views[XRT_MAX_VIEWS],
|
||||
const struct xrt_normalized_rect src_norm_rects[XRT_MAX_VIEWS],
|
||||
VkImage target_image,
|
||||
@@ -264,7 +264,7 @@ index 131b97066..a9552cf2c 100644
|
||||
const struct render_viewport_data views[XRT_MAX_VIEWS])
|
||||
{
|
||||
assert(render->r != NULL);
|
||||
@@ -666,8 +703,10 @@ render_compute_projection(struct render_compute *render,
|
||||
@@ -652,8 +689,10 @@ render_compute_projection(struct render_compute *render,
|
||||
r->compute.distortion_binding, //
|
||||
distortion_samplers, //
|
||||
r->distortion.image_views, //
|
||||
@@ -277,7 +277,7 @@ index 131b97066..a9552cf2c 100644
|
||||
r->compute.ubo_binding, //
|
||||
r->compute.distortion.ubo.buffer, //
|
||||
VK_WHOLE_SIZE, //
|
||||
@@ -705,7 +744,7 @@ render_compute_projection(struct render_compute *render,
|
||||
@@ -691,7 +730,7 @@ render_compute_projection(struct render_compute *render,
|
||||
.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT,
|
||||
.dstAccessMask = VK_ACCESS_MEMORY_READ_BIT,
|
||||
.oldLayout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
@@ -286,7 +286,7 @@ index 131b97066..a9552cf2c 100644
|
||||
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.image = target_image,
|
||||
@@ -728,7 +767,8 @@ render_compute_projection(struct render_compute *render,
|
||||
@@ -714,7 +753,8 @@ render_compute_projection(struct render_compute *render,
|
||||
void
|
||||
render_compute_clear(struct render_compute *render,
|
||||
VkImage target_image,
|
||||
@@ -296,7 +296,7 @@ index 131b97066..a9552cf2c 100644
|
||||
const struct render_viewport_data views[XRT_MAX_VIEWS])
|
||||
{
|
||||
assert(render->r != NULL);
|
||||
@@ -795,8 +835,10 @@ render_compute_clear(struct render_compute *render,
|
||||
@@ -781,8 +821,10 @@ render_compute_clear(struct render_compute *render,
|
||||
r->compute.distortion_binding, //
|
||||
distortion_samplers, //
|
||||
r->distortion.image_views, //
|
||||
@@ -309,7 +309,7 @@ index 131b97066..a9552cf2c 100644
|
||||
r->compute.ubo_binding, //
|
||||
r->compute.clear.ubo.buffer, //
|
||||
VK_WHOLE_SIZE, // ubo_size
|
||||
@@ -834,7 +876,7 @@ render_compute_clear(struct render_compute *render,
|
||||
@@ -820,7 +862,7 @@ render_compute_clear(struct render_compute *render,
|
||||
.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT,
|
||||
.dstAccessMask = VK_ACCESS_MEMORY_READ_BIT,
|
||||
.oldLayout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
@@ -319,10 +319,10 @@ index 131b97066..a9552cf2c 100644
|
||||
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.image = target_image,
|
||||
diff --git a/src/xrt/compositor/render/render_interface.h b/src/xrt/compositor/render/render_interface.h
|
||||
index aab965e0c..b0e568401 100644
|
||||
index d5d2bc4cb..2f8ce5287 100644
|
||||
--- a/src/xrt/compositor/render/render_interface.h
|
||||
+++ b/src/xrt/compositor/render/render_interface.h
|
||||
@@ -488,7 +488,8 @@ struct render_resources
|
||||
@@ -481,7 +481,8 @@ struct render_resources
|
||||
uint32_t distortion_binding;
|
||||
|
||||
//! Writing the image out too.
|
||||
@@ -332,7 +332,7 @@ index aab965e0c..b0e568401 100644
|
||||
|
||||
//! Uniform data binding.
|
||||
uint32_t ubo_binding;
|
||||
@@ -1374,7 +1375,8 @@ render_compute_layers(struct render_compute *render,
|
||||
@@ -1350,7 +1351,8 @@ render_compute_layers(struct render_compute *render,
|
||||
VkSampler src_samplers[RENDER_MAX_IMAGES_SIZE],
|
||||
VkImageView src_image_views[RENDER_MAX_IMAGES_SIZE],
|
||||
uint32_t num_srcs,
|
||||
@@ -342,7 +342,7 @@ index aab965e0c..b0e568401 100644
|
||||
const struct render_viewport_data *view,
|
||||
bool timewarp);
|
||||
|
||||
@@ -1390,7 +1392,8 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
@@ -1366,7 +1368,8 @@ render_compute_projection_timewarp(struct render_compute *render,
|
||||
const struct xrt_fov src_fovs[XRT_MAX_VIEWS],
|
||||
const struct xrt_pose new_poses[XRT_MAX_VIEWS],
|
||||
VkImage target_image,
|
||||
@@ -352,7 +352,7 @@ index aab965e0c..b0e568401 100644
|
||||
const struct render_viewport_data views[XRT_MAX_VIEWS]);
|
||||
|
||||
/*!
|
||||
@@ -1402,7 +1405,8 @@ render_compute_projection(struct render_compute *render,
|
||||
@@ -1378,7 +1381,8 @@ render_compute_projection(struct render_compute *render,
|
||||
VkImageView src_image_views[XRT_MAX_VIEWS],
|
||||
const struct xrt_normalized_rect src_rects[XRT_MAX_VIEWS],
|
||||
VkImage target_image,
|
||||
@@ -362,7 +362,7 @@ index aab965e0c..b0e568401 100644
|
||||
const struct render_viewport_data views[XRT_MAX_VIEWS]);
|
||||
|
||||
/*!
|
||||
@@ -1411,7 +1415,8 @@ render_compute_projection(struct render_compute *render,
|
||||
@@ -1387,7 +1391,8 @@ render_compute_projection(struct render_compute *render,
|
||||
void
|
||||
render_compute_clear(struct render_compute *render,
|
||||
VkImage target_image,
|
||||
@@ -373,7 +373,7 @@ index aab965e0c..b0e568401 100644
|
||||
|
||||
|
||||
diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c
|
||||
index b9b8d4a22..cd9d82072 100644
|
||||
index ccc6f10cf..5b9addd59 100644
|
||||
--- a/src/xrt/compositor/render/render_resources.c
|
||||
+++ b/src/xrt/compositor/render/render_resources.c
|
||||
@@ -184,14 +184,15 @@ init_mesh_ubo_buffers(struct vk_bundle *vk, struct render_buffer ubo[XRT_MAX_VIE
|
||||
@@ -455,7 +455,7 @@ index b9b8d4a22..cd9d82072 100644
|
||||
};
|
||||
|
||||
VkDescriptorSetLayoutCreateInfo set_layout_info = {
|
||||
@@ -601,8 +615,9 @@ render_resources_init(struct render_resources *r,
|
||||
@@ -539,8 +553,9 @@ render_resources_init(struct render_resources *r,
|
||||
}
|
||||
r->compute.src_binding = 0;
|
||||
r->compute.distortion_binding = 1;
|
||||
@@ -466,7 +466,7 @@ index b9b8d4a22..cd9d82072 100644
|
||||
|
||||
r->compute.layer.image_array_size =
|
||||
MIN(vk->features.max_per_stage_descriptor_sampled_images, RENDER_MAX_IMAGES_COUNT(r));
|
||||
@@ -919,7 +934,8 @@ render_resources_init(struct render_resources *r,
|
||||
@@ -856,7 +871,8 @@ render_resources_init(struct render_resources *r,
|
||||
ret = create_compute_layer_descriptor_set_layout( //
|
||||
vk, // vk_bundle
|
||||
r->compute.src_binding, // src_binding,
|
||||
@@ -476,7 +476,7 @@ index b9b8d4a22..cd9d82072 100644
|
||||
r->compute.ubo_binding, // ubo_binding,
|
||||
r->compute.layer.image_array_size, // source_images_count,
|
||||
&r->compute.layer.descriptor_set_layout); // out_descriptor_set_layout
|
||||
@@ -1000,7 +1016,8 @@ render_resources_init(struct render_resources *r,
|
||||
@@ -937,7 +953,8 @@ render_resources_init(struct render_resources *r,
|
||||
vk, // vk_bundle
|
||||
r->compute.src_binding, // src_binding,
|
||||
r->compute.distortion_binding, // distortion_binding,
|
||||
@@ -487,7 +487,7 @@ index b9b8d4a22..cd9d82072 100644
|
||||
&r->compute.distortion.descriptor_set_layout); // out_descriptor_set_layout
|
||||
VK_CHK_WITH_RET(ret, "create_compute_distortion_descriptor_set_layout", false);
|
||||
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
|
||||
index 9a09c03db..461aeb4ec 100644
|
||||
index 08b44d4cf..e1dd1cb58 100644
|
||||
--- a/src/xrt/compositor/shaders/distortion.comp
|
||||
+++ b/src/xrt/compositor/shaders/distortion.comp
|
||||
@@ -18,7 +18,7 @@ layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
|
||||
@@ -520,7 +520,7 @@ index 9a09c03db..461aeb4ec 100644
|
||||
|
||||
vec2 position_to_uv(ivec2 extent, uint ix, uint iy)
|
||||
{
|
||||
@@ -124,30 +137,40 @@ mat3x2 source_coord(ivec3 xyv, ivec2 extent)
|
||||
@@ -104,37 +117,40 @@ vec2 transform_uv(vec2 uv, uint iz)
|
||||
|
||||
void main()
|
||||
{
|
||||
@@ -545,18 +545,25 @@ index 9a09c03db..461aeb4ec 100644
|
||||
+ vec2 uv = texture(distortion[iz + 0], dist_uv).xy;
|
||||
+ vec2 lod = texture(distortion[iz + 2], dist_uv).xy;
|
||||
|
||||
- vec2 uv = texture(distortion[iz + 0], dist_uv).xy;
|
||||
- vec2 lod = texture(distortion[iz + 2], dist_uv).xy;
|
||||
- vec2 r_uv = texture(distortion[iz + 0], dist_uv).xy;
|
||||
- vec2 g_uv = texture(distortion[iz + 2], dist_uv).xy;
|
||||
- vec2 b_uv = texture(distortion[iz + 4], dist_uv).xy;
|
||||
+ // Do any transformation needed.
|
||||
+ uv = transform_uv(uv, iz);
|
||||
|
||||
- // Do any transformation needed.
|
||||
- uv = transform_uv(uv, iz);
|
||||
- r_uv = transform_uv(r_uv, iz);
|
||||
- g_uv = transform_uv(g_uv, iz);
|
||||
- b_uv = transform_uv(b_uv, iz);
|
||||
+ // Sample the source
|
||||
+ vec3 colour = textureLod(source[iz], uv, mix(lod.x, lod.y, 0.5)).rgb;
|
||||
|
||||
- // Sample the source
|
||||
- vec4 colour = textureLod(source[iz], uv, mix(lod.x, lod.y, 0.5));
|
||||
- // Sample the source with distorted and chromatic-aberration corrected samples.
|
||||
- vec4 colour = vec4(
|
||||
- texture(source[iz], r_uv).r,
|
||||
- texture(source[iz], g_uv).g,
|
||||
- texture(source[iz], b_uv).b,
|
||||
- 1);
|
||||
+ colour = rgb_to_ycbcr(from_linear_to_srgb(colour));
|
||||
|
||||
- // Do colour correction here since there are no automatic conversion in hardware available.
|
||||
@@ -577,40 +584,40 @@ index 9a09c03db..461aeb4ec 100644
|
||||
+ imageStore(chroma, ivec2(offset.xy/2 + gl_GlobalInvocationID.xy), vec4(cbcr.x, cbcr.y, 0, 0));
|
||||
}
|
||||
diff --git a/src/xrt/compositor/util/comp_render.h b/src/xrt/compositor/util/comp_render.h
|
||||
index e6fd072be..d0733b650 100644
|
||||
index 0afe87393..550c014a0 100644
|
||||
--- a/src/xrt/compositor/util/comp_render.h
|
||||
+++ b/src/xrt/compositor/util/comp_render.h
|
||||
@@ -166,7 +166,8 @@ struct comp_render_dispatch_data
|
||||
VkImage target_image;
|
||||
@@ -189,7 +189,8 @@ struct comp_render_dispatch_data
|
||||
VkImage image;
|
||||
|
||||
//! Target image view for distortion.
|
||||
- VkImageView target_unorm_view;
|
||||
+ VkImageView target_unorm_view_y;
|
||||
+ VkImageView target_unorm_view_cbcr;
|
||||
} cs;
|
||||
//! Target image view for distortion.
|
||||
- VkImageView storage_view;
|
||||
+ VkImageView storage_view_y;
|
||||
+ VkImageView storage_view_cbcr;
|
||||
} cs;
|
||||
} target;
|
||||
};
|
||||
|
||||
@@ -432,7 +433,8 @@ comp_render_gfx_dispatch(struct render_gfx *render,
|
||||
@@ -465,7 +466,8 @@ comp_render_gfx_dispatch(struct render_gfx *render,
|
||||
static inline void
|
||||
comp_render_cs_initial_init(struct comp_render_dispatch_data *data,
|
||||
VkImage target_image,
|
||||
- VkImageView target_unorm_view,
|
||||
+ VkImageView target_unorm_view_y,
|
||||
+ VkImageView target_unorm_view_cbcr,
|
||||
- VkImageView target_storage_view,
|
||||
+ VkImageView target_storage_view_y,
|
||||
+ VkImageView target_storage_view_cbcr,
|
||||
bool fast_path,
|
||||
bool do_timewarp)
|
||||
{
|
||||
@@ -442,7 +444,8 @@ comp_render_cs_initial_init(struct comp_render_dispatch_data *data,
|
||||
data->do_timewarp = do_timewarp;
|
||||
@@ -476,7 +478,8 @@ comp_render_cs_initial_init(struct comp_render_dispatch_data *data,
|
||||
|
||||
data->cs.target_image = target_image;
|
||||
- data->cs.target_unorm_view = target_unorm_view;
|
||||
+ data->cs.target_unorm_view_y = target_unorm_view_y;
|
||||
+ data->cs.target_unorm_view_cbcr = target_unorm_view_cbcr;
|
||||
// When writing into the target.
|
||||
data->target.cs.image = target_image;
|
||||
- data->target.cs.storage_view = target_storage_view;
|
||||
+ data->target.cs.storage_view_y = target_storage_view_y;
|
||||
+ data->target.cs.storage_view_cbcr = target_storage_view_cbcr;
|
||||
}
|
||||
|
||||
/*!
|
||||
@@ -534,7 +537,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
@@ -565,7 +568,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
const struct xrt_pose *world_pose,
|
||||
const struct xrt_pose *eye_pose,
|
||||
const VkImage target_image,
|
||||
@@ -621,72 +628,50 @@ index e6fd072be..d0733b650 100644
|
||||
bool do_timewarp);
|
||||
|
||||
diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c
|
||||
index fc11a0521..3db6c8d2e 100644
|
||||
index d9d9ea8a4..29c645bff 100644
|
||||
--- a/src/xrt/compositor/util/comp_render_cs.c
|
||||
+++ b/src/xrt/compositor/util/comp_render_cs.c
|
||||
@@ -430,11 +430,12 @@ crc_clear_output(struct render_compute *render, const struct comp_render_dispatc
|
||||
}
|
||||
|
||||
|
||||
- render_compute_clear( //
|
||||
- render, //
|
||||
- d->cs.target_image, //
|
||||
- d->cs.target_unorm_view, // target_image_view
|
||||
- target_viewport_datas); // views
|
||||
+ render_compute_clear( //
|
||||
+ render, //
|
||||
+ d->cs.target_image, //
|
||||
+ d->cs.target_unorm_view_y, // target_image_view_y
|
||||
+ d->cs.target_unorm_view_cbcr, // target_image_view_cbcr
|
||||
+ target_viewport_datas); // views
|
||||
@@ -347,7 +347,8 @@ crc_clear_output(struct render_compute *render, const struct comp_render_dispatc
|
||||
render_compute_clear( //
|
||||
render, //
|
||||
d->target.cs.image, //
|
||||
- d->target.cs.storage_view, // target_image_view
|
||||
+ d->target.cs.storage_view_y, // target_image_view_y
|
||||
+ d->target.cs.storage_view_cbcr, // target_image_view_cbcr
|
||||
target_viewport_datas); // views
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -480,14 +481,15 @@ crc_distortion_after_squash(struct render_compute *render, const struct comp_ren
|
||||
target_viewport_datas[i] = viewport_data;
|
||||
}
|
||||
|
||||
- render_compute_projection( //
|
||||
- render, //
|
||||
- src_samplers, //
|
||||
- src_image_views, //
|
||||
- src_norm_rects, //
|
||||
- d->cs.target_image, //
|
||||
- d->cs.target_unorm_view, // target_image_view
|
||||
- target_viewport_datas); // views
|
||||
+ render_compute_projection( //
|
||||
+ render, //
|
||||
+ src_samplers, //
|
||||
+ src_image_views, //
|
||||
+ src_norm_rects, //
|
||||
+ d->cs.target_image, //
|
||||
+ d->cs.target_unorm_view_y, // target_image_view_y
|
||||
+ d->cs.target_unorm_view_cbcr, // target_image_view_cbcr
|
||||
+ target_viewport_datas); // views
|
||||
@@ -398,7 +399,8 @@ crc_distortion_after_squash(struct render_compute *render, const struct comp_ren
|
||||
src_image_views, //
|
||||
src_norm_rects, //
|
||||
d->target.cs.image, //
|
||||
- d->target.cs.storage_view, // target_image_view
|
||||
+ d->target.cs.storage_view_y, // target_image_view_y
|
||||
+ d->target.cs.storage_view_cbcr, // target_image_view_cbcr
|
||||
target_viewport_datas); // views
|
||||
}
|
||||
|
||||
/// Fast path
|
||||
@@ -559,7 +561,8 @@ crc_distortion_fast_path(struct render_compute *render,
|
||||
src_image_views, //
|
||||
src_norm_rects, //
|
||||
d->cs.target_image, //
|
||||
- d->cs.target_unorm_view, //
|
||||
+ d->cs.target_unorm_view_y, //
|
||||
+ d->cs.target_unorm_view_cbcr, //
|
||||
target_viewport_datas); //
|
||||
@@ -471,7 +473,8 @@ crc_distortion_fast_path(struct render_compute *render,
|
||||
src_image_views, //
|
||||
src_norm_rects, //
|
||||
d->target.cs.image, //
|
||||
- d->target.cs.storage_view, //
|
||||
+ d->target.cs.storage_view_y, //
|
||||
+ d->target.cs.storage_view_cbcr, //
|
||||
target_viewport_datas); //
|
||||
} else {
|
||||
render_compute_projection_timewarp( //
|
||||
@@ -571,7 +574,8 @@ crc_distortion_fast_path(struct render_compute *render,
|
||||
@@ -483,7 +486,8 @@ crc_distortion_fast_path(struct render_compute *render,
|
||||
src_fovs, //
|
||||
world_poses, //
|
||||
d->cs.target_image, //
|
||||
- d->cs.target_unorm_view, //
|
||||
+ d->cs.target_unorm_view_y, //
|
||||
+ d->cs.target_unorm_view_cbcr, //
|
||||
d->target.cs.image, //
|
||||
- d->target.cs.storage_view, //
|
||||
+ d->target.cs.storage_view_y, //
|
||||
+ d->target.cs.storage_view_cbcr, //
|
||||
target_viewport_datas); //
|
||||
}
|
||||
}
|
||||
@@ -592,7 +596,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
@@ -504,7 +508,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
const struct xrt_pose *world_pose,
|
||||
const struct xrt_pose *eye_pose,
|
||||
const VkImage target_image,
|
||||
@@ -696,7 +681,7 @@ index fc11a0521..3db6c8d2e 100644
|
||||
const struct render_viewport_data *target_view,
|
||||
bool do_timewarp)
|
||||
{
|
||||
@@ -749,7 +754,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
@@ -661,7 +666,8 @@ comp_render_cs_layer(struct render_compute *render,
|
||||
src_samplers, //
|
||||
src_image_views, //
|
||||
cur_image, //
|
||||
@@ -706,14 +691,14 @@ index fc11a0521..3db6c8d2e 100644
|
||||
target_view, //
|
||||
do_timewarp); //
|
||||
}
|
||||
@@ -785,6 +791,7 @@ comp_render_cs_layers(struct render_compute *render,
|
||||
&view->eye_pose, //
|
||||
view->image, //
|
||||
view->cs.unorm_view, //
|
||||
+ view->cs.unorm_view, //
|
||||
&view->layer_viewport_data, //
|
||||
d->do_timewarp); //
|
||||
@@ -697,6 +703,7 @@ comp_render_cs_layers(struct render_compute *render,
|
||||
&view->eye_pose, //
|
||||
view->squash.image, //
|
||||
view->squash.cs.storage_view, //
|
||||
+ view->squash.cs.storage_view, //
|
||||
&view->squash.viewport_data, //
|
||||
d->do_timewarp); //
|
||||
}
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+7
-7
@@ -1,7 +1,7 @@
|
||||
From d5337b1e4811aef804057e26d67aace90adc36e8 Mon Sep 17 00:00:00 2001
|
||||
From 9d54ac2408a56556529de2f9173ffcd3d5775bd1 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Sun, 3 Nov 2024 13:40:00 +0100
|
||||
Subject: [PATCH 08/11] store alpha channel in layer 1
|
||||
Subject: [PATCH 07/11] store alpha channel in layer 1
|
||||
|
||||
---
|
||||
src/xrt/compositor/shaders/clear.comp | 4 ++--
|
||||
@@ -29,7 +29,7 @@ index 036da401a..db8e5178e 100644
|
||||
+ imageStore(target, ivec3(offset.x + ix, offset.y + iy, 0), colour);
|
||||
}
|
||||
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
|
||||
index 461aeb4ec..237221a54 100644
|
||||
index e1dd1cb58..9ce46fe6f 100644
|
||||
--- a/src/xrt/compositor/shaders/distortion.comp
|
||||
+++ b/src/xrt/compositor/shaders/distortion.comp
|
||||
@@ -18,7 +18,7 @@ layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
|
||||
@@ -50,7 +50,7 @@ index 461aeb4ec..237221a54 100644
|
||||
|
||||
const mat3 color_space = mat3(
|
||||
// clang-format off
|
||||
@@ -142,6 +142,7 @@ void main()
|
||||
@@ -122,6 +122,7 @@ void main()
|
||||
ivec2 offset = ivec2(ubo.views[iz].xy);
|
||||
ivec2 extent = ivec2(ubo.views[iz].zw);
|
||||
vec2 cbcrs[4];
|
||||
@@ -58,7 +58,7 @@ index 461aeb4ec..237221a54 100644
|
||||
for (int k = 0; k < 2; k += 1) {
|
||||
uint iy = gl_GlobalInvocationID.y * 2 + k;
|
||||
for (int j = 0; j < 2; j += 1) {
|
||||
@@ -156,15 +157,16 @@ void main()
|
||||
@@ -136,15 +137,16 @@ void main()
|
||||
uv = transform_uv(uv, iz);
|
||||
|
||||
// Sample the source
|
||||
@@ -78,7 +78,7 @@ index 461aeb4ec..237221a54 100644
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -172,5 +174,9 @@ void main()
|
||||
@@ -152,5 +154,9 @@ void main()
|
||||
return;
|
||||
}
|
||||
vec2 cbcr = mix(mix(cbcrs[0], cbcrs[1], 0.5), mix(cbcrs[2], cbcrs[3], 0.5), 0.5);
|
||||
@@ -90,5 +90,5 @@ index 461aeb4ec..237221a54 100644
|
||||
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha);
|
||||
}
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
From a7fbfaf2407a805efa31b3e1a7f0565b46a9004e Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Wed, 19 Feb 2025 10:13:36 +0100
|
||||
Subject: [PATCH 08/11] st/oxr: bind to dynamic role's profile
|
||||
|
||||
---
|
||||
src/xrt/state_trackers/oxr/oxr_binding.c | 8 +++++---
|
||||
src/xrt/state_trackers/oxr/oxr_input.c | 19 +++++++++++++------
|
||||
src/xrt/state_trackers/oxr/oxr_objects.h | 2 +-
|
||||
3 files changed, 19 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/state_trackers/oxr/oxr_binding.c b/src/xrt/state_trackers/oxr/oxr_binding.c
|
||||
index ce4c0cca1..9645a507a 100644
|
||||
--- a/src/xrt/state_trackers/oxr/oxr_binding.c
|
||||
+++ b/src/xrt/state_trackers/oxr/oxr_binding.c
|
||||
@@ -453,7 +453,7 @@ get_identifier_str_in_profile(struct oxr_logger *log,
|
||||
return str;
|
||||
}
|
||||
|
||||
-void
|
||||
+bool
|
||||
oxr_get_profile_for_device_name(struct oxr_logger *log,
|
||||
struct oxr_session *sess,
|
||||
enum xrt_device_name name,
|
||||
@@ -465,10 +465,12 @@ oxr_get_profile_for_device_name(struct oxr_logger *log,
|
||||
*/
|
||||
for (uint32_t i = 0; i < ARRAY_SIZE(profile_templates); i++) {
|
||||
if (name == profile_templates[i].name) {
|
||||
- interaction_profile_find_in_session(log, sess, profile_templates[i].path_cache, out_p);
|
||||
- return;
|
||||
+ if (interaction_profile_find_in_session(log, sess, profile_templates[i].path_cache, out_p)) {
|
||||
+ return true;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
+ return false;
|
||||
}
|
||||
|
||||
|
||||
diff --git a/src/xrt/state_trackers/oxr/oxr_input.c b/src/xrt/state_trackers/oxr/oxr_input.c
|
||||
index 3d8da24a9..7bd3e7678 100644
|
||||
--- a/src/xrt/state_trackers/oxr/oxr_input.c
|
||||
+++ b/src/xrt/state_trackers/oxr/oxr_input.c
|
||||
@@ -800,18 +800,25 @@ oxr_find_profiles_from_roles(struct oxr_logger *log,
|
||||
{
|
||||
#define FIND_PROFILE(X) \
|
||||
{ \
|
||||
- struct xrt_device *xdev = GET_XDEV_BY_ROLE(sess->sys, X); \
|
||||
- if (xdev != NULL) { \
|
||||
- oxr_find_profile_for_device(log, sess, xdev, &out_profiles->X); \
|
||||
- } else { \
|
||||
- oxr_get_profile_for_device_name(log, sess, GET_PROFILE_NAME_BY_ROLE(sess->sys, X), \
|
||||
- &out_profiles->X); \
|
||||
+ bool profile_found = false; \
|
||||
+ const enum xrt_device_name role_profile_name = GET_PROFILE_NAME_BY_ROLE(sess->sys, X); \
|
||||
+ if (role_profile_name != XRT_DEVICE_INVALID) { \
|
||||
+ profile_found = \
|
||||
+ oxr_get_profile_for_device_name(log, sess, role_profile_name, &out_profiles->X); \
|
||||
+ } \
|
||||
+ \
|
||||
+ if (!profile_found) { \
|
||||
+ struct xrt_device *xdev = GET_XDEV_BY_ROLE(sess->sys, X); \
|
||||
+ if (xdev != NULL) { \
|
||||
+ oxr_find_profile_for_device(log, sess, xdev, &out_profiles->X); \
|
||||
+ } \
|
||||
} \
|
||||
}
|
||||
OXR_FOR_EACH_VALID_SUBACTION_PATH(FIND_PROFILE)
|
||||
#undef FIND_PROFILE
|
||||
}
|
||||
|
||||
+
|
||||
/*!
|
||||
* @public @memberof oxr_action_attachment
|
||||
*/
|
||||
diff --git a/src/xrt/state_trackers/oxr/oxr_objects.h b/src/xrt/state_trackers/oxr/oxr_objects.h
|
||||
index c4d2bcbe3..f9f1ac5a8 100644
|
||||
--- a/src/xrt/state_trackers/oxr/oxr_objects.h
|
||||
+++ b/src/xrt/state_trackers/oxr/oxr_objects.h
|
||||
@@ -651,7 +651,7 @@ oxr_find_profile_for_device(struct oxr_logger *log,
|
||||
struct xrt_device *xdev,
|
||||
struct oxr_interaction_profile **out_p);
|
||||
|
||||
-void
|
||||
+bool
|
||||
oxr_get_profile_for_device_name(struct oxr_logger *log,
|
||||
struct oxr_session *sess,
|
||||
enum xrt_device_name name,
|
||||
--
|
||||
2.50.1
|
||||
|
||||
+6
-6
@@ -1,7 +1,7 @@
|
||||
From 644f84e916d40d6341de91687a3dc9b0eecd13a4 Mon Sep 17 00:00:00 2001
|
||||
From 8779248b08863b7a7dda3f9822cb9037372cbd3e Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Thu, 27 Feb 2025 22:45:36 +0100
|
||||
Subject: [PATCH 10/11] c/main: allow custom pacing app factory
|
||||
Subject: [PATCH 09/11] c/main: allow custom pacing app factory
|
||||
|
||||
---
|
||||
src/xrt/compositor/main/comp_compositor.c | 10 ++++++----
|
||||
@@ -10,10 +10,10 @@ Subject: [PATCH 10/11] c/main: allow custom pacing app factory
|
||||
3 files changed, 11 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/xrt/compositor/main/comp_compositor.c b/src/xrt/compositor/main/comp_compositor.c
|
||||
index 26c341385..36e3297f7 100644
|
||||
index eecb14c17..24d061627 100644
|
||||
--- a/src/xrt/compositor/main/comp_compositor.c
|
||||
+++ b/src/xrt/compositor/main/comp_compositor.c
|
||||
@@ -983,6 +983,7 @@ compositor_init_renderer(struct comp_compositor *c)
|
||||
@@ -984,6 +984,7 @@ compositor_init_renderer(struct comp_compositor *c)
|
||||
xrt_result_t
|
||||
comp_main_create_system_compositor(struct xrt_device *xdev,
|
||||
const struct comp_target_factory *ctf,
|
||||
@@ -21,7 +21,7 @@ index 26c341385..36e3297f7 100644
|
||||
struct xrt_system_compositor **out_xsysc)
|
||||
{
|
||||
COMP_TRACE_MARKER();
|
||||
@@ -1183,10 +1184,11 @@ comp_main_create_system_compositor(struct xrt_device *xdev,
|
||||
@@ -1184,10 +1185,11 @@ comp_main_create_system_compositor(struct xrt_device *xdev,
|
||||
}
|
||||
|
||||
// Standard app pacer.
|
||||
@@ -78,5 +78,5 @@ index 617561c37..e10ba8358 100644
|
||||
#else
|
||||
if (!use_null) {
|
||||
--
|
||||
2.49.0
|
||||
2.50.0
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
From dffeb683c92b6ab2fbbf240817e4087a134d997f Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Wed, 19 Feb 2025 10:13:36 +0100
|
||||
Subject: [PATCH 09/11] st/oxr: bind to dynamic role's profile
|
||||
|
||||
---
|
||||
src/xrt/state_trackers/oxr/oxr_binding.c | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
diff --git a/src/xrt/state_trackers/oxr/oxr_binding.c b/src/xrt/state_trackers/oxr/oxr_binding.c
|
||||
index 07378d7b3..83a7b241d 100644
|
||||
--- a/src/xrt/state_trackers/oxr/oxr_binding.c
|
||||
+++ b/src/xrt/state_trackers/oxr/oxr_binding.c
|
||||
@@ -380,6 +380,23 @@ oxr_find_profile_for_device(struct oxr_logger *log,
|
||||
return;
|
||||
}
|
||||
|
||||
+ // Have bindings for the dynamic role's profile been suggested?
|
||||
+#define FIND_PROFILE(X) \
|
||||
+ { \
|
||||
+ struct xrt_device *role_xdev = GET_XDEV_BY_ROLE(sess->sys, X); \
|
||||
+ if (role_xdev == xdev) { \
|
||||
+ enum xrt_device_name profile = GET_PROFILE_NAME_BY_ROLE(sess->sys, X); \
|
||||
+ oxr_get_profile_for_device_name(log, sess, profile, out_p); \
|
||||
+ if (*out_p != NULL) { \
|
||||
+ return; \
|
||||
+ } \
|
||||
+ } \
|
||||
+ }
|
||||
+ FIND_PROFILE(left);
|
||||
+ FIND_PROFILE(right);
|
||||
+ FIND_PROFILE(gamepad);
|
||||
+#undef FIND_PROFILE
|
||||
+
|
||||
// Have bindings for this device's interaction profile been suggested?
|
||||
oxr_get_profile_for_device_name(log, sess, xdev->name, out_p);
|
||||
if (*out_p != NULL) {
|
||||
--
|
||||
2.49.0
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user