Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Outputs
CCButtonLatched.hpp
Go to the documentation of this file.
1
/* ✔ */
2
3
#pragma once
4
5
#include <
MIDI_Outputs/Abstract/MIDIButtonLatched.hpp
>
6
#include <
MIDI_Senders/DigitalCCSender.hpp
>
7
8
BEGIN_CS_NAMESPACE
9
23
class
CCButtonLatched
:
public
MIDIButtonLatched
<DigitalCCSender> {
24
public
:
39
CCButtonLatched
(pin_t pin,
MIDIAddress
address
,
40
const
DigitalCCSender
&
sender
= {})
41
:
MIDIButtonLatched
{pin,
address
,
sender
} {}
42
};
43
44
END_CS_NAMESPACE
MIDIButtonLatched.hpp
DigitalCCSender.hpp
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
CCButtonLatched
A class of MIDIOutputElements that read the input of a momentary push button or switch,...
Definition
CCButtonLatched.hpp:23
CCButtonLatched::CCButtonLatched
CCButtonLatched(pin_t pin, MIDIAddress address, const DigitalCCSender &sender={})
Create a new CCButtonLatched object on the given pin and with address.
Definition
CCButtonLatched.hpp:39
DigitalCCSender
Class that sends MIDI control change messages signifying either "on" or "off".
Definition
DigitalCCSender.hpp:13
MIDIAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition
MIDIAddress.hpp:145
MIDIButtonLatched
A class for momentary buttons and switches that send MIDI events.
Definition
Abstract/MIDIButtonLatched.hpp:20
MIDIButtonLatched< DigitalCCSender >::address
const MIDIAddress address
Definition
Abstract/MIDIButtonLatched.hpp:76
MIDIButtonLatched< DigitalCCSender >::sender
DigitalCCSender sender
Definition
Abstract/MIDIButtonLatched.hpp:80
Generated by
1.10.0