Key-Mapper
A tool to change and program the mapping of your input device buttons. Maps mice and keyboards. Basic support for gamepads as keyboard + mouse combination. It can also execute timed macros using a custom syntax.
For more information and installation instructions, see key-mapper on github.