 
 DU_Quantizer_Function * function;
 
-void trig_isr()
-{
-  triggered = true;
-}
+void trig_isr() { function->trig_callback(); }
 
 void trigger_mode_scroll_callback(int delta) { function->widget_trigger_mode_scroll_callback(delta); }
 void key_scroll_callback(int delta) { function->widget_key_scroll_callback(delta); }

  0x60, 0x63, 0x0f, 0x0f, 0x0f, 0x63, 0x60  // trigger mode on
};

volatile bool triggered;

void trig_isr();

void trigger_mode_scroll_callback(int delta);

  DUINO_DisplayWidget * widget_scale_;
  DUINO_DisplayWidget * widgets_notes_[12];

  volatile bool triggered;
  bool trigger_mode;
  int8_t key;
  int scale_id;
