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
示例#2
0
文件: Launchkey.py 项目: cce/buttons
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
示例#4
0
def make_configurable_button(cc_no, name):
    button = ConfigurableButtonElement(IS_MOMENTARY, MIDI_NOTE_TYPE, 0, cc_no)
    button.name = name
    return button