I recommend using the XM-07, a HID controller & encoder device. It can run on almost operating systems and games. Whether single player or dual players, digital inputs or analog inputs even keyboard and trackball. You just need only one. XM-07 can replace mostly dual players controllers and single player controllers.
All of our products are compatible but not limited to Win8/Win 7/ Vista/XP/2000/98 & Linux & Android & MAC OS & Raspberry Pi.
About the wiring, all types of our products are the same. Every push button has two pins, one is must be wired to the GND(Ground), the other one is wired to the signal pin of the controller.