Ps3xpad Direct

xinput --list-props You can then use xinput to set button mappings, axis mappings, and other settings.

You can install ps3xpad using the following command: ps3xpad

You may need to compile ps3xpad from source. You can download the source code from the official repository and follow the instructions to compile and install it. xinput --list-props You can then use xinput to

sudo apt-get install ps3xpad

sudo modprobe ps3xpad