Control Surface
main
MIDI Control Surface library for Arduino
Toggle main menu visibility
Loading...
Searching...
No Matches
src
MIDI_Outputs
CCButtonMatrix.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MIDI_Outputs/Abstract/MIDIButtonMatrix.hpp
>
4
#include <
MIDI_Senders/DigitalCCSender.hpp
>
5
6
BEGIN_CS_NAMESPACE
7
25
template
<u
int
8_t NumRows, u
int
8_t NumCols>
26
class
CCButtonMatrix
27
:
public
MIDIButtonMatrix
<DigitalCCSender, NumRows, NumCols> {
28
public
:
52
CCButtonMatrix
(
const
PinList<NumRows>
&
rowPins
,
53
const
PinList<NumCols>
&
colPins
,
54
const
AddressMatrix<NumRows, NumCols>
&controllers,
55
MIDIChannelCable
channelCN,
56
const
DigitalCCSender
&
sender
= {})
57
:
MIDIButtonMatrix
<
DigitalCCSender
, NumRows, NumCols>(
58
rowPins
,
colPins
, controllers, channelCN,
sender
) {}
59
};
60
61
END_CS_NAMESPACE
MIDIButtonMatrix.hpp
AddressMatrix
Array2D< uint8_t, NumRows, NumCols > AddressMatrix
Definition
Def.hpp:30
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
MIDIButtonMatrix< DigitalCCSender, NumRows, NumCols >::rowPins
const PinList< NumRows > rowPins
Definition
ButtonMatrix.hpp:88
MIDIButtonMatrix< DigitalCCSender, NumRows, NumCols >::colPins
const PinList< NumCols > colPins
Definition
ButtonMatrix.hpp:89
CCButtonMatrix::CCButtonMatrix
CCButtonMatrix(const PinList< NumRows > &rowPins, const PinList< NumCols > &colPins, const AddressMatrix< NumRows, NumCols > &controllers, MIDIChannelCable channelCN, const DigitalCCSender &sender={})
Create a new CCButtonMatrix object with the given pins, controller numbers and channel.
Definition
CCButtonMatrix.hpp:52
DigitalCCSender
Class that sends MIDI control change messages signifying either "on" or "off".
Definition
DigitalCCSender.hpp:13
MIDIButtonMatrix
MIDIButtonMatrix.
Definition
Abstract/MIDIButtonMatrix.hpp:18
MIDIButtonMatrix< DigitalCCSender, NumRows, NumCols >::sender
DigitalCCSender sender
Definition
Abstract/MIDIButtonMatrix.hpp:86
MIDIButtonMatrix< DigitalCCSender, NumRows, NumCols >::MIDIButtonMatrix
MIDIButtonMatrix(const PinList< NumRows > &rowPins, const PinList< NumCols > &colPins, const AddressMatrix< NumRows, NumCols > &addresses, MIDIChannelCable channelCN, const DigitalCCSender &sender)
Definition
Abstract/MIDIButtonMatrix.hpp:42
MIDIChannelCable
A class for saving a MIDI channel and cable number.
Definition
MIDIAddress.hpp:24
AH::PinList
Array< pin_t, N > PinList
An easy alias for arrays of pins.
Definition
Hardware-Types.hpp:100
Generated by
1.17.0