Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: IPAC 2 works in text editor but not in Mame  (Read 1415 times)

0 Members and 1 Guest are viewing this topic.

CincinnatiKid1985

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:January 25, 2013, 03:29:25 pm
  • I want to build my own arcade controls!
IPAC 2 works in text editor but not in Mame
« on: January 16, 2013, 02:29:39 pm »
I am using advmame (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.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9273
  • Last login:August 15, 2025, 06:53:06 am
  • ...
Re: IPAC 2 works in text editor but not in Mame
« Reply #1 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.

CincinnatiKid1985

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:January 25, 2013, 03:29:25 pm
  • I want to build my own arcade controls!
Re: IPAC 2 works in text editor but not in Mame
« Reply #2 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!

CincinnatiKid1985

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:January 25, 2013, 03:29:25 pm
  • I want to build my own arcade controls!
Re: IPAC 2 works in text editor but not in Mame
« Reply #3 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.