Here you go,
AE Button Plus. Only thing to remember is to enter the default function for the key when you use this program to control the hardware button (ie single press vol. down=volume down, double press=whatever you want, triple press=whatever you want, long press=whatever you want).