I think the solution the Shideravan gave is very good, especially when you remember that there are many systems with very buttons on each input, and in such cases is always confusing to configure each control attached...
I quite like it too, but I think it would be easier to have everything in the same menu rather than in separate ones, with inputs for each device being hidden/revealed at user choice, so that e.g. you start with a list
and by clicking on each entry you open the list of the corresponding inputs to be reconfigured (or hide them if they are already shown)... e.g.
this will require some work before being fully functional, but we have anyway to redesign the menu handling in view of future developments (when the "root" device will cease to have a privileged role), so it might be a good moment to move in that direction
for the moment, I have modified the inputs to look as follows
IBM 5150 (serial mouse)
IBM 5150 (null_modem System Configs)
which is a first step towards the design above.
Next, I will if I can avoid printing the "P1", "P2", etc. parts in the slot inputs
Thanks for the feedback