I have a music player app written in Electron. The app works great with media keys, but not with bluetooth headset keys. There are 3rd party apps, like mac-bt-headset-fix which reads the bluetooth event and fires an acutal media event. However, I would like to have that support directly in my electron app.
Wondering if there is a way to read bluetooth headset events in Electron or support for addGlobalMonitorForEventsMatchingMask.