updated descriptions

This commit is contained in:
Adrian 2025-01-25 14:55:01 -06:00
parent 0cd406f35e
commit 2e7493c9d1
1 changed files with 7 additions and 6 deletions

View File

@ -107,41 +107,42 @@ function UpdateUsbConfigModal({
<div> <div>
<h2 className="text-lg font-semibold dark:text-white">USB Emulation Configuration</h2> <h2 className="text-lg font-semibold dark:text-white">USB Emulation Configuration</h2>
<p className="text-sm text-slate-600 dark:text-slate-400"> <p className="text-sm text-slate-600 dark:text-slate-400">
Set custom USB parameters to control the device USB emulation. The device will rebind once the parameters are updated. Set custom USB parameters to control how the USB device is emulated.
The device will rebind once the parameters are updated.
</p> </p>
</div> </div>
<InputFieldWithLabel <InputFieldWithLabel
required required
label="Vendor ID" label="Vendor ID"
placeholder="Enter USB Vendor ID" placeholder="Enter Vendor ID"
value={usbConfig.usb_vendor_id || ""} value={usbConfig.usb_vendor_id || ""}
onChange={e => handleUsbVendorIdChange(e.target.value)} onChange={e => handleUsbVendorIdChange(e.target.value)}
/> />
<InputFieldWithLabel <InputFieldWithLabel
required required
label="Product ID" label="Product ID"
placeholder="Enter USB Product ID" placeholder="Enter Product ID"
value={usbConfig.usb_product_id || ""} value={usbConfig.usb_product_id || ""}
onChange={e => handleUsbProductIdChange(e.target.value)} onChange={e => handleUsbProductIdChange(e.target.value)}
/> />
<InputFieldWithLabel <InputFieldWithLabel
required required
label="Serial Number" label="Serial Number"
placeholder="Enter USB Serial Number" placeholder="Enter Serial Number"
value={usbConfig.usb_serial_number || ""} value={usbConfig.usb_serial_number || ""}
onChange={e => handleUsbSerialChange(e.target.value)} onChange={e => handleUsbSerialChange(e.target.value)}
/> />
<InputFieldWithLabel <InputFieldWithLabel
required required
label="Manufacturer" label="Manufacturer"
placeholder="Enter USB Manufacturer" placeholder="Enter Manufacturer"
value={usbConfig.usb_manufacturer || ""} value={usbConfig.usb_manufacturer || ""}
onChange={e => handleUsbManufacturer(e.target.value)} onChange={e => handleUsbManufacturer(e.target.value)}
/> />
<InputFieldWithLabel <InputFieldWithLabel
required required
label="Name" label="Name"
placeholder="Enter USB Name" placeholder="Enter Name"
value={usbConfig.usb_name || ""} value={usbConfig.usb_name || ""}
onChange={e => handleUsbName(e.target.value)} onChange={e => handleUsbName(e.target.value)}
/> />