def make_configurable_button(cc_no, name, type=MIDI_NOTE_TYPE, channel=0):
    button = ConfigurableButtonElement(IS_MOMENTARY, type, channel, cc_no)
    button.name = name
    return button
Example #2
0
def make_button(type, cc_no):
    # ConfigurableButtonElement( is_momentary, msg_type, channel, identifier )
    return ConfigurableButtonElement(True, type, 0, cc_no)
Example #3
0
def make_configurable_button(cc_no, name, type = MIDI_NOTE_TYPE, channel = 0):
    button = ConfigurableButtonElement(IS_MOMENTARY, type, channel, cc_no)
    button.name = name
    return button
def make_configurable_button(cc_no, name):
    button = ConfigurableButtonElement(IS_MOMENTARY, MIDI_NOTE_TYPE, 0, cc_no)
    button.name = name
    return button
Example #5
0
def make_configurable_button(cc_no, name):
    button = ConfigurableButtonElement(IS_MOMENTARY, MIDI_NOTE_TYPE, 0, cc_no)
    button.name = name
    return button