#pragma once #include #include BEGIN_CS_NAMESPACE class NoteChordButton : public MIDIChordButton { public: template NoteChordButton(pin_t pin, MIDIAddress address, Chord chord, uint8_t velocity = 0x7F) : MIDIChordButton(pin, address, std::move(chord), {velocity}) {} void setVelocity(uint8_t velocity) { this->sender.setVelocity(velocity); } uint8_t getVelocity() const { return this->sender.getVelocity(); } }; END_CS_NAMESPACE