Control Surface pin-t-adl
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
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...
BorrowedCCRotaryEncoder(AHEncoder &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(AHEncoder &&encoder, MIDIAddress address, int16_t speedMultiply=1, uint8_t pulsesPerStep=4)
Construct a new CCRotaryEncoder object with the given pins, address, channel, speed factor,...
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.