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
Exemplo n.º 2
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
Exemplo n.º 4
0
def make_configurable_button(cc_no, name):
    button = ConfigurableButtonElement(IS_MOMENTARY, MIDI_NOTE_TYPE, 0, cc_no)
    button.name = name
    return button