Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: arzoo on January 24, 2009, 10:06:32 pm

Title: Mala thinks joystick 2 is joystick 1?
Post by: arzoo on January 24, 2009, 10:06:32 pm
I recently built a new mame rig and moved my mala folder from the old pc to the new pc. My cp has two u360's. When I check them from XP's game controllers dialog, the stick ID's are correct. From mame, joy1 and joy2 are also correct. But for some reason, MaLa thinks that joy2 is joy1 and I can't seem to switch them - so basically, the wrong stick scrolls the game lists. Any idea how to resolve this? Thanks!
Title: Re: Mala thinks joystick 2 is joystick 1?
Post by: loadman on January 25, 2009, 01:41:26 am
I am sure we have seen this before.

I did a quick search and found nothing so far.

I think the remedy was to use a 3rd part tool to map what joystick went to a certain joystick id in windows...
Title: Re: Mala thinks joystick 2 is joystick 1?
Post by: arzoo on January 25, 2009, 10:15:32 am
I am sure we have seen this before.

I did a quick search and found nothing so far.

I think the remedy was to use a 3rd part tool to map what joystick went to a certain joystick id in windows...
Yup - you can change the IDs using Ultramap, and that's the first thing I did - but then mame had them reversed. I ended up configuring MaLa to use both sticks which allows me to use the correct stick on my cp, but I would still like to know what the problem is. I'm guessing it has something to do with the fact that I copied the mala folder from one pc to another, but that implies that mala had somehow cached or stored the stick ids. I think I'll install a fresh copy of MaLa into a new folder and see which stick it thinks is id1. I'll let you know what happens.
Title: Re: Mala thinks joystick 2 is joystick 1?
Post by: loadman on January 25, 2009, 01:08:29 pm
I am sure we have seen this before.

I did a quick search and found nothing so far.

I think the remedy was to use a 3rd part tool to map what joystick went to a certain joystick id in windows...
Yup - you can change the IDs using Ultramap, and that's the first thing I did - but then mame had them reversed. I ended up configuring MaLa to use both sticks which allows me to use the correct stick on my cp, but I would still like to know what the problem is. I'm guessing it has something to do with the fact that I copied the mala folder from one pc to another, but that implies that mala had somehow cached or stored the stick ids. I think I'll install a fresh copy of MaLa into a new folder and see which stick it thinks is id1. I'll let you know what happens.

Yeah please do.

Not sure what file MaLa saves that type of info, I will need to check the code.
Title: Re: Mala thinks joystick 2 is joystick 1?
Post by: system01 on January 25, 2009, 03:09:55 pm
What happens if you unplug all but player 1?  Does it still think its P2?

I had this problem once and it was that (Mala isn't in front of me) autodetect joy1 screen... the tab where you define where p1 sits relative to the monitor.  p1 wouldn't autodetect for me and always give p2 control.
Title: Re: Mala thinks joystick 2 is joystick 1?
Post by: arzoo on January 26, 2009, 08:31:29 am
What happens if you unplug all but player 1?  Does it still think its P2?

I had this problem once and it was that (Mala isn't in front of me) autodetect joy1 screen... the tab where you define where p1 sits relative to the monitor.  p1 wouldn't autodetect for me and always give p2 control.
With the second u360 (id#2) unplugged, mala does not have any joystick control - so it won't use id#1.  :(
Title: Re: Mala thinks joystick 2 is joystick 1?
Post by: csa3d on January 26, 2009, 09:54:01 am
What happens if you unplug all but player 1?  Does it still think its P2?

I had this problem once and it was that (Mala isn't in front of me) autodetect joy1 screen... the tab where you define where p1 sits relative to the monitor.  p1 wouldn't autodetect for me and always give p2 control.
With the second u360 (id#2) unplugged, mala does not have any joystick control - so it won't use id#1.  :(

See if this helps you (http://forum.arcadecontrols.com/index.php?topic=79752.msg832600#msg832600).  It took me a bit to figure out how to get both u360s to work.

Quote
You need to enable the second joystick by checking the checkbox in the joystick controller panel.  Set the joystick to Set 1, and only set the shortcuts you want to use for the left joystick (joy1).  Be certain you only use j1up, j1down, j1left, j1right in this dialog.  Delete any key references to j2.  Now set the joystick to Set 2 using the dropdown, and assume this is for the right stick (joy2).  Instinct will have you wanting to set shortcuts for this stick using j2up, j2down, etc.. but THIS IS WRONG!  You instead, STILL WANT TO USE j1up, j1down, j1left, and j1right.  Again, remove any references to j2 anything in the shortcut dialog.

I don't *think* you need to set anything in the cocktail dialog, but to be safe, I set the bottom joystick definition to be Set1.
-csa