Input Mapping Contexts for different devices

I have been working on a tiny prototype for which I currently have a bunch of Input Actions, all connected to an Input Mapping Context. I have placed this on the player controller with some movement logic in all the Input Actions. I had started this with an emphasis on making this proto for PC, so keeping keyboard and mouse in mind, and then I started expanding the number of IA’s when using an Xbox Controller. Most of the present IA’s worked, some required additional IA’s so I made that happen.

Questions:

  1. I wanted to understand how this system works in games where when I connect the controller, the input changes to the controller immediately.
  2. I was trying to setup the left stick of the controller as a digital button instead of analog, and I realized changing that should make more sense if I have multiple IMC’s. Up until this I was able to make the same IA’s work both keyboard and Controller input.
  3. What would a structure of multiple IMC’s look like? I have been thinking it will mostly have a connection to the save game file, and become active through the game instance, with the keyboard being set as default and if controller gets connected, then that becomes the active IMC? I don’t know..
  4. If I am making a PC prototype, and want to export it onto a steam deck for testing, should it make sense to have a different IMC for the steam deck?