you have to download a special program for it but then you can make your computer think that your controller is an xbox controller and use it for your pc
I don't know how to hook up my ps3 controller for playing on my computer :O
I'll definitely have to get those on Steam one day
The only thing I really play on my computer is Sims 3