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: Groovymame not honoring Input Device Options  (Read 1244 times)

0 Members and 1 Guest are viewing this topic.

quad

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:January 22, 2016, 03:00:59 pm
  • I want to build my own arcade controls!
Groovymame not honoring Input Device Options
« on: January 09, 2016, 02:17:25 am »
Hi, I need the Groovymame build to support Input Device Options like the normal mame build.  The normal build allows this section at the bottom of the mame.ini file:

#
# INPUT DEVICE OPTIONS
#

global_inputs             0
dual_lightgun             0
joystick_id_1             2
joystick_id_2             3
joystick_id_3             4
joystick_id_4             5
joystick_id_5             6

In my example above, I need mame to recognize the joystick device mappings because windows is assigning 0 and 1 to other non-joystick hardware.  This works on normal mame, but not in groovy. 

Groovy is ignoring this mapping section and just using 0,1,2,3 for the joystick device ids.  I've verified this by starting up a 4 player game and player 3's joystick (default as device 2) is moved by my first player joystick.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: Groovymame not honoring Input Device Options
« Reply #1 on: January 09, 2016, 04:41:28 am »
Hi quad,

Is there any way to test this without having 4 joysticks, I mean without a specific physical setup?
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

quad

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:January 22, 2016, 03:00:59 pm
  • I want to build my own arcade controls!
Re: Groovymame not honoring Input Device Options
« Reply #2 on: January 09, 2016, 02:33:28 pm »
One idea would be to just simply try to map joystick 0 to joystick 1 using this section.  You should be able to swap the two joysticks virtual ids this way.  So, if you have two joysticks where player 1 is device 0 and player 2 is device 1, simply do this in the mame.ini:

joystick_id_1             1
joystick_id_2             0

If you've ported over the trunk mame functionality, this should effectively remap the sticks only to mame.