Ps3xpad Access

sudo apt-get install ps3xpad

You can configure your controller using the xinput command. For example, to list all available controllers, run:

sudo modprobe ps3xpad