Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Bankable/CCButton.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
12namespace Bankable {
13
26class CCButton : public MIDIButton<SingleAddress, DigitalCCSender> {
27 public:
46 const DigitalCCSender &sender = {})
47 : MIDIButton {{config, address}, pin, sender} {}
48};
49
50} // namespace Bankable
51
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
CCButton(OutputBankConfig<> config, pin_t pin, MIDIAddress address, const DigitalCCSender &sender={})
Create a new Bankable CCButton object with the given bank configuration, button pin,...
An abstract class for momentary push buttons that send MIDI events.
MIDIButton(SingleAddress bankAddress, pin_t pin, const DigitalCCSender &sender)
Class that sends MIDI control change messages signifying either "on" or "off".
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
Type for storing pin numbers of Extended Input/Output elements.