use of de.mossgrabers.controller.mackie.mcu.controller.MCUDisplay in project DrivenByMoss by git-moss.
the class MaschineControllerSetup method createSurface.
/**
* {@inheritDoc}
*/
@Override
protected void createSurface() {
final IMidiAccess midiAccess = this.factory.createMidiAccess();
final IMidiOutput output = midiAccess.createOutput();
final IMidiInput input = midiAccess.createInput(this.maschine.getName(), "80????", "90????", "A0????", "D0????");
final MaschineControlSurface surface = new MaschineControlSurface(this.host, this.colorManager, this.maschine, this.configuration, output, input);
this.surfaces.add(surface);
if (this.maschine.hasMCUDisplay()) {
final MCUDisplay display = new MCUDisplay(this.host, output, true, false, false);
display.setCenterNotification(false);
surface.addTextDisplay(display);
}
}
Aggregations