use of de.mossgrabers.controller.ni.kontrol.mkii.mode.SendMode in project DrivenByMoss by git-moss.
the class KontrolProtocolControllerSetup method createModes.
/**
* {@inheritDoc}
*/
@Override
protected void createModes() {
final KontrolProtocolControlSurface surface = this.getSurface();
final ModeManager modeManager = surface.getModeManager();
final List<ContinuousID> controls = ContinuousID.createSequentialList(ContinuousID.KNOB1, 8);
controls.addAll(ContinuousID.createSequentialList(ContinuousID.FADER1, 8));
modeManager.register(Modes.VOLUME, new MixerMode(surface, this.model, controls));
modeManager.register(Modes.SEND, new SendMode(surface, this.model, controls));
modeManager.register(Modes.DEVICE_PARAMS, new ParamsMode(surface, this.model, controls));
}
Aggregations