Toggle Sustain pedal on/off

Hey there, thanks for your help.

So, i record a piano part using the sustain pedal, on, legato.
Then if i unplug my midi keyboard the sustain is gone!
Only solution is to plug it in again and press the pedal down, which is very annoying.

Is there not a button somewhere which i can simply turn it on/off within the recorded part?

Thanks

You can draw in any controllers you like using the controller lanes in the MIDI Editor.