@@BH-ModernTimes is it any particular foot pedal? Like a sustain pedal or is there a special pedal you have to buy and program it? Asking because id like to have that facility myself.
On Yamaha you can use sustain (which is actually a switch) pedal for that purpose. On keyboard you only need to define what you wish to happen when you press it -in this case I set it to "switch to next style variation" (but there are a lot of other options) -I can highly recommend it.