I am searching for how to use available devices as a sustain pedal.
Is there ready to use software with low latency that can handle input and translate it to midi?
Or C#,C++ example how to send MIDI messages in respond of user input.
I found sustain is
MIDI CC 64
with value 0 to 63 = Off, 64 to 127 = On