This guide will show how to fix the controller for Madness.
Guide to Fix Controller
Click this option in the top right of the Steam overlay.
Browse and Templates
Click on browse configs. Then click on templates, Gamepad is the option of course.
Thats all you need to do, now hit that start button and go mad!