hammerspoon2-docs
    Preparing search index...

    Function attachedDevices

    • Returns all currently attached USB devices.

      Returns Record<string, any>[]

      An array of objects describing each attached USB device. Each object has productName (string), vendorName (string), productID (number), and vendorID (number). serialNumber (string) and locationID (number) are included when available.