antimicro
Graphical program to map keyboard and mouse controls to a gamepad
...On Linux, this means that your system has to be running an X environment in order to run this program.
This program currently works with various Linux distributions, Windows (Vista and later), and FreeBSD, but with limited support for FreeBSD and Windows XP.