
Simple USB-MIDI foot controller
Dependencies: PinDetect USBDevice_STM32F103 mbed-STM32F103C8T6
Diff: midiswitch.h
- Revision:
- 9:d5fa853818dd
- Parent:
- 8:75c5ec68765e
--- a/midiswitch.h Fri Aug 04 05:22:22 2017 +0200 +++ b/midiswitch.h Fri Aug 04 05:55:36 2017 +0200 @@ -23,6 +23,7 @@ SwitchHandler(EventQueue * queue, MIDI_CB cb, SwitchConfig sw); void handle_pressed(void); void handle_released(void); + void setConfig(SwitchConfig sw) { cfg = sw; }; private: bool make_message(bool onoff); EventQueue * queue;