Merge remote-tracking branch 'upstream/master'
This commit is contained in:
+21
-3
@@ -36,7 +36,25 @@ Kirigami.ApplicationWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onClosing: Qt.quit()
|
onClosing: (close) => {
|
||||||
|
if (WivrnServer.ownServer && WivrnServer.sessionRunning)
|
||||||
|
{
|
||||||
|
close.accepted = false;
|
||||||
|
confirm_close.open();
|
||||||
|
} else {
|
||||||
|
Qt.quit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Kirigami.PromptDialog {
|
||||||
|
id: confirm_close
|
||||||
|
title: i18n("Quit WiVRn")
|
||||||
|
subtitle: i18n("The WiVRn server is active.\nClosing the window will terminate it.")
|
||||||
|
iconName: "dialog-warning"
|
||||||
|
popupType: Controls.Popup.Native
|
||||||
|
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||||
|
onAccepted: Qt.quit()
|
||||||
|
}
|
||||||
|
|
||||||
width: 900
|
width: 900
|
||||||
height: 800
|
height: 800
|
||||||
@@ -345,14 +363,14 @@ Kirigami.ApplicationWindow {
|
|||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
Kirigami.FormData.label: i18nc("label for USB status or connect button", "USB")
|
Kirigami.FormData.label: i18nc("label for USB status or connect button", "USB")
|
||||||
visible: !Adb.adbInstalled
|
visible: !Adb.adbInstalled && !WivrnServer.headsetConnected
|
||||||
enabled: root.server_started
|
enabled: root.server_started
|
||||||
text: i18n("ADB is not installed")
|
text: i18n("ADB is not installed")
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
Kirigami.FormData.label: i18nc("label for USB status or connect button", "USB")
|
Kirigami.FormData.label: i18nc("label for USB status or connect button", "USB")
|
||||||
visible: Adb.adbInstalled && select_usb_device.connected_headset_count == 0
|
visible: Adb.adbInstalled && select_usb_device.connected_headset_count == 0 && !WivrnServer.headsetConnected
|
||||||
enabled: root.server_started
|
enabled: root.server_started
|
||||||
text: i18n("No headset is connected or your headset is not in developer mode");
|
text: i18n("No headset is connected or your headset is not in developer mode");
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|||||||
@@ -137,10 +137,12 @@ void wivrn_server::start_server()
|
|||||||
qDebug() << "Server finished before registering on dbus";
|
qDebug() << "Server finished before registering on dbus";
|
||||||
serverStatusChanged(m_serverStatus = Status::FailedToStart);
|
serverStatusChanged(m_serverStatus = Status::FailedToStart);
|
||||||
}
|
}
|
||||||
|
ownServerChanged();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
server_process->start(server_path(), QApplication::arguments().mid(1));
|
server_process->start(server_path(), QApplication::arguments().mid(1));
|
||||||
|
ownServerChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ public:
|
|||||||
|
|
||||||
// Server information
|
// Server information
|
||||||
Q_PROPERTY(Status serverStatus READ serverStatus NOTIFY serverStatusChanged)
|
Q_PROPERTY(Status serverStatus READ serverStatus NOTIFY serverStatusChanged)
|
||||||
|
Q_PROPERTY(bool ownServer READ ownServer NOTIFY ownServerChanged)
|
||||||
Q_PROPERTY(bool headsetConnected READ isHeadsetConnected NOTIFY headsetConnectedChanged)
|
Q_PROPERTY(bool headsetConnected READ isHeadsetConnected NOTIFY headsetConnectedChanged)
|
||||||
Q_PROPERTY(bool sessionRunning READ isSessionRunning NOTIFY sessionRunningChanged)
|
Q_PROPERTY(bool sessionRunning READ isSessionRunning NOTIFY sessionRunningChanged)
|
||||||
Q_PROPERTY(QString jsonConfiguration READ jsonConfiguration WRITE setJsonConfiguration NOTIFY jsonConfigurationChanged)
|
Q_PROPERTY(QString jsonConfiguration READ jsonConfiguration WRITE setJsonConfiguration NOTIFY jsonConfigurationChanged)
|
||||||
@@ -221,6 +222,11 @@ public:
|
|||||||
return m_serverStatus;
|
return m_serverStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ownServer() const
|
||||||
|
{
|
||||||
|
return server_process;
|
||||||
|
}
|
||||||
|
|
||||||
bool isHeadsetConnected() const
|
bool isHeadsetConnected() const
|
||||||
{
|
{
|
||||||
return m_headsetConnected;
|
return m_headsetConnected;
|
||||||
@@ -379,6 +385,7 @@ private:
|
|||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void serverStatusChanged(Status);
|
void serverStatusChanged(Status);
|
||||||
|
void ownServerChanged();
|
||||||
void headsetConnectedChanged(bool);
|
void headsetConnectedChanged(bool);
|
||||||
void sessionRunningChanged(bool);
|
void sessionRunningChanged(bool);
|
||||||
void jsonConfigurationChanged(QString);
|
void jsonConfigurationChanged(QString);
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-01-06 17:50+0100\n"
|
"POT-Creation-Date: 2026-02-02 10:52+0100\n"
|
||||||
"PO-Revision-Date: 2026-01-06 17:52+0100\n"
|
"PO-Revision-Date: 2026-02-02 10:53+0100\n"
|
||||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||||
"Language-Team: French <>\n"
|
"Language-Team: French <>\n"
|
||||||
"Language: French\n"
|
"Language: French\n"
|
||||||
@@ -67,33 +67,28 @@ msgstr "La commande « adb install » a échoué : code de retour %1"
|
|||||||
msgid "Installation successful"
|
msgid "Installation successful"
|
||||||
msgstr "Installation réussie"
|
msgstr "Installation réussie"
|
||||||
|
|
||||||
#: dashboard/main.cpp:28 dashboard/qml/Main.qml:12
|
#: dashboard/main.cpp:26
|
||||||
#, kde-format
|
|
||||||
msgid "WiVRn dashboard"
|
|
||||||
msgstr "Tableau de bord de WiVRn"
|
|
||||||
|
|
||||||
#: dashboard/main.cpp:32
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "@title"
|
msgctxt "@title"
|
||||||
msgid "WiVRn"
|
msgid "WiVRn"
|
||||||
msgstr "WiVRn"
|
msgstr "WiVRn"
|
||||||
|
|
||||||
#: dashboard/main.cpp:34
|
#: dashboard/main.cpp:28
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "WiVRn server"
|
msgid "WiVRn server"
|
||||||
msgstr "Serveur WiVRn"
|
msgstr "Serveur WiVRn"
|
||||||
|
|
||||||
#: dashboard/main.cpp:36
|
#: dashboard/main.cpp:30
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "(c) 2022-2026 WiVRn development team"
|
msgid "(c) 2022-2026 WiVRn development team"
|
||||||
msgstr "(c) 2022-2026 l'équipe de développement WiVRn"
|
msgstr "(c) 2022-2026 l'équipe de développement WiVRn"
|
||||||
|
|
||||||
#: dashboard/main.cpp:43
|
#: dashboard/main.cpp:40
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Monado"
|
msgid "Monado"
|
||||||
msgstr "Monado"
|
msgstr "Monado"
|
||||||
|
|
||||||
#: dashboard/main.cpp:44
|
#: dashboard/main.cpp:41
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "OpenXR runtime"
|
msgid "OpenXR runtime"
|
||||||
msgstr "Runtime OpenXR"
|
msgstr "Runtime OpenXR"
|
||||||
@@ -122,8 +117,8 @@ msgstr "Vérification de la dernière version..."
|
|||||||
msgid "No APK is available for this version"
|
msgid "No APK is available for this version"
|
||||||
msgstr "Aucun APK n'est disponible pour cette version"
|
msgstr "Aucun APK n'est disponible pour cette version"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:350
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
||||||
#: dashboard/qml/Main.qml:408 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||||
#: dashboard/qml/WizardPage.qml:337
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
@@ -165,7 +160,7 @@ msgstr "Réinstaller WiVRn"
|
|||||||
msgid "Install WiVRn"
|
msgid "Install WiVRn"
|
||||||
msgstr "Installer WiVRn"
|
msgstr "Installer WiVRn"
|
||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:413
|
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "Casques"
|
msgstr "Casques"
|
||||||
@@ -262,28 +257,47 @@ msgstr "Appairer un nouveau casque"
|
|||||||
msgid "Headset statistics"
|
msgid "Headset statistics"
|
||||||
msgstr "Statistiques"
|
msgstr "Statistiques"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:124
|
#: dashboard/qml/Main.qml:12
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn dashboard"
|
||||||
|
msgstr "Tableau de bord de WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:51
|
||||||
|
#, kde-format
|
||||||
|
msgid "Quit WiVRn"
|
||||||
|
msgstr "Quitter WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:52
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"The WiVRn server is active.\n"
|
||||||
|
"Closing the window will terminate it."
|
||||||
|
msgstr ""
|
||||||
|
"Le serveur WiVRn est actif.\n"
|
||||||
|
"Fermer la fenêtre va le quitter."
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:142
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not installed"
|
msgid "Avahi daemon is not installed"
|
||||||
msgstr "Avahi daemon n'est pas installé"
|
msgstr "Avahi daemon n'est pas installé"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:132
|
#: dashboard/qml/Main.qml:150
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not started"
|
msgid "Avahi daemon is not started"
|
||||||
msgstr "Avahi daemon n'est pas démarré"
|
msgstr "Avahi daemon n'est pas démarré"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:139 dashboard/qml/Main.qml:153
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:205
|
#: dashboard/qml/Main.qml:223
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "Corriger"
|
msgstr "Corriger"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:147
|
#: dashboard/qml/Main.qml:165
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Firewall may not allow port 9757"
|
msgid "Firewall may not allow port 9757"
|
||||||
msgstr "Le pare-feu pourrait ne pas autoriser le port 9757"
|
msgstr "Le pare-feu pourrait ne pas autoriser le port 9757"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:161
|
#: dashboard/qml/Main.qml:179
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||||
@@ -291,12 +305,12 @@ msgstr ""
|
|||||||
"Les GPUs NVIDIA nécessitent au moins le driver 565.77, la version actuelle "
|
"Les GPUs NVIDIA nécessitent au moins le driver 565.77, la version actuelle "
|
||||||
"est %1."
|
"est %1."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:167
|
#: dashboard/qml/Main.qml:185
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "More info"
|
msgid "More info"
|
||||||
msgstr "Plus d'infos"
|
msgstr "Plus d'infos"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:175
|
#: dashboard/qml/Main.qml:193
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
@@ -305,7 +319,7 @@ msgstr ""
|
|||||||
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
|
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
|
||||||
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
|
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:183
|
#: dashboard/qml/Main.qml:201
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||||
@@ -315,14 +329,14 @@ msgstr ""
|
|||||||
"pourront pas charger le mode VR.\n"
|
"pourront pas charger le mode VR.\n"
|
||||||
"Veuillez installer xrizer ou OpenComposite."
|
"Veuillez installer xrizer ou OpenComposite."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:191
|
#: dashboard/qml/Main.qml:209
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Steam est installé en tant que snap. Les snaps ne sont pas compatibles avec "
|
"Steam est installé en tant que snap. Les snaps ne sont pas compatibles avec "
|
||||||
"WiVRn."
|
"WiVRn."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:199
|
#: dashboard/qml/Main.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||||
@@ -330,114 +344,114 @@ msgstr ""
|
|||||||
"Steam est installé en tant que flatpak mais n'a pas les autorisations "
|
"Steam est installé en tant que flatpak mais n'a pas les autorisations "
|
||||||
"nécessaires."
|
"nécessaires."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:214
|
#: dashboard/qml/Main.qml:232
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Restart the server for configuration changes to take effect"
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
msgstr "Redémarez le serveur pour appliquer les changements"
|
msgstr "Redémarez le serveur pour appliquer les changements"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:220
|
#: dashboard/qml/Main.qml:238
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "restart the server"
|
msgctxt "restart the server"
|
||||||
msgid "Restart now"
|
msgid "Restart now"
|
||||||
msgstr "Redémarrer"
|
msgstr "Redémarrer"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:245
|
#: dashboard/qml/Main.qml:263
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "Le serveur n'a pas pu démarrer"
|
msgstr "Le serveur n'a pas pu démarrer"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:251 dashboard/qml/TroubleshootPage.qml:89
|
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "Ouvrir les logs du serveur"
|
msgstr "Ouvrir les logs du serveur"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:277
|
#: dashboard/qml/Main.qml:295
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server status"
|
msgid "Server status"
|
||||||
msgstr "Serveur"
|
msgstr "Serveur"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:283
|
#: dashboard/qml/Main.qml:301
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "Démarré"
|
msgstr "Démarré"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:296
|
#: dashboard/qml/Main.qml:314
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "Appairage"
|
msgstr "Appairage"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:316
|
#: dashboard/qml/Main.qml:334
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headset status"
|
msgid "Headset status"
|
||||||
msgstr "Casque"
|
msgstr "Casque"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:323
|
#: dashboard/qml/Main.qml:341
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for headset name/status under server running switch"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgid "Headset"
|
msgid "Headset"
|
||||||
msgstr "Casque"
|
msgstr "Casque"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:326
|
#: dashboard/qml/Main.qml:344
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Not connected"
|
msgid "Not connected"
|
||||||
msgstr "Déconnecté"
|
msgstr "Déconnecté"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:330
|
#: dashboard/qml/Main.qml:348
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Déconnecter"
|
msgstr "Déconnecter"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:339 dashboard/qml/Main.qml:347
|
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||||
#: dashboard/qml/Main.qml:354
|
#: dashboard/qml/Main.qml:372
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for USB status or connect button"
|
msgctxt "label for USB status or connect button"
|
||||||
msgid "USB"
|
msgid "USB"
|
||||||
msgstr "USB"
|
msgstr "USB"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:340
|
#: dashboard/qml/Main.qml:358
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "usb connect button"
|
msgctxt "usb connect button"
|
||||||
msgid "Connect (wired)"
|
msgid "Connect (wired)"
|
||||||
msgstr "Connecter (filaire)"
|
msgstr "Connecter (filaire)"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:357 dashboard/qml/WizardPage.qml:339
|
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
msgid "No headset is connected or your headset is not in developer mode"
|
||||||
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur"
|
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:378
|
#: dashboard/qml/Main.qml:396
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "Informations pour Steam"
|
msgstr "Informations pour Steam"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:394
|
#: dashboard/qml/Main.qml:412
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "Assistant"
|
msgstr "Assistant"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:400
|
#: dashboard/qml/Main.qml:418
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "Installer l'appli"
|
msgstr "Installer l'appli"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:419 dashboard/qml/SettingsPage.qml:14
|
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Paramètres"
|
msgstr "Paramètres"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:425
|
#: dashboard/qml/Main.qml:443
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "À propos"
|
msgstr "À propos"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:430 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "Dépannage"
|
msgstr "Dépannage"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:437
|
#: dashboard/qml/Main.qml:455
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Version %1"
|
msgid "Version %1"
|
||||||
msgstr "Version %1"
|
msgstr "Version %1"
|
||||||
@@ -948,12 +962,12 @@ msgstr "Finir"
|
|||||||
msgid "Finished"
|
msgid "Finished"
|
||||||
msgstr "Terminé"
|
msgstr "Terminé"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:538
|
#: dashboard/wivrn_server.cpp:540
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "xrizer"
|
msgid "xrizer"
|
||||||
msgstr "xrizer"
|
msgstr "xrizer"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:539
|
#: dashboard/wivrn_server.cpp:541
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open Composite"
|
msgid "Open Composite"
|
||||||
msgstr "Open Composite"
|
msgstr "Open Composite"
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-01-06 17:57+0100\n"
|
"POT-Creation-Date: 2026-02-02 14:05+0100\n"
|
||||||
"PO-Revision-Date: 2026-01-06 18:18+0100\n"
|
"PO-Revision-Date: 2026-02-02 15:54+0100\n"
|
||||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||||
"Language-Team: Portuguese <>\n"
|
"Language-Team: Portuguese <>\n"
|
||||||
"Language: pt_BR\n"
|
"Language: pt_BR\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
"X-Generator: Lokalize 25.12.0\n"
|
"X-Generator: Lokalize 25.12.1\n"
|
||||||
|
|
||||||
#: dashboard/apk_installer.cpp:137
|
#: dashboard/apk_installer.cpp:137
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -71,33 +71,28 @@ msgstr "O comando 'adb install' falhou: código de saída %1"
|
|||||||
msgid "Installation successful"
|
msgid "Installation successful"
|
||||||
msgstr "Instalação bem-sucedida"
|
msgstr "Instalação bem-sucedida"
|
||||||
|
|
||||||
#: dashboard/main.cpp:28 dashboard/qml/Main.qml:12
|
#: dashboard/main.cpp:26
|
||||||
#, kde-format
|
|
||||||
msgid "WiVRn dashboard"
|
|
||||||
msgstr "Painel do WiVRn"
|
|
||||||
|
|
||||||
#: dashboard/main.cpp:32
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "@title"
|
msgctxt "@title"
|
||||||
msgid "WiVRn"
|
msgid "WiVRn"
|
||||||
msgstr "WiVRn"
|
msgstr "WiVRn"
|
||||||
|
|
||||||
#: dashboard/main.cpp:34
|
#: dashboard/main.cpp:28
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "WiVRn server"
|
msgid "WiVRn server"
|
||||||
msgstr "Servidor WiVRn"
|
msgstr "Servidor WiVRn"
|
||||||
|
|
||||||
#: dashboard/main.cpp:36
|
#: dashboard/main.cpp:30
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "(c) 2022-2026 WiVRn development team"
|
msgid "(c) 2022-2026 WiVRn development team"
|
||||||
msgstr "(c) 2022-2026 time de desenvolvimento do WiVRn"
|
msgstr "(c) 2022-2026 time de desenvolvimento do WiVRn"
|
||||||
|
|
||||||
#: dashboard/main.cpp:43
|
#: dashboard/main.cpp:40
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Monado"
|
msgid "Monado"
|
||||||
msgstr "Monado"
|
msgstr "Monado"
|
||||||
|
|
||||||
#: dashboard/main.cpp:44
|
#: dashboard/main.cpp:41
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "OpenXR runtime"
|
msgid "OpenXR runtime"
|
||||||
msgstr "Runtime OpenXR"
|
msgstr "Runtime OpenXR"
|
||||||
@@ -126,8 +121,8 @@ msgstr "Verificando a última versão..."
|
|||||||
msgid "No APK is available for this version"
|
msgid "No APK is available for this version"
|
||||||
msgstr "Nenhum APK está disponível para esta versão"
|
msgstr "Nenhum APK está disponível para esta versão"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:350
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
||||||
#: dashboard/qml/Main.qml:408 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||||
#: dashboard/qml/WizardPage.qml:337
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
@@ -170,7 +165,7 @@ msgstr "Reinstalar WiVRn"
|
|||||||
msgid "Install WiVRn"
|
msgid "Install WiVRn"
|
||||||
msgstr "Instalar WiVRn"
|
msgstr "Instalar WiVRn"
|
||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:413
|
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "Headsets"
|
msgstr "Headsets"
|
||||||
@@ -266,40 +261,59 @@ msgstr "Parear um novo headset"
|
|||||||
msgid "Headset statistics"
|
msgid "Headset statistics"
|
||||||
msgstr "Estatísticas do headset"
|
msgstr "Estatísticas do headset"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:124
|
#: dashboard/qml/Main.qml:12
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn dashboard"
|
||||||
|
msgstr "Painel do WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:51
|
||||||
|
#, kde-format
|
||||||
|
msgid "Quit WiVRn"
|
||||||
|
msgstr "Sair do WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:52
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"The WiVRn server is active.\n"
|
||||||
|
"Closing the window will terminate it."
|
||||||
|
msgstr ""
|
||||||
|
"O Servidor WiVRn está ativo.\n"
|
||||||
|
"Fechar a janela o encerrará."
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:142
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not installed"
|
msgid "Avahi daemon is not installed"
|
||||||
msgstr "Avahi daemon não está instalado"
|
msgstr "Avahi daemon não está instalado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:132
|
#: dashboard/qml/Main.qml:150
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not started"
|
msgid "Avahi daemon is not started"
|
||||||
msgstr "Avahi daemon não foi iniciado"
|
msgstr "Avahi daemon não foi iniciado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:139 dashboard/qml/Main.qml:153
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:205
|
#: dashboard/qml/Main.qml:223
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "Conserte"
|
msgstr "Conserte"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:147
|
#: dashboard/qml/Main.qml:165
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Firewall may not allow port 9757"
|
msgid "Firewall may not allow port 9757"
|
||||||
msgstr "O firewall pode não permitir a porta 9757"
|
msgstr "O firewall pode não permitir a porta 9757"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:161
|
#: dashboard/qml/Main.qml:179
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:167
|
#: dashboard/qml/Main.qml:185
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "More info"
|
msgid "More info"
|
||||||
msgstr "Mais informações"
|
msgstr "Mais informações"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:175
|
#: dashboard/qml/Main.qml:193
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
@@ -308,7 +322,7 @@ msgstr ""
|
|||||||
"Use o driver Mesa (radv) para GPUs AMD\n"
|
"Use o driver Mesa (radv) para GPUs AMD\n"
|
||||||
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
|
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:183
|
#: dashboard/qml/Main.qml:201
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||||
@@ -318,127 +332,127 @@ msgstr ""
|
|||||||
"conseguirão carregar em VR.\n"
|
"conseguirão carregar em VR.\n"
|
||||||
"Instale o xrizer ou o OpenComposite."
|
"Instale o xrizer ou o OpenComposite."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:191
|
#: dashboard/qml/Main.qml:209
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||||
msgstr "A Steam está instalada como snap. Snaps não são compatíveis com WiVRn."
|
msgstr "A Steam está instalada como snap. Snaps não são compatíveis com WiVRn."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:199
|
#: dashboard/qml/Main.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||||
msgstr "A Steam está instalada como flatpak e não tem permissões suficientes."
|
msgstr "A Steam está instalada como flatpak e não tem permissões suficientes."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:214
|
#: dashboard/qml/Main.qml:232
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Restart the server for configuration changes to take effect"
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Reinicie o servidor para que as alterações de configuração tenham efeito"
|
"Reinicie o servidor para que as alterações de configuração tenham efeito"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:220
|
#: dashboard/qml/Main.qml:238
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "restart the server"
|
msgctxt "restart the server"
|
||||||
msgid "Restart now"
|
msgid "Restart now"
|
||||||
msgstr "Reiniciar agora"
|
msgstr "Reiniciar agora"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:245
|
#: dashboard/qml/Main.qml:263
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "Servidor falhou em iniciar"
|
msgstr "Servidor falhou em iniciar"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:251 dashboard/qml/TroubleshootPage.qml:89
|
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "Abrir logs do servidor"
|
msgstr "Abrir logs do servidor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:277
|
#: dashboard/qml/Main.qml:295
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server status"
|
msgid "Server status"
|
||||||
msgstr "Status do servidor"
|
msgstr "Status do servidor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:283
|
#: dashboard/qml/Main.qml:301
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "Rodando"
|
msgstr "Rodando"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:296
|
#: dashboard/qml/Main.qml:314
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "Pareando"
|
msgstr "Pareando"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:316
|
#: dashboard/qml/Main.qml:334
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headset status"
|
msgid "Headset status"
|
||||||
msgstr "Status do headset"
|
msgstr "Status do headset"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:323
|
#: dashboard/qml/Main.qml:341
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for headset name/status under server running switch"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgid "Headset"
|
msgid "Headset"
|
||||||
msgstr "Headset"
|
msgstr "Headset"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:326
|
#: dashboard/qml/Main.qml:344
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Not connected"
|
msgid "Not connected"
|
||||||
msgstr "Não conectado"
|
msgstr "Não conectado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:330
|
#: dashboard/qml/Main.qml:348
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Desconectar"
|
msgstr "Desconectar"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:339 dashboard/qml/Main.qml:347
|
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||||
#: dashboard/qml/Main.qml:354
|
#: dashboard/qml/Main.qml:372
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for USB status or connect button"
|
msgctxt "label for USB status or connect button"
|
||||||
msgid "USB"
|
msgid "USB"
|
||||||
msgstr "USB"
|
msgstr "USB"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:340
|
#: dashboard/qml/Main.qml:358
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "usb connect button"
|
msgctxt "usb connect button"
|
||||||
msgid "Connect (wired)"
|
msgid "Connect (wired)"
|
||||||
msgstr "Conectar (por cabo)"
|
msgstr "Conectar (por cabo)"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:357 dashboard/qml/WizardPage.qml:339
|
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
msgid "No headset is connected or your headset is not in developer mode"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor"
|
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:378
|
#: dashboard/qml/Main.qml:396
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "Informações da Steam"
|
msgstr "Informações da Steam"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:394
|
#: dashboard/qml/Main.qml:412
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "Assistente"
|
msgstr "Assistente"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:400
|
#: dashboard/qml/Main.qml:418
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "Instalar o aplicativo"
|
msgstr "Instalar o aplicativo"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:419 dashboard/qml/SettingsPage.qml:14
|
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Ajustes"
|
msgstr "Ajustes"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:425
|
#: dashboard/qml/Main.qml:443
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "Sobre"
|
msgstr "Sobre"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:430 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "Resolver problemas"
|
msgstr "Resolver problemas"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:437
|
#: dashboard/qml/Main.qml:455
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Version %1"
|
msgid "Version %1"
|
||||||
msgstr "Versão %1"
|
msgstr "Versão %1"
|
||||||
@@ -946,12 +960,12 @@ msgstr "Terminar"
|
|||||||
msgid "Finished"
|
msgid "Finished"
|
||||||
msgstr "Terminado"
|
msgstr "Terminado"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:538
|
#: dashboard/wivrn_server.cpp:540
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "xrizer"
|
msgid "xrizer"
|
||||||
msgstr "xrizer"
|
msgstr "xrizer"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:539
|
#: dashboard/wivrn_server.cpp:541
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open Composite"
|
msgid "Open Composite"
|
||||||
msgstr "Open Composite"
|
msgstr "Open Composite"
|
||||||
|
|||||||
+48
-48
@@ -1,7 +1,7 @@
|
|||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the WiVRn package.
|
# This file is distributed under the same license as the WiVRn package.
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2025 Claudio Sampaio (Patola)
|
# SPDX-FileCopyrightText: 2025, 2026 Claudio Sampaio (Patola)
|
||||||
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
# LuckShiba <LuckShiba@protonmail.com>, 2025.
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2025 myghi63 <myghi63@disroot.org>
|
# SPDX-FileCopyrightText: 2025 myghi63 <myghi63@disroot.org>
|
||||||
@@ -11,15 +11,15 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn\n"
|
"Project-Id-Version: WiVRn\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-29 15:56+0100\n"
|
"POT-Creation-Date: 2026-01-31 21:11+0100\n"
|
||||||
"PO-Revision-Date: 2025-12-30 02:05+0100\n"
|
"PO-Revision-Date: 2026-02-02 15:55+0100\n"
|
||||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||||
"Language-Team: Portuguese <>\n"
|
"Language-Team: Portuguese <>\n"
|
||||||
"Language: pt_BR\n"
|
"Language: pt_BR\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"X-Generator: Lokalize 25.12.0\n"
|
"X-Generator: Lokalize 25.12.1\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
#: client/scene.cpp:73
|
#: client/scene.cpp:73
|
||||||
@@ -97,13 +97,13 @@ msgid "Disabled"
|
|||||||
msgstr "Desabilitado"
|
msgstr "Desabilitado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||||
#: client/scenes/stream_gui.cpp:1015
|
#: client/scenes/stream_gui.cpp:1009
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Desconectar"
|
msgstr "Desconectar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||||
#: client/scenes/lobby_gui_customize.cpp:844
|
#: client/scenes/lobby_gui_customize.cpp:844
|
||||||
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1011
|
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1005
|
||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr "Fechar"
|
msgstr "Fechar"
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@ msgid "TCP only"
|
|||||||
msgstr "TCP somente"
|
msgstr "TCP somente"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||||
#: client/scenes/stream_gui.cpp:968
|
#: client/scenes/stream_gui.cpp:962
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Cancelar"
|
msgstr "Cancelar"
|
||||||
|
|
||||||
@@ -186,17 +186,17 @@ msgstr "Linguagem"
|
|||||||
msgid "System language"
|
msgid "System language"
|
||||||
msgstr "Linguagem do Sistema"
|
msgstr "Linguagem do Sistema"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:417
|
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
|
||||||
msgid "Refresh rate"
|
msgid "Refresh rate"
|
||||||
msgstr "Taxa de atualização"
|
msgstr "Taxa de atualização"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
||||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
|
||||||
msgctxt "automatic refresh rate"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automático"
|
msgstr "Automático"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:427
|
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"May cause flicker when a change happens."
|
||||||
@@ -204,7 +204,7 @@ msgstr ""
|
|||||||
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
||||||
"Pode causar oscilações quando uma alteração ocorrer."
|
"Pode causar oscilações quando uma alteração ocorrer."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:445
|
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
|
||||||
msgid "Minimum refresh rate"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "Taxa de atualização mínima"
|
msgstr "Taxa de atualização mínima"
|
||||||
|
|
||||||
@@ -392,15 +392,15 @@ msgstr "Valores de configuração estendidos"
|
|||||||
msgid "Allows unsafe configuration values, use at your own risk."
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
msgstr "Permite valores de configuração inseguros, use por sua conta e risco."
|
msgstr "Permite valores de configuração inseguros, use por sua conta e risco."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:479
|
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:473
|
||||||
msgid "OpenXR post-processing"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "Pós-processamento OpenXR"
|
msgstr "Pós-processamento OpenXR"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:483
|
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
|
||||||
msgid "Supersampling"
|
msgid "Supersampling"
|
||||||
msgstr "Supersampling"
|
msgstr "Supersampling"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:504
|
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
|
||||||
msgid ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"Useful when the input resolution is high compared to the headset display"
|
||||||
@@ -408,11 +408,11 @@ msgstr ""
|
|||||||
"Reduz flicker para arestas de alto contraste.\n"
|
"Reduz flicker para arestas de alto contraste.\n"
|
||||||
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:509
|
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:503
|
||||||
msgid "Sharpening"
|
msgid "Sharpening"
|
||||||
msgstr "Aumento de nitidez"
|
msgstr "Aumento de nitidez"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:530
|
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
|
||||||
msgid ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"Useful when the input resolution is low compared to the headset display"
|
||||||
@@ -421,7 +421,7 @@ msgstr ""
|
|||||||
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
|
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
|
||||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "Tempo de CPU"
|
msgstr "Tempo de CPU"
|
||||||
|
|
||||||
@@ -430,7 +430,7 @@ msgid "CPU time [ms]"
|
|||||||
msgstr "Tempo de CPU [ms]"
|
msgstr "Tempo de CPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
||||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "Tempo de GPU"
|
msgstr "Tempo de GPU"
|
||||||
|
|
||||||
@@ -518,7 +518,7 @@ msgstr "Adicionar servidor"
|
|||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "Lista de servidores"
|
msgstr "Lista de servidores"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:996
|
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Ajustes"
|
msgstr "Ajustes"
|
||||||
|
|
||||||
@@ -547,8 +547,8 @@ msgid ""
|
|||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Pressione o botão de aderência ou coloque a palma da mão para cima\n"
|
"Pressione o botão de aderência ou coloque a palma\n"
|
||||||
"para mover a janela principal"
|
"da mão para cima para mover a janela principal"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1979
|
#: client/scenes/lobby_gui.cpp:1979
|
||||||
msgid "Press the grip button to move the main window"
|
msgid "Press the grip button to move the main window"
|
||||||
@@ -637,11 +637,11 @@ msgstr "Defoveação"
|
|||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "Rede"
|
msgstr "Rede"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
|
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
|
||||||
msgid "Download"
|
msgid "Download"
|
||||||
msgstr "Download"
|
msgstr "Download"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
|
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||||
msgid "Upload"
|
msgid "Upload"
|
||||||
msgstr "Upload"
|
msgstr "Upload"
|
||||||
|
|
||||||
@@ -682,107 +682,107 @@ msgstr "Exibição"
|
|||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "Previsão"
|
msgstr "Previsão"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:344
|
#: client/scenes/stream_gui.cpp:343
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "Movimento estimado para a latência de fótons: {}ms"
|
msgstr "Movimento estimado para a latência de fótons: {}ms"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:351
|
#: client/scenes/stream_gui.cpp:348
|
||||||
msgid "Press the grip button to move the window"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "Pressione o botão de aderência para mover a janela"
|
msgstr "Pressione o botão de aderência para mover a janela"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
|
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
|
||||||
msgid "Press both thumbsticks to display the WiVRn window"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:375
|
#: client/scenes/stream_gui.cpp:372
|
||||||
msgid "Motion to photon latency"
|
msgid "Motion to photon latency"
|
||||||
msgstr "Latência (de movimento para fótons)"
|
msgstr "Latência (de movimento para fótons)"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:464
|
#: client/scenes/stream_gui.cpp:458
|
||||||
msgid "Bitrate:"
|
msgid "Bitrate:"
|
||||||
msgstr "Bitrate:"
|
msgstr "Bitrate:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:474
|
#: client/scenes/stream_gui.cpp:468
|
||||||
msgid "Click to adjust bitrate"
|
msgid "Click to adjust bitrate"
|
||||||
msgstr "Clique para ajustar a bitrate"
|
msgstr "Clique para ajustar a bitrate"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:537
|
#: client/scenes/stream_gui.cpp:531
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "Ajuste do centro de foveação"
|
msgstr "Ajuste do centro de foveação"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:540
|
#: client/scenes/stream_gui.cpp:534
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Habilitar"
|
msgstr "Habilitar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
|
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "Altura {:.1f} graus"
|
msgstr "Altura {:.1f} graus"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
|
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "Distância {:.2f} m"
|
msgstr "Distância {:.2f} m"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:550
|
#: client/scenes/stream_gui.cpp:544
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "Padrão"
|
msgstr "Padrão"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:561
|
#: client/scenes/stream_gui.cpp:555
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "Modificar"
|
msgstr "Modificar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:594
|
#: client/scenes/stream_gui.cpp:588
|
||||||
msgid "Use the right thumbstick to adjust the bitrate"
|
msgid "Use the right thumbstick to adjust the bitrate"
|
||||||
msgstr "Use o analógico direito para ajustar a bitrate"
|
msgstr "Use o analógico direito para ajustar a bitrate"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:595
|
#: client/scenes/stream_gui.cpp:589
|
||||||
msgid "Press A to go back"
|
msgid "Press A to go back"
|
||||||
msgstr "Pressione A para voltar"
|
msgstr "Pressione A para voltar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:596
|
#: client/scenes/stream_gui.cpp:590
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Bitrate: {}Mbit/s"
|
msgid "Bitrate: {}Mbit/s"
|
||||||
msgstr "Bitrate: {}Mbit/s"
|
msgstr "Bitrate: {}Mbit/s"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:618
|
#: client/scenes/stream_gui.cpp:612
|
||||||
msgid "Use the thumbsticks to move the foveation center"
|
msgid "Use the thumbsticks to move the foveation center"
|
||||||
msgstr "Use os thumbsticks para mover o centro da foveação"
|
msgstr "Use os thumbsticks para mover o centro da foveação"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:619
|
#: client/scenes/stream_gui.cpp:613
|
||||||
msgid "Press A to save or B to cancel"
|
msgid "Press A to save or B to cancel"
|
||||||
msgstr "Pressione A para salvar ou B para cancelar"
|
msgstr "Pressione A para salvar ou B para cancelar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:677
|
#: client/scenes/stream_gui.cpp:671
|
||||||
msgid "Running XR applications:"
|
msgid "Running XR applications:"
|
||||||
msgstr "Aplicativos XR rodando:"
|
msgstr "Aplicativos XR rodando:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:694
|
#: client/scenes/stream_gui.cpp:688
|
||||||
msgid "Overlays"
|
msgid "Overlays"
|
||||||
msgstr "Overlays"
|
msgstr "Overlays"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:733
|
#: client/scenes/stream_gui.cpp:727
|
||||||
msgid "Request to quit, may be ignored by the application"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
|
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:983
|
#: client/scenes/stream_gui.cpp:977
|
||||||
msgid "Applications"
|
msgid "Applications"
|
||||||
msgstr "Aplicativos"
|
msgstr "Aplicativos"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:986
|
#: client/scenes/stream_gui.cpp:980
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "Iniciar"
|
msgstr "Iniciar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:999
|
#: client/scenes/stream_gui.cpp:993
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "Estatísticas"
|
msgstr "Estatísticas"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1005
|
#: client/scenes/stream_gui.cpp:999
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "Overlay de estatísticas"
|
msgstr "Overlay de estatísticas"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1008
|
#: client/scenes/stream_gui.cpp:1002
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "Visualização compacta"
|
msgstr "Visualização compacta"
|
||||||
|
|
||||||
|
|||||||
@@ -571,6 +571,21 @@ make_binding_profiles()
|
|||||||
constexpr auto controller_per_hand_binding_profiles = std::to_array({make_binding_profiles<0>(),
|
constexpr auto controller_per_hand_binding_profiles = std::to_array({make_binding_profiles<0>(),
|
||||||
make_binding_profiles<1>()});
|
make_binding_profiles<1>()});
|
||||||
|
|
||||||
|
xrt_binding_input_pair hand_interaction_simple_input_binding[] = {
|
||||||
|
{XRT_INPUT_SIMPLE_SELECT_CLICK, XRT_INPUT_HAND_PINCH_VALUE},
|
||||||
|
{XRT_INPUT_SIMPLE_GRIP_POSE, XRT_INPUT_HAND_GRIP_POSE},
|
||||||
|
{XRT_INPUT_SIMPLE_AIM_POSE, XRT_INPUT_HAND_AIM_POSE},
|
||||||
|
};
|
||||||
|
|
||||||
|
xrt_binding_profile hand_interaction_binding_profiles[] = {
|
||||||
|
{
|
||||||
|
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
|
||||||
|
.inputs = hand_interaction_simple_input_binding,
|
||||||
|
.input_count = std::size(hand_interaction_simple_input_binding),
|
||||||
|
.outputs = nullptr,
|
||||||
|
.output_count = 0,
|
||||||
|
},
|
||||||
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
wivrn_controller::wivrn_controller(xrt_device_name name,
|
wivrn_controller::wivrn_controller(xrt_device_name name,
|
||||||
@@ -582,8 +597,8 @@ wivrn_controller::wivrn_controller(xrt_device_name name,
|
|||||||
.device_type = hand_id == 0 ? XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER : XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER,
|
.device_type = hand_id == 0 ? XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER : XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER,
|
||||||
.hmd = nullptr,
|
.hmd = nullptr,
|
||||||
.tracking_origin = hmd->tracking_origin,
|
.tracking_origin = hmd->tracking_origin,
|
||||||
.binding_profile_count = name != XRT_DEVICE_EXT_HAND_INTERACTION ? controller_per_hand_binding_profiles[hand_id].size() : 0,
|
.binding_profile_count = name != XRT_DEVICE_EXT_HAND_INTERACTION ? controller_per_hand_binding_profiles[hand_id].size() : std::size(hand_interaction_binding_profiles),
|
||||||
.binding_profiles = name != XRT_DEVICE_EXT_HAND_INTERACTION ? (struct xrt_binding_profile *)controller_per_hand_binding_profiles[hand_id].data() : nullptr,
|
.binding_profiles = name != XRT_DEVICE_EXT_HAND_INTERACTION ? (struct xrt_binding_profile *)controller_per_hand_binding_profiles[hand_id].data() : hand_interaction_binding_profiles,
|
||||||
.input_count = WIVRN_CONTROLLER_INPUT_COUNT,
|
.input_count = WIVRN_CONTROLLER_INPUT_COUNT,
|
||||||
.supported = {
|
.supported = {
|
||||||
.orientation_tracking = true,
|
.orientation_tracking = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user