Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Constructor

  • Loading branch information...
commit 0deb5acf682f7e3f9d5ab89cdf251a790484d4bc 1 parent b0f6e9c
@aspeteRakete aspeteRakete authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/com/rngtng/launchpad/MonomeLaunchpad.java
View
9 src/com/rngtng/launchpad/MonomeLaunchpad.java
@@ -44,6 +44,15 @@ public MonomeLaunchpad(Object listener) {
color_off = new LColor(); //Black
launchpad.reset();
}
+
+public MonomeLaunchpad(Object listener, String inputName, String outputName) {
+ super(listener);
+ launchpad = new Launchpad( (PApplet) listener, inputName, outputName);
+ launchpad.addListener(this);
+ color_on = new LColor(LColor.RED_HIGH); //full Red
+ color_off = new LColor(); //Black
+ launchpad.reset();
+ }
////////////////////////////////////////////////// monome functions
Please sign in to comment.
Something went wrong with that request. Please try again.