Sustain and velocities in key editor?

I’m currently using a VST called pianoteq in cubase. It records all my notes I record but I don’t know how to add the sustain pedal. I figured it’s done with velocities but I can’t find anything on that and it doesn’t appear anywhere, and automation doesn’t have sustain either. I’m using Cubase 5.