Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Bankable/PCButton.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
9namespace Bankable {
10
22class PCButton : public MIDIButton<SingleAddress, ProgramChangeSender> {
23 public:
40 : MIDIButton({config, address}, pin, {}) {}
41};
42
43} // namespace Bankable
44
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
An abstract class for momentary push buttons that send MIDI events.
A class of MIDIOutputElements that read the input of a momentary push button or switch,...
PCButton(OutputBankConfig<> config, pin_t pin, MIDIAddress address)
Create a new PCButton object with the given pin, program number and channel.
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.
An array wrapper for easy copying, comparing, and iterating.
Definition Array.hpp:32