# audio-hid-events

> Listen to HID events from USB audio products.

Latest version **0.2.0** (published 2018-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install audio-hid-events
pnpm add audio-hid-events
yarn add audio-hid-events
bun add audio-hid-events
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2018-11-03 |
| First published | 2016-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | linusu |

## Links

- npm: https://www.npmjs.com/package/audio-hid-events
- Repository: https://github.com/LinusU/audio-hid-events
- Homepage: https://github.com/LinusU/audio-hid-events#readme
- Issues: https://github.com/LinusU/audio-hid-events/issues
- npm.io page: https://npm.io/package/audio-hid-events

## Dependencies (1)

- [node-hid](https://npm.io/package/node-hid.md) ^0.7.3

## Recent versions

- 0.2.0 (latest) — 2018-11-03
- 0.1.1 — 2018-01-05
- 0.1.0 — 2016-05-08

## README

# Audio HID Events

Listen to HID events from USB audio products.

## Installation

```sh
npm install --save audio-hid-events
```

## Usage

```js
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.

---
_Source: https://npm.io/package/audio-hid-events · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
