Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: CincinnatiKid1985 on January 16, 2013, 02:29:39 pm

Title: IPAC 2 works in text editor but not in Mame
Post by: CincinnatiKid1985 on January 16, 2013, 02:29:39 pm
I am using advmame (http://advancemame.sourceforge.net/ (http://advancemame.sourceforge.net/)) with my Raspberry Pi computer with Raspbian Linux. I bought an IPAC 2. As a test I wired just one button to the coin key (number 5). If I get into a text editor, and press the button it prints a 5 in the text editor. Once I load a game in MAME, and press the button, a coin is not added, but when I press the 5 on the keyboard that is connected also, a coin is added.

This makes no sense to me, has anyone ever had this issue. I also tried with the right arrow. I get in a text editor, and can scroll over with the button, but in game the button does not work.

Thanks for your help.
Title: Re: IPAC 2 works in text editor but not in Mame
Post by: BadMouth on January 16, 2013, 02:39:31 pm
Do you have multiple keyboards enabled in the MAME.ini?

If so, MAME is looking for input from a specific keyboard.
It will say KBD 1, KBD 2, etc where you map the controls in MAME.

Either change it in MAME.ini or just remap the control in MAME to the proper keyboard.
Keep in mind that after you unplug the keyboard, you will no longer have a keyboard 2.
Title: Re: IPAC 2 works in text editor but not in Mame
Post by: CincinnatiKid1985 on January 16, 2013, 03:00:32 pm
I am guessing that this is it. I never changed a multiple keyboard setting, so I am guessing it is set to 1. I will test this out tonight when I get home and report back.

Thanks!
Title: Re: IPAC 2 works in text editor but not in Mame
Post by: CincinnatiKid1985 on January 17, 2013, 01:36:24 pm
I never figured out how to enable 2 keyboards at the same time, but I was able to enable buttons on the IPAC, disabling the normal keyboard with input_map in the advmame.rc file. I was able to plug a PS/2 keyboard in thru the IPAC passthur instead of into the motherboard, and now I can use both keyboards.

thanks.