Main > Main Forum
New Product: Opti-Wiz
<< < (19/23) > >>
u_rebelscum:

--- Quote from: Kremmit on January 12, 2006, 10:58:29 am ---I'll agree with everything above.  The spinner scrolls great in Firefox and Word, and plays great in Tempest- you just have to set the analog sensetivity way down compared to the x & y axis.  I'm in favor of a driver and/or MAME level fix, at least until Microsoft fixes it at their end.  Maybe it'll be in the next version of Analog+  :P
--- End quote ---

How about I post the change here? ;D  It's a one liner if we keep it simple:

--- Code: --- // return the latest mouse info
if (joyindex == 0)
return mouse_state[joynum].lX * 512;
if (joyindex == 1)
return mouse_state[joynum].lY * 512;
if (joyindex == 2)
return mouse_state[joynum].lZ * 4; // windows default Z to be 120 times bigger than X & Y; 512 / 120 = 4.26667
--- End code ---

We're just changing 512 on the last line to 4, on line 1830 in src/windows/input.c file.  With this change, mame's sensitivity would need to be set a little higher than if the X or Y axes were used.  I suggest you beta testers try if this value of 4 works well (it could also be changed to 5, 4.2 (good to cast the solution to int32 JIC), 4.3, ect).


--- Quote ---Before somebody asks, using the Windows "# of lines" setting for the scroll wheel only adjusts in Windows apps, it has zero effect on gameplay in MAME. 
--- End quote ---

Good to know, and what it should be according to MS's documentation. :)  However, some drivers changes to the mouse speed does effect mame, which according to MS's docs shouldn't happen.  Makes me wonder about the scroll ball settings I mentioned in my last post.
Kremmit:
Oh, crap.  You done gone and lobbed that ball right back into my court, dint'cha?  :o

I've never compiled before.  I'm good with controllers, wiring & encoders, but I'm MAME32 when it comes to software. 

Any software geeks want to do some compiling?
markrvp:

--- Quote from: Kremmit on January 14, 2006, 03:20:38 am ---Oh, crap.
--- End quote ---
markrvp:
Okay, I am attempting to compile a version of MAME with that change.  I'll let you know if it worked tonight.
markrvp:
Thank you to JoyMonkey, SirPoonga, and Headkaze for helping me compile a custom version of MAME .103 with u_rebelscum's Z axis change.  JoyMonkey compiled a version for me and I was also able to successfully compile my own (FINALLY).

I can report that the Z axis now works great at high sensitivity settings with NO BACKSPIN in MAME.  For Supersprint a setting of about 70% to 80% works great on the Z axis.  On Tempest, with an Oscar Controls Push/Pull spinner it needed a sensitivity of 120% to really fly.  I like to spin the knob between levels and watch the little yellow guy go flying around the next pattern.

I give the Optiwiz my full endorsement and highly recommend it to anyone who wants to buy one.

Would somebody close to the MAME team please suggest the Z axis change for future versions?
Navigation
Message Index
Next page
Previous page

Go to full version