The fix is:
Choose the game in Steam, right click, select "Properties" and go to controllers. Then in the box that says “use default setting” I choose “disable Steam input”.
http://forums.dovetailgames.com/threads/pc-gamepad-support-not-working-in-tsw-4.73720/