Steam for Linux

I was wondering if anyone has had any luck getting the Logitech dual action gamepad working for tf2 under steam for linux. I had placed a file named joystick.cfg into ../steam/steamapps/cybob_7/Team Fortress 2/tf/cfg, which is loaded by the console, but when trying to map any of the buttons or use the sticks, nothing registers. I had found the cfg file after some googling and is as follows:

The controller has been calibrated and works fine under another of my games, bastion. I just had the thing lying around. This is more of a curiosity to see if it can work than anything else. Any help is appreciated. I am currently running Linux Mint 14 KDE.

So I found a package for ubuntu and linux mint users called joystick. I ran the commands

sudo apt-get updatesudo apt-get install joystick

From there I ran the kde's calibration tool from System Settings > Input Devices , selecting the joystick option in the side pane. I had found that users with gtk could also give a program called jstest-gtk a go. Bastion was working after this calibration. Still I was having issues with tf2 not recognizing the gamepad's input. Then I tried messing around in big picture mode. In the settings, I found settings for mapping a controller. It is fairly straight forward, and all the buttons were matched up according to the picture, except for one which I figure is the center xbox button(don't have one of those). After that, I ran tf2 again. And it worked! Hope this helps anyone else having problems w/ gamepads.

Also, does xboxdrv work for non xbox controllers capcavern? That may have helped as well, but since I got it working last evening, I didn't bother. Thanks though.