audio-hid-events
v0.2.0
Published
Listen to HID events from USB audio products.
Downloads
4
Readme
Audio HID Events
Listen to HID events from USB audio products.
Installation
npm install --save audio-hid-events
Usage
const audioHidEvents = require('audio-hid-events')
audioHidEvents.on('volume-up', () => {
console.log('Volume up')
})
audioHidEvents.on('volume-down', () => {
console.log('Volume down')
})
audioHidEvents.on('mute', () => {
console.log('Toggle mute')
})
Events
Name | Button
----- | -----
volume-up
| Volume up
volume-down
| Volume down
mute
| Mute
Supported products
Currently the only supported product is "USB AUDIO CODEC" (29c6
) by "BurrBrown
from Texas Instruments" (08bb
). Adding support for more products should be
trivial.