This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
CCButton.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
20 class CCButton
21  : public MIDIButton<DigitalCCSender> {
22  public:
38  : MIDIButton(pin, address, sender) {}
39 };
40 
pin_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
Definition: Def.hpp:17
DigitalCCSender.hpp
CCButton::CCButton
CCButton(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender={})
Create a new CCButton object with the given pin, the given controller number and channel.
Definition: CCButton.hpp:37
DigitalCCSender
Definition: DigitalCCSender.hpp:7
MIDIButton< DigitalCCSender >::sender
DigitalCCSender sender
Definition: Abstract/MIDIButton.hpp:55
MIDIButton
An abstract class for momentary push buttons that send MIDI events.
Definition: Abstract/MIDIButton.hpp:17
MIDIButton< DigitalCCSender >::address
const MIDICNChannelAddress address
Definition: Abstract/MIDIButton.hpp:52
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: NamespaceSettings.hpp:9
MIDICNChannelAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition: MIDICNChannelAddress.hpp:82
CCButton
A class of MIDIOutputElements that read the input of a momentary push button or switch,...
Definition: CCButton.hpp:20
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: NamespaceSettings.hpp:10
MIDIButton< DigitalCCSender >::MIDIButton
MIDIButton(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender)
Construct a new MIDIButton.
Definition: Abstract/MIDIButton.hpp:30
MIDIButton.hpp