Open dunland opened 2 years ago
there should be a vector of event listeners for the pushbutton. modes, instruments etc should be able to create a listener with a callback function.
e.g. calibration mode can use pushButtonHold to call sth like ascend_menu, while running mode would do save_cc_allocation oder so
there should be a vector of event listeners for the pushbutton. modes, instruments etc should be able to create a listener with a callback function.
e.g. calibration mode can use pushButtonHold to call sth like ascend_menu, while running mode would do save_cc_allocation oder so