XBCD 360 is what you are looking for.
I'm thinking about writing up a guide to setting the 360 controller up using XBCD 360 and each GTA game so that it behaves just like the XBOX versions when played on 360.
Hum, maybe I will do the same for PS2-style controllers and the PS2 layouts.