Is you sustain pedal continuous (or semi-continuous) ?
I do not think it can work well as as pitch bend, but I use it as a ModWheel. You will need MFX which converts CC 64 to CC 1, f.e. "CC Map" from
http://www.tencrazy.com/gadgets/mfx/ Since my DP is not near my computer, I use my own MFX with Sustentto (middle) pedal switching Sustain between normal behavior and ModWheel (in addition to 3 upper keys switching partches in synth...). But for basic operation "CC Map" should do the trick.