use of de.mossgrabers.apc.mode.SendMode in project DrivenByMoss by git-moss.
the class APCControllerSetup method createModes.
/**
* {@inheritDoc}
*/
@Override
protected void createModes() {
final APCControlSurface surface = this.getSurface();
final ModeManager modeManager = surface.getModeManager();
modeManager.registerMode(Modes.MODE_PAN, new PanMode(surface, this.model));
for (int i = 0; i < 8; i++) modeManager.registerMode(Integer.valueOf(Modes.MODE_SEND1.intValue() + i), new SendMode(surface, this.model, i));
modeManager.registerMode(Modes.MODE_BROWSER, new BrowserMode(surface, this.model));
}
Aggregations