#pragma once #include #include BEGIN_CS_NAMESPACE class CCRotaryEncoder : public MIDIRotaryEncoder { public: CCRotaryEncoder(AHEncoder &&encoder, MIDIAddress address, int16_t speedMultiply = 1, uint8_t pulsesPerStep = 4) : MIDIRotaryEncoder( std::move(encoder), address, speedMultiply, pulsesPerStep, {}) {} }; class BorrowedCCRotaryEncoder : public BorrowedMIDIRotaryEncoder { public: BorrowedCCRotaryEncoder(AHEncoder &encoder, MIDIAddress address, int16_t speedMultiply = 1, uint8_t pulsesPerStep = 4) : BorrowedMIDIRotaryEncoder( encoder, address, speedMultiply, pulsesPerStep, {}) {} }; END_CS_NAMESPACE