Well I have MAMEd a completely dead Pole Position, so I am pretty intimate with the logistics.
First off, I will just come out and say that if you have a working Pole Position, just keep it that way, and get a different cabinet to MAME. It will take a lot of work and heartache just to get a MAME version of Pole Position working correctly. Have gone as far as I could with it and I still did not get it 100% (see below). If you have your heart set on a Pole Position driving MAME cabinet, get another dead/stripped Pole Position and use it, there are plenty of dead ones around. Or you could just wait until your PP dies, yeah I know, that’s morbid, but PPs are notorious for breaking down.
First off, the steering wheel acts like a mouse X axis, that is left and right movement. I am not familiar with GameEx but if you can use left/right mouse movement to select games, then that is possible. You would use the Optipac to interface the wheel to the computer. It is basically a glorified mouse PCB.
Now the pedal acts like a PC joystick, you know the old flight sticks that have the 25-pin connector, which a lot of the PCs don’t have today unless you install a sound card that has one. There are USB analog sticks available now. You would use the APAC to interface the pedal to the PC.
Now the shifter on the original PP only has 1 microswitch, and it stays either ON or OFF to control the Hi/Lo gear in the original game. Now the standard version of MAME does not support the ON/OFF shifter scheme of the Pole Position shifter. If you just hook up standard compile of MAME, you will have to change gears by moving the shifter DownUpDown or UpDownUp depending on which way you have it wired. You will not be able to switch gears by just moving the shifter Up for Hi and Down for Lo.
You have to recompile the MAME code to support the ON/OFF shifter. Which I don’t know how to do. There are a few threads on here that subject. I was able to get a recompiled MAME.exe that supported the PP shifter, but I had to futz with the ROM files to get it to run, and after that, I was missing the car explosion sounds during the game so I never got it fully working 100%.
So basically all the controls you will have will be Left/Right mouse movement, single axis Analog Joystick movement, and one switch for the shifter. You could get 2 more switches by wiring up the Coin doors.
So all that is just for Pole Position (and Pole Position 2). Now if you want other driving games on there, they may have slightly different control schemes like 4-position shifters, gas and brake pedal, extra buttons, etc… so you have to find a way to deal with that.
OK, that was a mouthful… so before I make up a wiring diagram showing you how to interface all that with the PC while keeping the original wiring harness intact, let me know if you still wish to continue with this…