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: enabling analog inputs...  (Read 1220 times)

0 Members and 1 Guest are viewing this topic.

mabu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:March 28, 2009, 12:52:39 pm
enabling analog inputs...
« on: March 28, 2009, 02:22:21 am »
I've finally gotten around to rebuilding my MAME cabinet after a few years.   Everything is going well.  I've got a Neo Geo cab with an ArcadeVGA and a J-PAC.  All my buttons and everything are working fine.  I swapped out the old computer for a new one with a newer fresh MAME install and everything is working *except* for my analog inputs.  I have a trackball and a spinner.  My old setup had them both going into the player 1 JPAC controls but what would happen is it would switch back and forth between the trackball and the spinner if there was x secs of inactivity.  I was advised to put the trackball on player 2 and spinner on player 1 so that's what I've done with the new setup.  I'm ready to go except MAME doesn't seem to recognize any of the analog inputs - I'm just getting this part of the software configured and any help would be appreciated. 

Obviously, changing the input settings doesn't seem to work from within MAME - I figure I have to edit something like the mame.ini or controller.ini.  Can anyone give me some help as to what I set in what field to re-enable the P1 spinner and the trackball on P2?

Thanks very much for any assistance!

boomstick

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 32
  • Last login:March 03, 2024, 04:35:07 pm
    • James Clay Photography
Re: enabling analog inputs...
« Reply #1 on: March 28, 2009, 06:20:22 am »
I'm not sure if this will be of any help, but i'll try.  I don't have a JPAC myself, my trackball connects directly through USB

Have a look in your mame.ini file and look for the core input options. See if changing the relevant device controls to mouse will help.
By default, i think they are all set to keyboard.  I dont have a spinner my self, and my trackball is a USB version, but changing the trackball_device to mouse enables it in mame for me.  The spinner i guess would be dial_device, dont know if anyone else can elaborate.

Here is part of my mame.ini file

# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device                 keyboard
trackball_device          mouse
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

Hope you get it sorted  :cheers:

mabu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:March 28, 2009, 12:52:39 pm
Re: enabling analog inputs...
« Reply #2 on: March 28, 2009, 10:56:54 am »
Actually I meant to say an Optipac... I have the analog devices plugged into that - not the j-pac.

mabu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:March 28, 2009, 12:52:39 pm
Re: enabling analog inputs...
« Reply #3 on: March 28, 2009, 12:14:49 pm »
Thanks for the advice - I made some changes and it looks like it helped.  It also helped setting the P1+P2 jumper on the optipac.  It's still acting a bit flaky though and I'm not sure why.  I thought if I connected the trackball to P2 and the spinner to P1, they wouldn't flip back and forth and they are - I'm still trying to iron things out, but I appreciate any and all advice and comments.  Does anyone have an optipac and want to share their setup?

Todd H

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 658
  • Last login:August 26, 2024, 02:23:32 pm
  • It's Gameday!
Re: enabling analog inputs...
« Reply #4 on: March 31, 2009, 08:24:22 am »
Make sure multimouse is enabled in your ini file:

multimouse      1