Configuration:PS3 Controller with qtsixa
QtSixA can connect PS3 hardware (Sixaxis/DualShock3 and Keypads) to a Linux-compatible machine.
Currently it supports Sixaxis buttons, axis, accelerometers and LEDs. Rumble support is available in the latest version.
QtSixA also registers the Sixaxis and Keypad's MAC/ID in the joystick name (ex: "PLAYSTATION(R)3 Controller (00:XX:X0:0X:XX)".