summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/MIDIDevice.sc4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/MIDIDevice.sc b/classes/MIDIDevice.sc
index f35be83..f9e9372 100644
--- a/classes/MIDIDevice.sc
+++ b/classes/MIDIDevice.sc
@@ -51,7 +51,9 @@ MIDIDevice{
jogwheels = Array.newClear(indexedSize: jogwheelSize);
touchpads = Array.newClear(indexedSize: touchpadSize);
passThroughs = Dictionary();
-// states = MIDIState();
+ if(states.data.size>0, {
+ this.connectStates();
+ });
this.connectPorts();
postln("Device '"++name++"' initialized.");
}