diff --git a/ui/src/components/USBConfigDialog.tsx b/ui/src/components/USBConfigDialog.tsx index b21a75e..21f13a4 100644 --- a/ui/src/components/USBConfigDialog.tsx +++ b/ui/src/components/USBConfigDialog.tsx @@ -7,6 +7,7 @@ import Modal from "@components/Modal"; import { InputFieldWithLabel } from "./InputField"; import { useJsonRpc } from "@/hooks/useJsonRpc"; import { useUsbConfigModalStore } from "@/hooks/stores"; +import ExtLink from "@components/ExtLink"; export interface UsbConfigState { vendor_id: string; @@ -135,18 +136,26 @@ function UpdateUsbConfigModal({ Set custom USB parameters to control how the USB device is emulated. The device will rebind once the parameters are updated.

+
+ + Look up USB Device IDs + +
handleUsbVendorIdChange(e.target.value)} + required + label="Vendor ID" + placeholder="Enter Vendor ID" + pattern="^0[xX][\da-fA-F]{4}$" + defaultValue={usbConfigState?.vendor_id} + onChange={e => handleUsbVendorIdChange(e.target.value)} />