use of de.mossgrabers.controller.ni.kontrol.mki.mode.device.ParamsMode in project DrivenByMoss by git-moss.
the class Kontrol1ControllerSetup method createModes.
/**
* {@inheritDoc}
*/
@Override
protected void createModes() {
final Kontrol1ControlSurface surface = this.getSurface();
final ModeManager modeManager = surface.getModeManager();
modeManager.register(Modes.TRACK, new TrackMode(surface, this.model));
modeManager.register(Modes.VOLUME, new VolumeMode(surface, this.model));
modeManager.register(Modes.DEVICE_PARAMS, new ParamsMode(surface, this.model));
modeManager.register(Modes.BROWSER, new BrowseMode(surface, this.model));
modeManager.register(Modes.SCALES, new ScaleMode(surface, this.model));
}
Aggregations