Replies: 2 comments
-
All MIDI elements have |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for the response!
Best regards
Georgios Iakovou
Chemist, MSc
… On 29 May 2022, at 04:36, Pieter P ***@***.***> wrote:
All MIDI elements have enable() and disable() functions, e.g. CCRotaryEncoder::enable() <https://tttapa.github.io/Control-Surface-doc/Doxygen/d3/d62/classCCRotaryEncoder.html#a486f22824bd83c5308a0d70ffac6f758>.
You can use the MultiPurposeButton <https://tttapa.github.io/Control-Surface-doc/Doxygen/db/d45/3_8MultiPurposeButton_8ino-example.html> class to detect long presses.
—
Reply to this email directly, view it on GitHub <#722 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ANCCCBM5AK4Z6U2B2N2V4T3VMLCZ7ANCNFSM5QL2PXCQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for the amazing work you have done!
I have 8 encoders with push switches which i have hooked up on my leonardo to use as a midi pedal board. Everything works with your library. However, I want the encoders to work only if a "long press" of switch number 1 is active. Can you please point me to the right direction to use the if function to activate encoders sending signal inside the loop based on a condition?
Beta Was this translation helpful? Give feedback.
All reactions