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: SDL MAME 64 control question OSX Yosemite  (Read 1842 times)

0 Members and 1 Guest are viewing this topic.

ladysephiroth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:September 26, 2016, 05:40:24 pm
  • I want to build my own arcade controls!
SDL MAME 64 control question OSX Yosemite
« on: October 02, 2015, 11:04:23 pm »
I'm trying to map spinner (and eventually trackball when I get it put together) to the respective games in MAME (spinner for Breakout and Tempest, Trackball for Centipede and Bowling) and I can't get it to auto map.  Whereas when I mapped my controller I'm using while I build my panel, i just had to click the button or the d-pad direction and it would find it, I can't get it to do that for the analog stuff.  I know it's working, the OS recognizes it and the mouse cursor moves when I spin it, but I can't find anything on how to map it under MAME.  Help?

Thanks!

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 9664
  • Last login:Today at 05:25:22 am
  • Designated spam hunter
Re: SDL MAME 64 control question OSX Yosemite
« Reply #1 on: October 02, 2015, 11:38:16 pm »
I'm trying to map spinner (and eventually trackball when I get it put together) to the respective games in MAME (spinner for Breakout and Tempest, Trackball for Centipede and Bowling) and I can't get it to auto map.  Whereas when I mapped my controller I'm using while I build my panel, i just had to click the button or the d-pad direction and it would find it, I can't get it to do that for the analog stuff.  I know it's working, the OS recognizes it and the mouse cursor moves when I spin it, but I can't find anything on how to map it under MAME.  Help?

Thanks!
One minor correction: Spinners and trackballs are optical (mouse) devices, not analog (potentiometer) devices.

MAME should automatically recognize the optical devices if "mouse" is enabled (1) in mame.ini.

Quote
#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     1
joystick                  1

"mame -cc" (-cc=create config) generates the mame.ini file.


Scott
« Last Edit: October 03, 2015, 10:07:10 am by PL1 »

ladysephiroth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:September 26, 2016, 05:40:24 pm
  • I want to build my own arcade controls!
Re: SDL MAME 64 control question OSX Yosemite
« Reply #2 on: October 03, 2015, 09:55:08 am »
Thank you for the semantic correction! I'm still learning the ropes here :)

I'll look for that in a bit and report back.  Coffee first, mess with computers second :P

ladysephiroth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:September 26, 2016, 05:40:24 pm
  • I want to build my own arcade controls!
Re: SDL MAME 64 control question OSX Yosemite
« Reply #3 on: October 03, 2015, 11:16:29 am »
So I did this on my laptop and it worked great, but when I went to do it on my media machine, it didn't.  Only difference is in the media machine I moved the MAME directory from my user directory to the root of the HD so that multiple users can access it (I have an admin logon that I use to mess with the machine and a user logon for when I take it places)

Does the .ini file need to be in a certain place?  AFAI can tell it's making it in the MAME directory that's on the root drive, does it need to be somewhere else? 

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 9664
  • Last login:Today at 05:25:22 am
  • Designated spam hunter
Re: SDL MAME 64 control question OSX Yosemite
« Reply #4 on: October 03, 2015, 08:50:18 pm »
Does the .ini file need to be in a certain place?  AFAI can tell it's making it in the MAME directory that's on the root drive, does it need to be somewhere else?
"mame -cc" should generate he file in the correct location -- either the "mame\" or "mame\ini\" folder. (depending on MAME version IIRC)

If there is a "mame\ini\" folder, the mame.ini file should be in there.

Two other things to keep in mind:

  1. If that type of device (mouse/trackball/spinner) isn't plugged in, MAME will not offer it as a default option.

  2. If you changed any control input settings for a specific game, that will override mame.ini and defaults -- return the inputs to default settings using Enter, ESC (sets it to "none"), Enter, ESC. (resets it to default)


Scott