sustain on/off

Is there a possibility in cubase 8.5 to set the sustain midi controller to on/off instead of using all 128 levels?
It would make editing sustain pedal much easier in those cases where you don’t need half pedal.