Ok it worked with 2 InputSystems, one for each layout, so you have to pass InputSystem configuration using Get/Set control configuration data and a temporary variable. Not very clean, but that should work
Meanwhile, when I was testing this layout system, sometime It crashes with this message:
"You can't have a layout object set to view it's own layout!".
My example is here: