launchpad-app

A simple library for creating applications using the Novation Launchpad

Usage no npm install needed!

<script type="module">
  import launchpadApp from 'https://cdn.skypack.dev/launchpad-app';
</script>

README

launchpad-app

A simple library for creating applications using the Novation Launchpad.

Installation

First, download and install the Launchpad drivers from the Novation website:

Then, use npm to install the dependencies and to add them to your package.json file:

npm install launchpad-app --save

Usage

Add the following at the top of your main javascript file:

var App = require('launchpad-app');

Create a Launchpad instance:

var launchpad = new App.Launchpad();

Call the launchpad-app constructor with your Launchpad instance and listeners:

App(launchpad, {
  start: function() { ... },
  key: function() { ... }
});