Setup joystick axis from code not Input Manager

I’m trying to build a script to setup use for an Xbox 360 controller for web/pc standalone. I was just wondering if it’s possible to setup the required axis without using the Input Manager. So that developers can just drop in the script and their controller will work. I know that the Input class has GetAxis and GetJoystickNames, but if the class has getters, shouldn’t it also have setters?

If you have any ideas please let me know.

The Input Manager isn’t scriptable at all.

–Eric

I’m not necessarily trying to modify the Input Manager itself, but it’s currently the only place I can add in new axis. I was wondering if the Input class had a way to add them from code. The xbox360 controller requires that I add 5 extra axes to input. So there is no way I can do that outside of manually setting them up in the Input manager?

As I said, it’s not scriptable at all.

–Eric

Ok thanks anyways… back to the drawing board

Luckily for you, this thing exists.

http://forum.unity3d.com/threads/130730-cInput-2.0-Unitys-custom-inputmanager-got-improved-!?highlight=input+manager