Socket
Socket
Sign inDemoInstall

elgato-stream-deck

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elgato-stream-deck

A npm module for interfacing with the Elgato Stream Deck


Version published
Weekly downloads
22
decreased by-18.52%
Maintainers
1
Weekly downloads
 
Created
Source

elgato-stream-deck npm version license Travis

elgato-stream-deck is a Node.js library for interfacing with the Elgato Stream Deck.

Install

$ npm install --save elgato-stream-deck

Table of Contents

Example

const streamDeck = require('elgato-stream-deck')
streamDeck.on('down', keyIndex => {
    console.log('key %d down', keyIndex);
});

streamDeck.on('up', keyIndex => {
    console.log('key %d up', keyIndex);
});

streamDeck.on('error', error => {
    console.error(error);
});

Features

  • Key down and key up events

Planned Features

  • Key combinations
  • Send new images to keys
  • Support "pages" feature from the official Elgato Stream Deck software

Contributing

The elgato-stream-deck team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The Contributor Guide has all the information you need for everything from reporting bugs to contributing entire new features. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.

All participants and maintainers in this project are expected to follow Code of Conduct, and just generally be kind to each other.

Please refer to the Changelog for project history details, too.

Events

> down

Fired whenever a key is pressed. keyIndex is the 0-15 numerical index of that key.

Example
streamDeck.on('down', keyIndex => {
    console.log('key %d down', keyIndex);
});
> up

Fired whenever a key is released. keyIndex is the 0-15 numerical index of that key.

Example
streamDeck.on('up', keyIndex => {
    console.log('key %d up', keyIndex);
});
> error

Fired whenever an error is detected by the node-hid library. Always add a listener for this event! If you don't, errors will be silently dropped.

Example
streamDeck.on('error', keyIndex => {
    console.log('key %d error', keyIndex);
});

Keywords

FAQs

Package last updated on 17 May 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc