Quick way for switching between RetroPad and RetroKeyboard?

Hi,

I was wondering if there’s a quick way to switch between RetroPad and RetroKeyboard? For example the possibility to have a hotkey attached to switching between the two?

I’m asking because with the BlueMSX core there are various games that use Joystick Port 1 (Retropad) for movement/shooting within a game, but use the MSX keyboard input for various other tasks (selecting number of players, pause, etc.).

Instead of the (slightly tedious) switching of Retropad->Retrokeyboard->Retropad via the retroarch menu every time I want to select number of players at start of a game via the keyboard, it would be very nice to have them easily switched back and forth via a hotkey.

Not sure if this is possible already?