I can maybe help you some of the way. Try this:
1. setup your midi controller to send a midi cc and as a toggle switch. The value useally is 127 for on and 0 for off.
2. go to the bypass A setup on the Orville and select Capture Midi
3. press the foot switch on the midi controller
4. select *done* in the bypass A setup
Hope this helps.