Thanks to the sixaxis emulator, it’s possible to use a Xbox 360 gamepad with the PS3.
This requires a small patch for the d-pad, which is defined as a “joystick hat”.
The configuration file is available there.
The d-pad support will be included in next packages.