Control Surface master
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
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out relat...
CCRotaryEncoder(OutputBankConfig<> config, Encoder &&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.
Class for reading quadrature encoders, based on http://www.pjrc.com/teensy/td_libs_Encoder....
Definition: Encoder.h:59
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.
remove_reference< T >::type && move(T &&t)
Definition: move.h:16