electron/docs/api/structures/hid-device.md

381 B

HIDDevice Object

  • deviceId string - Unique identifier for the device.
  • name string - Name of the device.
  • vendorId Integer - The USB vendor ID.
  • productId Integer - The USB product ID.
  • serialNumber string (optional) - The USB device serial number.
  • guid string (optional) - Unique identifier for the HID interface. A device may have multiple HID interfaces.