Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Outputs
CCButtonLatching.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MIDI_Outputs/Abstract/MIDIButtonLatching.hpp
>
4
#include <
MIDI_Senders/DigitalCCSender.hpp
>
5
6
BEGIN_CS_NAMESPACE
7
21
class
CCButtonLatching
:
public
MIDIButtonLatching
<DigitalCCSender> {
22
public
:
37
CCButtonLatching
(pin_t pin,
MIDIAddress
address
,
38
const
DigitalCCSender
&
sender
= {})
39
:
MIDIButtonLatching
(pin,
address
,
sender
) {}
40
};
41
42
END_CS_NAMESPACE
MIDIButtonLatching.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
CCButtonLatching
A class of MIDIOutputElements that read the input of a latching push button or toggle switch,...
Definition
CCButtonLatching.hpp:21
CCButtonLatching::CCButtonLatching
CCButtonLatching(pin_t pin, MIDIAddress address, const DigitalCCSender &sender={})
Create a new CCButtonLatching object with the given pin, the given controller number and channel.
Definition
CCButtonLatching.hpp:37
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
MIDIButtonLatching
A class for latching buttons and switches that send MIDI events.
Definition
Abstract/MIDIButtonLatching.hpp:17
MIDIButtonLatching< DigitalCCSender >::address
const MIDIAddress address
Definition
Abstract/MIDIButtonLatching.hpp:52
MIDIButtonLatching< DigitalCCSender >::sender
DigitalCCSender sender
Definition
Abstract/MIDIButtonLatching.hpp:55
Generated by
1.10.0