Julusian / node-elgato-stream-deck

A Node.js library for interfacing with the Elgato Stream Deck. https://julusian.github.io/node-elgato-stream-deck/
https://www.npmjs.com/org/elgato-stream-deck
MIT License
163 stars 21 forks source link

Feature Request: Ability to get the HID path of an existing StreamDeck instance #65

Closed mrfigg closed 7 months ago

mrfigg commented 1 year ago

As far as I can tell it is currently not possible to get the HID path of an existing StreamDeck instance. Is there a way to do this that I can't find?

If not would it be possible to add an async function streamDeck.getHidPath(): Promise<string> method or equivalent?

Julusian commented 1 year ago

There isn't currently a way to do this, but it should be possible to do.

Alternatively, https://github.com/libusb/hidapi/pull/432 will allow for retrieving this once opened, but that change has yet to be pulled into node-hid so is not currently available to us

Julusian commented 7 months ago

This is in v6.1.0