This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
CCButtonLatching.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
21 class CCButtonLatching : public MIDIButtonLatching<DigitalCCSender> {
22  public:
38  const DigitalCCSender &sender = {})
40 };
41 
pin_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
Definition: Def.hpp:17
DigitalCCSender.hpp
MIDIButtonLatching.hpp
MIDIButtonLatching
A class for latching buttons and switches that send MIDI events.
Definition: Abstract/MIDIButtonLatching.hpp:17
DigitalCCSender
Definition: DigitalCCSender.hpp:7
CCButtonLatching::CCButtonLatching
CCButtonLatching(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender={})
Create a new CCButtonLatching object with the given pin, the given controller number and channel.
Definition: CCButtonLatching.hpp:37
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
MIDIButtonLatching< DigitalCCSender >::sender
DigitalCCSender sender
Definition: Abstract/MIDIButtonLatching.hpp:51
MIDIButtonLatching< DigitalCCSender >::address
const MIDICNChannelAddress address
Definition: Abstract/MIDIButtonLatching.hpp:48
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: NamespaceSettings.hpp:10
MIDIButtonLatching< DigitalCCSender >::MIDIButtonLatching
MIDIButtonLatching(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender)
Construct a new MIDIButtonLatching.
Definition: Abstract/MIDIButtonLatching.hpp:30
CCButtonLatching
A class of MIDIOutputElements that read the input of a latching push button or toggle switch,...
Definition: CCButtonLatching.hpp:21