0.2.0 • Published 6 years ago

audio-hid-events v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

NameButton
volume-upVolume up
volume-downVolume down
muteMute

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.

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

8 years ago