use of de.mossgrabers.controller.ableton.push.mode.device.DeviceBrowserMode in project DrivenByMoss by git-moss.
the class RasteredKnobCommand method execute.
/**
* {@inheritDoc}
*/
@Override
public void execute(final int value) {
final ModeManager modeManager = this.surface.getModeManager();
if (modeManager.isActive(Modes.BROWSER)) {
final DeviceBrowserMode mode = (DeviceBrowserMode) modeManager.get(Modes.BROWSER);
mode.changeSelectedColumnValue(value);
return;
}
if (this.surface.isSelectPressed()) {
this.transport.changeLoopStart(this.model.getValueChanger().isIncrease(value), this.surface.isKnobSensitivitySlow());
return;
}
super.execute(value);
this.mvHelper.notifyTempo();
}
Aggregations