Is there a way to make foot pedal to produce a midi note

I have obviously looked at the manual and the Cubase 7 manual does not seem to say that there is or isn’t a way. Hence this question. I’m hoping somebody might know a work around that is not obvious,well obvious to me at least…