Look up glovepie. I use that to map buttons from one input to another. For example, from my electronic piano keyboard to ALT-1, etc.