use of de.mossgrabers.controller.ni.kontrol.mki.mode.IKontrol1Mode in project DrivenByMoss by git-moss.
the class MainEncoderCommand method execute.
/**
* {@inheritDoc}
*/
@Override
public void execute(final int value) {
if (this.surface.isShiftPressed()) {
super.execute(value);
return;
}
final IMode activeMode = this.surface.getModeManager().getActive();
((IKontrol1Mode) activeMode).onMainKnob(value);
}
Aggregations