node-elgato-stream-deck icon indicating copy to clipboard operation
node-elgato-stream-deck copied to clipboard

Add native .forget() event

Open Kivylius opened this issue 5 months ago • 0 comments

Native HID event have a .forget event, that disconect the device complety, allowing the user to connect with a difference device. Here the docs:

https://developer.mozilla.org/en-US/docs/Web/API/HIDDevice/forget

We current have .close event, but this event still remember the device and only closes the connection.


Alternatively just expose the .device var and let users mess with it as so they please.

Hope that makes sense. I can help raise the PR.

Kivylius avatar Jan 20 '24 12:01 Kivylius