You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opened HID headset cannot control macOS system speaker volume #438
Hi, I am using node-hid in my Electron project for headset call control. If my device is not opened by node-hid, then I am able to use the volume up/down physical buttons on the headset to control macOS system output volume. But as my headset is opened by node-hid, the volume up/down buttons are not functioning.
Observations:
The headset volume itself could still be tuned, but system volume cannot be.
Noticed this issue for macOS only, Windows works fine.
It can receive the data/events when volume up/down buttons are pressed
In general, only one program can access a USB device at a time. I believe hidapi (the C library node-hid is just a wrapper on) enforces this more on Mac than Windows.
There is an issue on hidapi about this that you may want to weigh-in on: libusb/hidapi#27
Activity
todbot commentedon Aug 12, 2021
In general, only one program can access a USB device at a time. I believe
hidapi(the C library node-hid is just a wrapper on) enforces this more on Mac than Windows.There is an issue on
hidapiabout this that you may want to weigh-in on: libusb/hidapi#27mcuee commentedon May 6, 2023