When both hold bottons are deactivated then MIDI CC 64 should work like in the original synth (entire keyboard for whole/dual mode, lower in split mode).
When portamento is set to off then MIDI CC 65 should do the trick.
Without some clever MIDI CC mapping it's not possible to get the pedals to work as expected.
Masi