It's amazing how unhelpful some people can be here... you should have posted this on steam's forum, you would have gotten way more help imo.
Firstly did you create the joystick.cfg into your cfg folder for the game that you wanted?
It looks fairly simple really. Open a notepad and copy & paste the code that the dude kindly provided for you in the first link. Save the notepad as joystick.cfg (removing the .txt).
Then place it in you steam folder as follow: Steam SteamApps <username> portal portal cfg
You need to do this for each game it seems...








