Hi
Just remembered I posted it on the forum here
http://forums.pimoroni.com/t/new-2-x-configurable-keyboard-gamepad-firmware/1881/32?u=paulcheffus
You will need to copy and paste the code in the link into a file called something like keybind.py and then run it using python keybind.py
Cheers
Paul