NodeJS library for the PDP Rock Band Stage Kit, including full control over the strobe, fog, and led lights. Currently only supports Linux.
To use the API, simply install the stagekit
package from npm, require
it, and then issue an Open(filename) where filename is the location of the appropriate event file (such as /dev/input/event5), and then use any of the other commands according to what you want to do.
Open an event interface file for a stage kit. If set to undefined
, the API will attempt to probe for one automatically.
The event interface file being used.
Closes the file handles for the stage kit.
Sends a "panic" signal to turn everything off at once.
Set strobe flash speed.
Turn the fogger on or off.
Set the red LEDs according to the first 8 bits of led, where each bit represents a single LED.
Set the yellow LEDs according to the first 8 bits of led, where each bit represents a single LED.
Set the green LEDs according to the first 8 bits of led, where each bit represents a single LED.
Set the blue LEDs according to the first 8 bits of led, where each bit represents a single LED.