The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: Derrick Renaud on February 19, 2007, 10:24:18 am

Title: MAME input WIP needs testing
Post by: Derrick Renaud on February 19, 2007, 10:24:18 am
This patches 112u2 for some new input functionality.
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=103034&page=0&view=expanded&sb=5&o=&fpart=1&vc=1 (http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=103034&page=0&view=expanded&sb=5&o=&fpart=1&vc=1)

I need it tested on Win98/Me and NT/2000.  Specifically I need analog joysticks tested using the new -joy_deadzone and -joy_saturation.

Try using joy_deadzone 0.4 -joy_saturation 0.5.  This should make the analog joystick respond for a very limited range.  Try it on term2.  The crosshair should still move fully around the screen.

Then try without joy_deadzone and -joy_saturation.  This will use the defaults.  The joystick will respond in a fuller range.  And should still move all the way around the screen.

Let me know if the joysticks are not recognizing and what mame's output says about it.

Take care when entering the joystick in the player controls. It may come up as a half +/- axis.  So clear it and try again.  The selection code needs work.  :)

thanks.,
D.
Title: Re: MAME input WIP needs testing
Post by: Minwah on February 20, 2007, 08:39:29 am
Sounds good...unfortunately I don't have an analog stick setup to test.  Anyone else??
Title: Re: MAME input WIP needs testing
Post by: 2600 on February 20, 2007, 09:02:54 am
I'd like to, but no longer have a 98 or 2000 box to test with.
Title: Re: MAME input WIP needs testing
Post by: u_rebelscum on February 20, 2007, 07:31:32 pm
Cool.  Thanks for the full/+/- analog support.  It's something I wanted to add, but never figured out how.

Time for me to bootup my winME tonight.
Title: Re: MAME input WIP needs testing
Post by: Derrick Renaud on February 20, 2007, 10:24:26 pm
Cool.  Thanks for the full/+/- analog support.  It's something I wanted to add, but never figured out how.

Time for me to bootup my winME tonight.

You think thats cool, try this patch on top of it.  ;)  MOUSECODE_1_X_NEG = Button??!!!  8)

FWIW, it took me hours to do the 20 lines of code to toggle the joy axis states.

Also I modified the GWAR hack again in 112u1 so it only is used for 1 frame every 8 rotations of the control, instead of every rotation through the 5<>6 like my last unsubmitted patch you had.  That's the bare minimum before the copy protection kicks in.

D.