Socket
Book a DemoInstallSign in
Socket

audio-hid-events

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-hid-events

Listen to HID events from USB audio products.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
4
-20%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 03 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts