Main > Main Forum

UltraStik 360 playing Wizard of Wor

<< < (6/9) > >>

rockin_rick:
If you use F2 to go into the service mode, it tells you if the look is "on" or not when you move the joystick.  I tried this and found that the u360 with Robin's map and cfg did the look for all directions BUT up.  Looking at his cfg code, I think that I found the error.  He has:

<port type="P1_BUTTON2" mask="16" index="27" defvalue="0">
                <newseq type="standard">
                    KEYCODE_LALT OR JOYCODE_1_BUTTON2 OR JOYCODE_1_UP JOYCODE_1_LEFT OR JOYCODE_1_RIGHT JOYCODE_1_DOWN OR JOYCODE_1_DOWN JOYCODE_1_LEFT OR JOYCODE_1_LEFT JOYCODE_1_UP
                </newseq>
            </port>


I think that it should be:

<port type="P1_BUTTON2" mask="16" index="27" defvalue="0">
                <newseq type="standard">
                    KEYCODE_LALT OR JOYCODE_1_BUTTON2 OR JOYCODE_1_UP JOYCODE_1_RIGHT OR JOYCODE_1_RIGHT JOYCODE_1_DOWN OR JOYCODE_1_DOWN JOYCODE_1_LEFT OR JOYCODE_1_LEFT JOYCODE_1_UP
                </newseq>
            </port>

The service mode check then reports correctly.  This change should also be applied for P2.  I think that this may explain why I was able to walk when the map was set to all diagonals.

However, I still get creep with the joystick in look mode that I don't get with the button.  I wonder if using the stick there is just a tiny bit of time when up is applied before the button kicks in and applies the look.  You wouldn't get this if you are holding the button as you would already have it down before moving the stick.   :dunno

Rick

rockin_rick:
The game reports "move" (yes/no) and "direction" (U/D/L/R).  When centered, move=yes (AKA PxB2 is not pushed) and direction=no.  As soon as you move the stick, move=no and direction=x.  Once you get past the diagonals (deactivating PxB2), then move=yes and direction=x.

Can you make center (no joy input) activate PxB2 so that move=no when centered?  I'll see if I can figure it out..

Rick

Naru:
I noticed a little debate here.
Please, by all means you smart people continue to
post all your brilliance!
That way the dumb people *ME*
can learn more things.
That's the main reason I joined this place
after reading page after page for a year.
I've learned a lot.
Thanks to everyone.

rockin_rick:

--- Quote from: u_rebelscum on January 23, 2007, 03:24:36 pm ---
Ahh, let me check....  Yup, inverted in the mame driver.  P1 & P2 Button2 are the only switches listed as "active high" while the rest are "active low", which does not happen on the same hardware.

--- End quote ---

Is it possible to un-invert this and recompile so that button2 has to be held to move?  I wonder if this will help solve the creeping that I get when using the custom maps/inputs?

Rick

NoOne=NBA=:

--- Quote from: rockin_rick on March 20, 2007, 02:21:42 am ---Can you make center (no joy input) activate PxB2 so that move=no when centered?

--- End quote ---

From reading the documentation, it didn't look like you could map anything except one of the eight directions.
It might be possible for Andy to have the firmware/software altered to allow this though.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version