bool32.risingfalling on
int32 coloron
int32 coloroff
bool32.rising redraw
None
spinner button
combo device
combo on
combo off
uint8_t b;
uint8_t prevb;
int ntrig;
b = (inlet_on) ? (attr_on + inlet_coloron) : (attr_off + inlet_coloroff);
if (((b != prevb) || (inlet_redraw > 0)) && (!ntrig)) {
MidiSend3((midi_device_t)attr_device, MIDI_NOTE_ON, ((attr_button << 4) + 8),
b);
ntrig = 1;
prevb = b;
} else
ntrig = 0;