Using Footwswitches I and II for midi control

using Footswitches I and II on nano cortex to send midi PC to other midi device, which sends back midi PC to nano cortex per USB, so I can switch presets up and down?

I´m using my Boss GT 1000 core as midi controller to change presets on the nano per midi pc and switch fx´s on and off per midi cc. I don´t use the footswitches I and II on the nano. So I had the idea, whether I can not use this two “unused” button. Is there a way to do this? Thank´s all for your help!