How to map multiple controllers

I have a single (X360 on a PC) controller working just fine, but my game is multiplayer and any/all all attached controllers are active. I want to have a separate controller for each player. I believe I have this working, but the way I have the input manager set up seems to be inefficient:

As you can see, I am creating a new axis for each axis on each controller. This appears to be working, but having 60ish axes set up (15ish per controller) seems to be inefficient. Is there a better way to do this, or should I just get copy-and-pasting?

I think what you’re doing is the only way to setup multiple joysticks with Unity’s InputManager. You also have to tune the gravity/deadzone/etc values separately for each gamepad : (

There are both free and paid alternatives to unity’s input manager that might make this easier.