use of de.mossgrabers.mcu.mode.device.DeviceBrowserMode in project DrivenByMoss by git-moss.
the class MCUControllerSetup method createModes.
/**
* {@inheritDoc}
*/
@Override
protected void createModes() {
for (int index = 0; index < this.numMCUDevices; index++) {
final MCUControlSurface surface = this.getSurface(index);
final ModeManager modeManager = surface.getModeManager();
modeManager.registerMode(Modes.MODE_TRACK, new TrackMode(surface, this.model));
modeManager.registerMode(Modes.MODE_VOLUME, new VolumeMode(surface, this.model));
modeManager.registerMode(Modes.MODE_PAN, new PanMode(surface, this.model));
final SendMode modeSend = new SendMode(surface, this.model);
for (int i = 0; i < 8; i++) modeManager.registerMode(Integer.valueOf(Modes.MODE_SEND1.intValue() + i), modeSend);
modeManager.registerMode(Modes.MODE_DEVICE_PARAMS, new DeviceParamsMode(surface, this.model));
modeManager.registerMode(Modes.MODE_BROWSER, new DeviceBrowserMode(surface, this.model));
modeManager.registerMode(Modes.MODE_MASTER, new MasterMode(surface, this.model, false));
}
}
Aggregations