26#include "event_manager.hh"
47 Buttons(
string output_device_name);
53 Buttons &
on(
unsigned char id,
unsigned char color);
62 Buttons &send(std::vector<unsigned char> msg);
65 map<int,BUTTON_STATE> get_states();
66 void set_states(map<int,BUTTON_STATE> states);
72 RtMidiOut * midi_output;
74 map<int,BUTTON_STATE> button_states;
Contains MIDI event information.
Definition event.hh:32
A class that keeps track of event listeners.
Definition event_manager.hh:42
An abstract base class for modules.
Definition module.hh:39
#define MIDI_KEYDOWN
A key press.
Definition globals.hh:46
Definition additive_saw.cc:24
Possible states for a button managed by a Buttons object.
Definition buttons.hh:36