This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
CCButtonMatrix.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
25 template <uint8_t nb_rows, uint8_t nb_cols>
27  : public MIDIButtonMatrix<DigitalCCSender, nb_rows, nb_cols> {
28  public:
54  const AddressMatrix<nb_rows, nb_cols> &controllers,
55  MIDICNChannel channelCN, const DigitalCCSender &sender = {})
57  rowPins, colPins, controllers, channelCN, sender) {}
58 };
59 
MIDIButtonMatrix.hpp
CCButtonMatrix::CCButtonMatrix
CCButtonMatrix(const PinList< nb_rows > &rowPins, const PinList< nb_cols > &colPins, const AddressMatrix< nb_rows, nb_cols > &controllers, MIDICNChannel channelCN, const DigitalCCSender &sender={})
Create a new CCButtonMatrix object with the given pins, controller numbers and channel.
Definition: CCButtonMatrix.hpp:52
CCButtonMatrix
A class of MIDIOutputElements that read the input from a matrix of momentary push buttons or switches...
Definition: CCButtonMatrix.hpp:26
DigitalCCSender.hpp
Array< pin_t, N >
DigitalCCSender
Definition: DigitalCCSender.hpp:7
MIDIButtonMatrix< DigitalCCSender, nb_rows, nb_cols >::sender
DigitalCCSender sender
Definition: Abstract/MIDIButtonMatrix.hpp:48
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: NamespaceSettings.hpp:9
MIDIButtonMatrix
MIDIButtonMatrix.
Definition: Abstract/MIDIButtonMatrix.hpp:15
MIDICNChannel
A class for saving a MIDI channel and cable number.
Definition: MIDICNChannelAddress.hpp:19
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: NamespaceSettings.hpp:10
ButtonMatrix::rowPins
const PinList< nb_rows > rowPins
Definition: ButtonMatrix.hpp:76
ButtonMatrix::colPins
const PinList< nb_cols > colPins
Definition: ButtonMatrix.hpp:77