use of de.mossgrabers.controller.mackie.hui.HUIConfiguration in project DrivenByMoss by git-moss.
the class FaderTouchCommand method executeNormal.
/**
* {@inheritDoc}
*/
@Override
public void executeNormal(final ButtonEvent event) {
final HUIConfiguration configuration = this.surface.getConfiguration();
final ModeManager modeManager = this.surface.getModeManager();
if (event == ButtonEvent.DOWN)
modeManager.setActive(Modes.VOLUME);
else if (event == ButtonEvent.UP)
modeManager.restore();
if (configuration.isTouchChannel())
super.executeNormal(event);
}
Aggregations