If windows sees them as keyboard keys use hyperhq and set it there. If windows sees them as joystick buttons you will use joy1, joy2, ..., joy7, joy8 in the .ini.
Try the joydetection.ahk included in the download to help you out. You will need to install autohotkey to get the joydetection.ahk thing to work.