Search in sources :

Example 1 with ScaleMode

use of de.mossgrabers.controller.ni.kontrol.mki.mode.ScaleMode 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));
}
Also used : TrackMode(de.mossgrabers.controller.ni.kontrol.mki.mode.track.TrackMode) ParamsMode(de.mossgrabers.controller.ni.kontrol.mki.mode.device.ParamsMode) Kontrol1ControlSurface(de.mossgrabers.controller.ni.kontrol.mki.controller.Kontrol1ControlSurface) VolumeMode(de.mossgrabers.controller.ni.kontrol.mki.mode.track.VolumeMode) BrowseMode(de.mossgrabers.controller.ni.kontrol.mki.mode.device.BrowseMode) ScaleMode(de.mossgrabers.controller.ni.kontrol.mki.mode.ScaleMode) ModeManager(de.mossgrabers.framework.featuregroup.ModeManager)

Aggregations

Kontrol1ControlSurface (de.mossgrabers.controller.ni.kontrol.mki.controller.Kontrol1ControlSurface)1 ScaleMode (de.mossgrabers.controller.ni.kontrol.mki.mode.ScaleMode)1 BrowseMode (de.mossgrabers.controller.ni.kontrol.mki.mode.device.BrowseMode)1 ParamsMode (de.mossgrabers.controller.ni.kontrol.mki.mode.device.ParamsMode)1 TrackMode (de.mossgrabers.controller.ni.kontrol.mki.mode.track.TrackMode)1 VolumeMode (de.mossgrabers.controller.ni.kontrol.mki.mode.track.VolumeMode)1 ModeManager (de.mossgrabers.framework.featuregroup.ModeManager)1