|
| void | setup () override |
| | Sends any preliminary commands needed by the device ie. initialising to a particular mode like XY (Launchpad mini/S) programmer (Launchpad Pro), notes, drum pads, sliders...
|
|
presser & | get_presser () |
| | reties the presser object
|
|
|
| midi (Controller *ctrlr) |
|
void | init () |
| void | clear () override |
| | Turns off all LEDs.
|
| void | set_grid (painter &p) override |
| | Pass a reference to the painter object and display it's content to the grid.
|
| void | set_button (const button_painter &p) override |
| | Pass a reference to the button_painter object and display it's content to the device's buttons.
|
|
void | paint (painter &paint, std::function< void(id_t, const color_cnvtr &)> &&func) |
|
void | clear (std::function< void(id_t id)> &&func) |
|
bool | on_grid_received (Controller *ctrlr, id_t id) |
|
bool | on_button_received (Controller *ctrlr, id_type id) |
|
void | paint (const button_painter &p, std::function< void(id_type, const color_cnvtr &) > &&func) |
|
| midi_in (Controller *ctrlr) |
|
void | init () |
| void | clear () override |
| | Turns off all LEDs.
|
| void | set_grid (painter &p) override |
| | Pass a reference to the painter object and display it's content to the grid.
|
| void | set_button (const button_painter &p) override |
| | Pass a reference to the button_painter object and display it's content to the device's buttons.
|
|
|
libremidi::midi_out | m_output |
|
presser | prsr |
|
button_presser | btn_prsr |
|
libremidi::midi_in | m_input |
|
libremidi::midi_out | m_output |
◆ setup()
template<typename Device, typename Controller>
Sends any preliminary commands needed by the device ie. initialising to a particular mode like XY (Launchpad mini/S) programmer (Launchpad Pro), notes, drum pads, sliders...
Implements bugui::base_hardware.
The documentation for this struct was generated from the following file: