Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: cmoses on March 26, 2009, 04:54:58 pm
-
Has anyone been able to use a U360 with a game like Battlezone that had two joysticks for tank controls? Is there a mapping for it? If not could one be made so that it would work with that type of joystick?
-
Sure you could create a good mapping for it, but the real problem is the fire button. BZ kinda needs a trigger stick, although I suppose as a hack you could use a pedal to act like the fire button. :dunno
-
I think the OP is thinking configing one joystick to work with the two 2-way games.
Yup, can be done, and we've talked able it. Let me see if I can find it... Here is the latest post (http://forum.arcadecontrols.com/index.php?topic=89447.0) on it, IIRC.
-
Cool! It hadn't even occurred to me to try to combine the 2 joysticks into 1. I might want to try that sometime. Probably makes it hard to play a real BZ machine once you're used to 1 joystick (there's one at the Ground Kontrol arcade that's not far from me) but I don't play it there all that often anyway.
-
I think the OP is thinking configing one joystick to work with the two 2-way games.
Yup, can be done, and we've talked able it. Let me see if I can find it... Here is the latest post (http://forum.arcadecontrols.com/index.php?topic=89447.0) on it, IIRC.
Yes I am trying to get one joystick to replicate the combinations of the two tank sticks. I looked at that post and will give them a try. With the two tank sticks there are only 9 combinations so you should be able to get that with a 8 way joystick. Position 9 being not moved at all.
-
In the MaLa Umapper there's a 2-way vertical map, so yes it has been done.
-
Ummon, I don't think you really read the posts in this thread. ???
-
Yes, this works great with the u360! Thanks u_rebelscum! :applaud: I don't know how you do "not's" in mame's config menu, so I did it by hand. Here's my bzone.cfg:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="bzone">
<video>
<target index="0" view="Color Overlay" />
</video>
<counters>
<coins index="0" number="33" />
</counters>
<input>
<port tag="DSW1" type="DIPSWITCH" mask="3" defvalue="3" value="2" />
<port tag="IN3" type="P1_JOYSTICKRIGHT_DOWN" mask="1" defvalue="0">
<newseq type="standard">
JOYCODE_1_YAXIS_DOWN_SWITCH NOT JOYCODE_1_XAXIS_RIGHT_SWITCH OR JOYCODE_1_XAXIS_RIGHT_SWITCH NOT JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
</newseq>
</port>
<port tag="IN3" type="P1_JOYSTICKRIGHT_UP" mask="2" defvalue="0">
<newseq type="standard">
JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_XAXIS_RIGHT_SWITCH OR JOYCODE_1_XAXIS_LEFT_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
</newseq>
</port>
<port tag="IN3" type="P1_JOYSTICKLEFT_DOWN" mask="4" defvalue="0">
<newseq type="standard">
JOYCODE_1_YAXIS_DOWN_SWITCH NOT JOYCODE_1_XAXIS_LEFT_SWITCH OR JOYCODE_1_XAXIS_LEFT_SWITCH NOT JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
</newseq>
</port>
<port tag="IN3" type="P1_JOYSTICKLEFT_UP" mask="8" defvalue="0">
<newseq type="standard">
JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_XAXIS_LEFT_SWITCH OR JOYCODE_1_XAXIS_RIGHT_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
</newseq>
</port>
</input>
</system>
</mameconfig>
-
Ummon, I don't think you really read the posts in this thread. ???
By his wording I didn't get that he wanted to use only one stick, and then I sorta glossed over his second post. In any case, I can't find it, so maybe it was a special build, but I swear I recall playing some fairly earlier version of mame that had this feature.
-
Well, it doesn't need to be a feature of mame given that you can configure it to work as u_rebelscum indicated. And in fact it probably shouldn't be a feature of mame since that would be an inaccurate representation of the original hardware.
-
I think it was the old GLBattlezone, actually.
-
I don't know how you do "not's" in mame's config menu, so I did it by hand.
Not's are done by "double clicking" a direction. Ands are done by pressing the other button/direction within less than a sec of the prior press. Ors and done by waiting (for just over a second) for the prior map to register, then press enter and the next button/direction.
For example, to do:
JOYCODE_1_YAXIS_DOWN_SWITCH NOT JOYCODE_1_XAXIS_RIGHT_SWITCH OR
JOYCODE_1_XAXIS_RIGHT_SWITCH NOT JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
Go to the input (joy right down in this case), press enter, then press down right right, wait until mame takes it, press enter, then press right up up down down.
If you're good at moves like this, it can be faster this way. FWIW, I mess up a little too often, so have found editing by hand is just as for me (especially for remapping mice or trackball directions).
I was going to ref the mamedev wiki FAQs, but it's not very clear. I'll edit it... edit: okay, I think this is a little better (http://mamedev.org/devwiki/index.php/FAQ:Controls#How_do_I_configure_the_keys.3F).
-
'Not' in-game menu is double the direction you don't want. Enter>two quick pushes.
-
'Not' in-game menu is double the direction you don't want. Enter>two quick pushes.
Yeah, but you have to have something else mapped first, as mame doesn't allow a map of just a not: "not joy1 b1" is not valid, but "joy1 up not joy1 b1" is valid. So you have to push the non-not key/button(s) before you do a the double push. And mame has to have at least one non-not mapped before the double pushes work. Examples: "enter, A, A" doesn't register; "enter, A, A, W" registers as "A W" (both A and W need to pressed at the same time); "enter, A, A, W, W" doesn't work; and "enter, A, A, W, W, E" registers as "A NOT W E", which is the same as "A E NOT W" (both A & E keys have to be pushed, but the W key).
(If you understood all that, I'm sorry; I've been a bad influence. ;) )
-
Right. A lone 'not' give you 'none'. Well.
-
Actually, a lone "not" would mean "anything but". ;)
-
TSs-ss-ss-sss.