Those switches are not assigned for two reasons: Firstly some of them have no default keycode in Mame, and second, if they were assigned the default keycodes, they would overlap the player 1 and 2 codes. The reason for that is the player 1 and 2 on the I-PAC 4 are the same as on the I-PAC 2. So I decided the best way was for the user to devise a keycode map for those buttons, either using the same codes as (unused) I-PAC 2 codes or different codes.
Incidentally the number 1 support request I get is caused by P2 buttons 5 and 6 not being assigned to anything in the default Mame config. It would be good if Mame assigned these by default.
The Opti-PAC behaviour is by design. Hopefully you would not want to use both controls in one game. When both controls are connected in this way (ie not using Player 2 connections), they appear as the same control to the PC, so you cant use them anyway for different functions in the same game.
The monitor problem sounds like a loose wire from the VGA card to monitor, One of the 3 color wires. Which color missing, ie red, green or blue, causes a yellow display? Cant remember right now...
Thanks Andy for the reply. Concerning the screen flickering, that was my first guess but if I disconnect the comm from the Optipac board, I cannot get my screen to flicker no matter what I try. As soon as I connect the optipac board, and start using the trackball and or spinner, my screen starts flickering with a yellow tent. I think there is something going on with the optipac board. I am going to double check my connections while I am on my lunch break today. I have the jumpers on the board setup just like the optipac pic on your website. See attached... I have left and right click buttons, 5v/ground x and y axis for the trackball spliced together going to the appropriate inputs, x1,x2,y1,y2 for the trackball appropriately installed in the correct input. Now, I am going to have to double check the spinner cabling. I can't remember where the wire was going to what input. I am thinking 5v/ground, x1 and x2. Now here is my question, if the jumpers are set duplicated to your pic, this would be deemed what mode below:
USB Mode: One USB cable handles up to two trackballs and 4 spinners/rotary joysticks.
Serial mode: Two independent serial port inputs to accomodate two trackballs and 4 spinners/rotary joysticks.
No external power needed when used in USB mode.
In serial mode takes power from I-PAC using supplied cable, or any 5V source.
I am trying to figure out and make sure all my connections and power is correct on the optipac board. Now the only cable going to the PC is the serial cable. I have no cable going to the IPAC board. There is a place for ground and 5v next to the left/right mouse inputs. Do I need to worry about either of those inputs?
Now concerning the keycodes. I think I get what your saying. Because I am not using the default keys for switch 7 and 8 on all players, specifically related to the two player IPAC, that would leave me four keys open, p1-sw7, p1-switch8, p2-sw7 and p2-sw8. I can use those and assign to the p3-sw6 and p4-sw-6. That would allow all the buttons to function. Now within Mame, I would have to assign p2-sw5 and p2-sw6 (buttons five and six), to those assigned for those buttons. I have not gotten that far yet but am guessing this is done by pressing the TAB button and going into the assignment options? Hopefully this is not on a game by game basis?
First step first, I need to figure out what is going on with the Optipac board. Can you post back and let me know if I have everything setup correctly per my explaination above? I could probably provide you a pick if you need it. I am not sure at the moment if I need to provide the 5v and ground inputs next to the left/right buttons inputs or not.
Thanks, Shane