Control Surface master
MIDI Control Surface library for Arduino
CCRotaryEncoder.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
17class CCRotaryEncoder : public MIDIRotaryEncoder<RelativeCCSender> {
18 public:
47 int16_t speedMultiply = 1, uint8_t pulsesPerStep = 4)
49 std::move(encoder), address, speedMultiply, pulsesPerStep, {}) {}
50};
51
63 : public BorrowedMIDIRotaryEncoder<RelativeCCSender> {
64 public:
90 int16_t speedMultiply = 1, uint8_t pulsesPerStep = 4)
92 encoder, address, speedMultiply, pulsesPerStep, {}) {}
93};
94
#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...
BorrowedCCRotaryEncoder(Encoder &encoder, MIDIAddress address, int16_t speedMultiply=1, uint8_t pulsesPerStep=4)
Construct a new CCRotaryEncoder object with the given pins, address, channel, speed factor,...
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out relat...
CCRotaryEncoder(Encoder &&encoder, MIDIAddress address, int16_t speedMultiply=1, uint8_t pulsesPerStep=4)
Construct a new CCRotaryEncoder object with the given pins, address, channel, speed factor,...
Class for reading quadrature encoders, based on http://www.pjrc.com/teensy/td_libs_Encoder....
Definition: Encoder.h:59
An abstract class for rotary encoders that send MIDI events.
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.
remove_reference< T >::type && move(T &&t)
Definition: move.h:16