To wire it up like the I-PAC FAQ, you wire the button to both boards, and ground to both boards. In this situation, the button sends both a mouse click and keyboard key with each press.
PedroSilva's solution is preferable, I think, for MAME, but may not be good for other software that won't allow you to assign a button click to an action.