X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=MIDI.pde;fp=_MIDI.pde;h=5a198f0e608df954c68058678e480fafcff32998;hp=562aa869a3d3193b1294219ffb84355ac3b47920;hb=7d60f6f6ea82fd5c9794524ce11d40e7d6c00bf7;hpb=45717f713884d7f7f1f7e97003c47ab43edb8ab1 diff --git a/_MIDI.pde b/MIDI.pde similarity index 99% rename from _MIDI.pde rename to MIDI.pde index 562aa86..5a198f0 100644 --- a/_MIDI.pde +++ b/MIDI.pde @@ -264,7 +264,7 @@ public class VirtualKeyMidiInput extends SCMidiInput { } else { mapKeys(); } - registerKeyEvent(this); + //registerKeyEvent(this); } private void mapAPC() { @@ -321,7 +321,7 @@ public class VirtualKeyMidiInput extends SCMidiInput { if (!enabled) { return; } - char c = Character.toLowerCase(e.getKeyChar()); + /* char c = 0;//0Character.toLowerCase(e.getKeyChar()); NoteMeta nm = keyToNote.get(c); if (nm != null) { switch (e.getID()) { @@ -342,7 +342,7 @@ public class VirtualKeyMidiInput extends SCMidiInput { octaveShift = constrain(octaveShift+1, -4, 4); break; } - } + }*/ } } @@ -523,7 +523,7 @@ public class APC40MidiInput extends GenericDeviceMidiInput { return true; case 83: // scene 2 - effects.flash.trigger(); + //effects.flash.trigger(); return true; case 84: // scene 3