Skip to content

ElectronHIDDevice

Unofficial

A HID device available for selection via the Web HID API.

Import:

import type { ElectronHIDDevice } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronHIDDevice

Properties

PropertyTypeDescription
deviceIdstringUnique identifier for the device.
guid?stringUnique identifier for the HID interface. A device may have multiple HID interfaces.
namestringName of the device.
productIdnumberThe USB product ID.
serialNumber?stringThe USB device serial number.
vendorIdnumberThe USB vendor ID.

Links to this page: