I've added a section to this article documenting how to use usbhidctl(1) and usbhidaction(1) to respond to Bluetooth headphone buttons which are passed through the BT-W3 as USB HID input reports
https://twitter.com/jcs/status/1329182289436282883