The older Yamaha pedals used to be based on a "99" degree limit to midi messages, and the newer KBs respond to 128 degrees (typically 0-127) - Maybe your pedal is sending a message of 99 (max) and the KB is confused? Just a guess.
_________________________
No longer monitoring this forum. Please visit www.daveboydmusic.com for contact info