For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download Auto Gamepad Generator for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Auto Gamepad Generator v1.2
“If possible, please buy the package to support the developer”
Compatible with Unity 5.x and Unity 4.x!
Auto Gamepad Generator makes adding controller support to your existing game that has mouse/keyboard controls just a few clicks away.
Takes less than 5 minutes to go from keyboard/mouse only to supporting controllers!
Features
* Automatically detects your input manager
* Provides easy drop-downs for mapping
* No new API to learn
* No code changes required
* Remaps both keyboard and mouse
* both controls coexist seamlessly
* Works with uGUI menus
* Supports many controllers and platforms
* Takes just a few minutes
So you’ve created your game with keyboard/mouse controls using Unity’s Input API for quick iteration in the editor. Perhaps you’ve thought about controller support but which controllers and which platforms? Then you looked into it and have realized that there are no standards on controller mapping at all and it’s a mess. Finally, something easy can be done about it!
With Automatic Gamepad Generator you can support today’s most common gamepads within 5 minutes. No coding required and simply use our user friendly editor window to add the controller mappings that you desire for your game and that’s it! We generate the additional Unity Input Manager virtual axes and buttons for you. Existing code will now work for gamepads!
Platforms Supported
* Windows
* Mac
* Linux
* IOS
* Apple TV
* Android
* Xbox Consoles
* Playstation Consoles
* Fire TV
* Android TV
* Web GL
List of the many controllers supported
Check out our Unity forum thread or Online documentation for more information.