Search in sources :

Example 11 with LaunchkeyMk3ControlSurface

use of de.mossgrabers.controller.novation.launchkey.maxi.controller.LaunchkeyMk3ControlSurface in project DrivenByMoss by git-moss.

the class LaunchkeyMk3ControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    final LaunchkeyMk3ControlSurface surface = this.getSurface();
    final ViewManager viewManager = surface.getViewManager();
    viewManager.register(Views.SESSION, new SessionView(surface, this.model));
    viewManager.register(Views.CONTROL, new PadModeSelectView(surface, this.model));
    viewManager.register(Views.DRUM, new DrumView(surface, this.model));
    viewManager.register(Views.PLAY, new UserPadView(surface, this.model));
    viewManager.register(Views.SHIFT, new DrumConfigView(surface, this.model));
    viewManager.register(Views.DEVICE, new DeviceConfigView(surface, this.model));
    viewManager.register(Views.BROWSER, new BrowserView(surface, this.model));
    viewManager.register(Views.DUMMY1, new DummyView<>("Scale Chords", surface, this.model));
    viewManager.register(Views.DUMMY2, new DummyView<>("User Chords", surface, this.model));
    viewManager.register(Views.DUMMY3, new DummyView<>(NAME_CUSTOM_1, surface, this.model));
    viewManager.register(Views.DUMMY4, new DummyView<>(NAME_CUSTOM_2, surface, this.model));
    viewManager.register(Views.DUMMY5, new DummyView<>(NAME_CUSTOM_3, surface, this.model));
    viewManager.register(Views.DUMMY6, new DummyView<>(NAME_CUSTOM_4, surface, this.model));
}
Also used : LaunchkeyMk3ControlSurface(de.mossgrabers.controller.novation.launchkey.maxi.controller.LaunchkeyMk3ControlSurface) PadModeSelectView(de.mossgrabers.controller.novation.launchkey.maxi.view.PadModeSelectView) DeviceConfigView(de.mossgrabers.controller.novation.launchkey.maxi.view.DeviceConfigView) ViewManager(de.mossgrabers.framework.featuregroup.ViewManager) SessionView(de.mossgrabers.controller.novation.launchkey.maxi.view.SessionView) UserPadView(de.mossgrabers.controller.novation.launchkey.maxi.view.UserPadView) DrumConfigView(de.mossgrabers.controller.novation.launchkey.maxi.view.DrumConfigView) BrowserView(de.mossgrabers.controller.novation.launchkey.maxi.view.BrowserView) DrumView(de.mossgrabers.controller.novation.launchkey.maxi.view.DrumView)

Aggregations

LaunchkeyMk3ControlSurface (de.mossgrabers.controller.novation.launchkey.maxi.controller.LaunchkeyMk3ControlSurface)11 IHwLight (de.mossgrabers.framework.controller.hardware.IHwLight)4 IMidiOutput (de.mossgrabers.framework.daw.midi.IMidiOutput)3 ModeSelectCommand (de.mossgrabers.framework.command.trigger.mode.ModeSelectCommand)2 IMidiInput (de.mossgrabers.framework.daw.midi.IMidiInput)2 ViewManager (de.mossgrabers.framework.featuregroup.ViewManager)2 ArrayList (java.util.ArrayList)2 ButtonAreaCommand (de.mossgrabers.controller.novation.launchkey.maxi.command.trigger.ButtonAreaCommand)1 DeviceLockCommand (de.mossgrabers.controller.novation.launchkey.maxi.command.trigger.DeviceLockCommand)1 LaunchkeyMk3PlayCommand (de.mossgrabers.controller.novation.launchkey.maxi.command.trigger.LaunchkeyMk3PlayCommand)1 LaunchkeyMk3Display (de.mossgrabers.controller.novation.launchkey.maxi.controller.LaunchkeyMk3Display)1 CustomMode (de.mossgrabers.controller.novation.launchkey.maxi.mode.CustomMode)1 LaunchkeyMk3PanoramaMode (de.mossgrabers.controller.novation.launchkey.maxi.mode.LaunchkeyMk3PanoramaMode)1 LaunchkeyMk3ParameterMode (de.mossgrabers.controller.novation.launchkey.maxi.mode.LaunchkeyMk3ParameterMode)1 LaunchkeyMk3SendMode (de.mossgrabers.controller.novation.launchkey.maxi.mode.LaunchkeyMk3SendMode)1 LaunchkeyMk3VolumeMode (de.mossgrabers.controller.novation.launchkey.maxi.mode.LaunchkeyMk3VolumeMode)1 BrowserView (de.mossgrabers.controller.novation.launchkey.maxi.view.BrowserView)1 DeviceConfigView (de.mossgrabers.controller.novation.launchkey.maxi.view.DeviceConfigView)1 DrumConfigView (de.mossgrabers.controller.novation.launchkey.maxi.view.DrumConfigView)1 DrumView (de.mossgrabers.controller.novation.launchkey.maxi.view.DrumView)1