Is it possible to use a PS3 controller to emulate an xbox controller?

view story

http://unix.stackexchange.com – I have my PS3 controller connected through USB and while that works fine, no applications seem to support its keymap. So my question is whether it's possible to make it emulate an xbox controller similar to what MotionInJoy does on Windows? I have done some googling but to no avail. I stumbled upon QtSixA which allows me to assign keys to the controller's buttons, but I don't know what key ids the xbox uses. I use Linux Mint 13 if it changes anything. (HowTos)