here is what have so far for my key mapping.
im sure is will not work, but till i can get the libretro to read the joymap i cant test it.
#key map for keyboard keys for wireless 360 controller
# Remapping the controller
axis vendor=0x045e product=0x0291 src=0 target=joyaxis device=0 axis=0 # left, right axis
axis vendor=0x045e product=0x0291 src=1 target=joyaxis device=0 axis=1 # up, down axis
button vendor=0x045e product=0x0291 src=1 target=joybtn device=0 button=0 # B button
# not sure if i need the flags="trinary" for my axis or not
#buttons for selecting the game
button vendor=0x045e product=0x0291 src=5 target=kbd button="num1" #right bumper
button vendor=0x045e product=0x0291 src=7 target=kbd button="num2" #right trigger
button vendor=0x045e product=0x0291 src=4 target=kbd button="num3" #left bumber