i have a 2 player cp with a 4 way joystick in the middle. the button im having trouble with is the one of the buttons on the second player. the 2p has 7 buttons. anyway, everything is grounded ALL TOGETHER. im not using any block or anything, its all grounded to one GRD on the ipac. all the other buttons work except this one. anyone got any ideas as to why this one wont? and im pretty sure its not a config issue, cuz when i try to map the button say in an NES emu, or in Mame, it doesnt work.
I had this same problem ... it ended up being a bad microswitch (easily replaced

). Here are some of the things that I tried to get it working again:
1. Change the microswitch out for one that you know works, or ...
2. Check both ends of the wire to ensure a secure connection. I assume that there is another button mapped to this same spot on your I-Pac -- if that button is working, then it is definitely not your I-Pac, but the button itself or the connection. Or ....
3. Ensure that the button (when pressed) is actually hitting the switch on the micro-switch. Some of the cheaper buttons actually get loose and when you press them they won't depress the switch on the micro-switch. If you have Happ buttons with Cherry switches, this is not likely the case, but it is easy to check, so I recommend it anyway.
Hopefully, it is something easy like this and not a programming issue .... that could be a bit more difficult (though not impossible) to correct.
Good Luck ... Keep us posted.
MM