Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: mabu on March 28, 2009, 02:22:21 am

Title: enabling analog inputs...
Post by: mabu 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!
Title: Re: enabling analog inputs...
Post by: boomstick 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:
Title: Re: enabling analog inputs...
Post by: mabu 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.
Title: Re: enabling analog inputs...
Post by: mabu 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?
Title: Re: enabling analog inputs...
Post by: Todd H on March 31, 2009, 08:24:22 am
Make sure multimouse is enabled in your ini file:

multimouse      1