Control Surface main
MIDI Control Surface library for Arduino
Bankable/CCRotaryEncoder.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
9namespace Bankable {
10
21 : public MIDIRotaryEncoder<SingleAddress, RelativeCCSender> {
22 public:
55 MIDIAddress address, int16_t speedMultiply = 1,
56 uint8_t pulsesPerStep = 4)
58 {config, address}, std::move(encoder), speedMultiply,
59 pulsesPerStep, {}) {}
60};
61
62} // namespace Bankable
63
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Class for reading quadrature encoders, heavily influenced by http://www.pjrc.com/teensy/td_libs_Encod...
Definition: AHEncoder.hpp:21
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out relat...
CCRotaryEncoder(OutputBankConfig<> config, AHEncoder &&encoder, MIDIAddress address, int16_t speedMultiply=1, uint8_t pulsesPerStep=4)
Construct a new Bankable CCRotaryEncoder object with the given pins, controller, channel,...
An abstract class for rotary encoders that send MIDI events and that can be added to a Bank.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Class that sends relative/incremental MIDI control change messages.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.