{{ $t('troubleshooting.troubleshooting') }}
- -
+
+
@@ -12,7 +12,7 @@
@@ -62,7 +62,7 @@
-
+
@@ -172,7 +172,7 @@
- {{ virtualhidLicense.message || $t('troubleshooting.virtualhid_license_unavailable') }}
+ {{ virtualhidLicense.message || $t('troubleshooting.virtualhid_broker_unavailable') }}
{{ $t('troubleshooting.virtual_gamepad') }}
{{ $t(virtualInputDescriptionKey) }}
-{{ $t('troubleshooting.virtual_gamepad_drivers') }}
@@ -160,8 +160,8 @@
-
{{ licenseStatusText() }}
{{ $t('troubleshooting.virtualhid_license') }}
-{{ $t('troubleshooting.virtualhid_license_desc') }}
+{{ $t('troubleshooting.virtualhid_broker_license') }}
+{{ $t(platform === 'macos' ? 'troubleshooting.virtualhid_macos_license_desc' : 'troubleshooting.virtualhid_license_desc') }}
@@ -181,8 +181,8 @@
{{ virtualhidLicense.plan_name }}
@@ -555,18 +555,24 @@
},
computed: {
showVirtualhid() {
- return this.gamepadDriver !== 'vigembus';
+ return this.gamepadDriver !== 'none' && (this.platform === 'macos' || this.gamepadDriver !== 'vigembus');
},
showVigembus() {
- return this.gamepadDriver !== 'virtualhid';
+ return this.platform === 'windows' && this.gamepadDriver !== 'none' && this.gamepadDriver !== 'virtualhid';
},
showVirtualhidBenefits() {
- return !(this.virtualhid.installed && this.virtualhidLicense.licensed);
+ return this.platform === 'windows' && this.gamepadDriver !== 'none' && !(this.virtualhid.installed && this.virtualhidLicense.licensed);
},
virtualInputDescriptionKey() {
+ if (this.gamepadDriver === 'none') {
+ return 'troubleshooting.virtual_gamepad_none_desc';
+ }
+ if (this.platform === 'macos') {
+ return 'troubleshooting.virtual_gamepad_macos_desc';
+ }
if (!this.gamepadDriver) {
return 'troubleshooting.virtual_gamepad_unset_desc';
}
@@ -709,12 +715,12 @@
.then((r) => {
this.platform = r.platform;
this.gamepadDriver = r.gamepad_driver || '';
- // The Virtual HID Driver also backs relative mouse input when gamepads are disabled.
- if (this.platform === 'windows') {
+ // The Windows broker also backs relative mouse input when gamepads are disabled.
+ if (this.platform === 'windows' || this.platform === 'macos') {
this.refreshDriverInformation();
- if (this.showVirtualhid) {
- this.refreshLicenseStatus();
- }
+ }
+ if ((this.platform === 'windows' || this.platform === 'macos') && this.showVirtualhid) {
+ this.refreshLicenseStatus();
}
});
@@ -885,14 +891,14 @@
});
},
/**
- * @brief Refresh the installed driver details and latest stable Virtual HID Driver release.
+ * @brief Refresh the installed backend details and latest stable Virtual HID Broker release.
*/
refreshDriverInformation() {
this.refreshVirtualInputStatus();
this.refreshDriverReleases();
},
/**
- * @brief Refresh the latest stable release metadata for Virtual HID Driver.
+ * @brief Refresh the latest stable release metadata for Virtual HID Broker.
*/
refreshDriverReleases() {
if (this.showVirtualhid) {
@@ -1147,11 +1153,11 @@
const key = `troubleshooting.virtualhid_license_state_${this.virtualhidLicense.state}`;
return this.$t(key);
},
- licenseActivationText() {
+ licenseActivationLimitText() {
if (!this.virtualhidLicense.activation_limit) {
return this.$t('troubleshooting.virtualhid_license_not_reported');
}
- return `${this.virtualhidLicense.activation_usage} / ${this.virtualhidLicense.activation_limit}`;
+ return String(this.virtualhidLicense.activation_limit);
},
driverVersion(driver) {
if (!driver.installed) {
diff --git a/src_assets/common/assets/web/configs/tabs/Inputs.vue b/src_assets/common/assets/web/configs/tabs/Inputs.vue
index 80fc762a840..0bf664555ff 100644
--- a/src_assets/common/assets/web/configs/tabs/Inputs.vue
+++ b/src_assets/common/assets/web/configs/tabs/Inputs.vue
@@ -1,6 +1,5 @@
-
-
- {{ $t('troubleshooting.virtualhid_license_activations') }} -
- {{ licenseActivationText() }} +
- {{ $t('troubleshooting.virtualhid_license_activation_limit') }} +
- {{ licenseActivationLimitText() }}
- {{ $t('troubleshooting.virtualhid_license_active_devices') }} @@ -262,7 +262,7 @@
{{ $t('troubleshooting.virtualhid_license_machine_activated') }}
-
{{ $t('troubleshooting.virtualhid_license_machine_activated_desc') }}
+{{ $t('troubleshooting.virtualhid_broker_activated_desc') }}