Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Ummon on October 20, 2008, 03:58:39 am

Title: joystick (analog) configuration with Advancemame issue
Post by: Ummon on October 20, 2008, 03:58:39 am
I searched the threads and found what people have done with Mame/Mame32, but Advancemame seems to denote things (or at least behave) differently and I can't figure out how to set it to avoid the conflict between my U360 and my trackball or spinner (depending on the game controls). Essentially, it favors the stick, locking out input from the trackball or spinner.

This is the syntax:     input_map[p1_stickx] joystick[0,0,x] -joystick[0,1,x]
                                  input_map[p1_sticky] joystick[0,0,y] -joystick[0,1,y]

I'm assuming the first number is the stick ID, the second the direction of rotation, but when I change the first number nothing happens. Of course the direction changes when I change the second number.

Has anyone this problem with a joystick in Advancemame?
Title: Re: joystick (analog) configuration with Advancemame issue
Post by: Ummon on October 23, 2008, 06:32:10 pm
edit
Title: Re: joystick (analog) configuration with Advancemame issue
Post by: Ummon on November 10, 2008, 09:42:53 pm
Re-worked and bumped
Title: Re: joystick (analog) configuration with Advancemame issue
Post by: Ummon on November 20, 2008, 12:31:52 am
Okay, I tried something new. I found out that if you put in 'none' for device_joystick, then that turns off input from an analog stick. Of course I don't want this for most games, so I put in entries for each spinner and trackball game. It turns off the stick, but only input from spinners is being allowed. Still no ball input is being allowed.
Title: Re: joystick (analog) configuration with Advancemame issue
Post by: Ummon on November 21, 2008, 05:02:12 am
Well, I looked at the docs for a long while more and it seems that the same driver is used for trackball and joystick input. Or, rather, that trackball is under analog input. Weird. I can't imagine someone out there using Advancemame hasn't used a trackball and an analog stick together in their system, and either encountered this, or not. Anyone out there?
Title: Re: joystick (analog) configuration with Advancemame issue
Post by: tikbalang on November 21, 2008, 09:37:00 am
this link is the opposite of what you are trying to solve, but maybe you can get something out of the configuration principle used:

(analog games with digital stick, spanish)
http://zonaarcade.forumcommunity.net/?t=6132377

Title: Re: joystick (analog) configuration with Advancemame issue
Post by: Ummon on November 23, 2008, 02:06:33 am
Well, that's in spanish so I don't know if I get it, but it seems they're setting the directions to 'none' and selecting the 'analog' input...but I don't at the moment know how to set that. I'll have to look.