Gets the mapping key code for the joypad button id.
a KeyJoypadMapping
joypad button id
mapping key code