Control Surface
main
MIDI Control Surface library for Arduino
Toggle main menu visibility
Loading...
Searching...
No Matches
src
MIDI_Outputs
Bankable
Bankable/CCButtonLatching.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Banks/BankAddresses.hpp
>
4
#include <
MIDI_Outputs/Bankable/Abstract/MIDIButtonLatching.hpp
>
5
#include <
MIDI_Senders/DigitalCCSender.hpp
>
6
7
BEGIN_CS_NAMESPACE
8
9
namespace
Bankable
{
10
24
class
CCButtonLatching
25
:
public
MIDIButtonLatching
<SingleAddress, DigitalCCSender> {
26
public
:
44
CCButtonLatching
(
OutputBankConfig<>
config,
pin_t
pin,
MIDIAddress
address
,
45
const
DigitalCCSender
&
sender
= {})
46
:
MIDIButtonLatching
<
SingleAddress
,
DigitalCCSender
> {
47
{config,
address
}, pin,
sender
} {}
48
};
49
50
}
// namespace Bankable
51
52
END_CS_NAMESPACE
BankAddresses.hpp
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
Bankable::CCButtonLatching::CCButtonLatching
CCButtonLatching(OutputBankConfig<> config, pin_t pin, MIDIAddress address, const DigitalCCSender &sender={})
Create a new Bankable CCButtonLatching object with the given pin, the given controller number and cha...
Definition
Bankable/CCButtonLatching.hpp:44
Bankable::MIDIButtonLatching
A class for latching buttons and switches that send MIDI events.
Definition
Bankable/Abstract/MIDIButtonLatching.hpp:20
Bankable::MIDIButtonLatching< SingleAddress, DigitalCCSender >::MIDIButtonLatching
MIDIButtonLatching(SingleAddress bankAddress, pin_t pin, const DigitalCCSender &sender)
Definition
Bankable/Abstract/MIDIButtonLatching.hpp:33
Bankable::MIDIButtonLatching< SingleAddress, DigitalCCSender >::address
SingleAddress address
Definition
Bankable/Abstract/MIDIButtonLatching.hpp:50
Bankable::MIDIButtonLatching< SingleAddress, DigitalCCSender >::sender
DigitalCCSender sender
Definition
Bankable/Abstract/MIDIButtonLatching.hpp:54
Bankable::SingleAddress
Definition
BankAddresses.hpp:9
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
Bankable
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
Definition
BankAddresses.hpp:7
AH::ExtIO::pin_t
Type for storing pin numbers of Extended Input/Output elements.
Definition
Hardware-Types.hpp:25
OutputBankConfig
Definition
BankConfig.hpp:79
Generated by
1.17.0