use of de.mossgrabers.sl.command.continuous.TapTempoInitMkICommand in project DrivenByMoss by git-moss.
the class SLControllerSetup method registerContinuousCommands.
/**
* {@inheritDoc}
*/
@Override
protected void registerContinuousCommands() {
final SLControlSurface surface = this.getSurface();
for (int i = 0; i < 8; i++) {
this.addContinuousCommand(Integer.valueOf(Commands.CONT_COMMAND_FADER1.intValue() + i), SLControlSurface.MKII_SLIDER1 + i, new FaderCommand(i, this.model, surface));
this.addContinuousCommand(Integer.valueOf(Commands.CONT_COMMAND_DEVICE_KNOB1.intValue() + i), SLControlSurface.MKII_KNOB_ROW1_1 + i, new DeviceKnobRowCommand(i, this.model, surface));
this.addContinuousCommand(Integer.valueOf(Commands.CONT_COMMAND_KNOB1.intValue() + i), SLControlSurface.MKII_KNOB_ROW2_1 + i, new TrackKnobRowCommand(i, this.model, surface));
}
this.addContinuousCommand(Commands.CONT_COMMAND_TOUCHPAD_X, SLControlSurface.MKII_TOUCHPAD_X, new TouchpadCommand(true, this.model, surface));
this.addContinuousCommand(Commands.CONT_COMMAND_TOUCHPAD_Y, SLControlSurface.MKII_TOUCHPAD_Y, new TouchpadCommand(false, this.model, surface));
this.addContinuousCommand(Commands.CONT_COMMAND_TEMPO_TOUCH, SLControlSurface.MKI_BUTTON_TAP_TEMPO, new TapTempoInitMkICommand(this.model, surface));
this.addContinuousCommand(Commands.CONT_COMMAND_TEMPO, SLControlSurface.MKI_BUTTON_TAP_TEMPO_VALUE, new TapTempoMkICommand(this.model, surface));
}
Aggregations