Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Walkinshaw on March 19, 2005, 08:28:08 am

Title: Help with mouse Y axis
Post by: Walkinshaw on March 19, 2005, 08:28:08 am
Hi,

I have finished adding 2 x 360 steering wheels to my cabinet and using oscars mouse hack and opticals I am having a problem getting Mame 0.93 to recogonise the second player.

For games like Offroad and super sprint, player 1 is shown as Mouse 1 Axis X and works great but for player 2 its either none or n/a. The mouse pointer works fine in windows while moving the second wheel it goes vertical up and down but when I try and set it in mame using the tab menu (in game) it will not detect no matter how many times I spin the wheel.

Is there any other way of setting this wheel up so the 360 games with show player 2 as Mouse 1 axis Y ?

Thanks
Title: Re: Help with mouse Y axis
Post by: Walkinshaw on March 19, 2005, 08:14:52 pm
ok this is annoying as hell.

I can't get player 2 to work in super sprint or off road.

Can someone help me with a cfg file to get this running. I have a mouse hack and player 1 is shown as Mouse Axis X but player 2 shows nothing and I can't auto detect it by spinning the wheel in the tab menu. I have tried doing a special config file but I think I maybe doing something wrong.

Player one works fine with this setup but if I add anything for the player 2 dial then it just resets itself and removes the lines I add.


<mameconfig version="10">
   <system name="offroad">

      <input>
         <port type="P1_BUTTON1" mask="16" defvalue="16" value="16">
         </port>
         <port type="P2_BUTTON1" mask="32" defvalue="32" value="32">
         </port>
         <port type="P3_BUTTON1" mask="64" defvalue="64" value="64">
         </port>
         <port type="SPECIAL" mask="1" defvalue="1" value="1">
         </port>
         <port type="COIN3" mask="2" defvalue="2" value="2">
         </port>
         <port type="COIN2" mask="4" defvalue="4" value="4">
         </port>
         <port type="COIN1" mask="8" defvalue="8" value="8">
         </port>
         <port type="SPECIAL" mask="1" defvalue="1" value="1">
         </port>
         <port type="SERVICE" mask="8" defvalue="8" value="8">
         </port>
         <port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="10" centerdelta="10" sensitivity="100" reverse="no">
         </port>
         <port type="P2_PEDAL" mask="255" defvalue="0" value="0" keydelta="10" centerdelta="10" sensitivity="100" reverse="no">
         </port>
         <port type="P3_PEDAL" mask="255" defvalue="0" value="0" keydelta="10" centerdelta="10" sensitivity="100" reverse="no">
         </port>
         <port type="P1_DIAL" mask="255" defvalue="128" value="128" keydelta="10" centerdelta="10" sensitivity="100" reverse="no">
         </port>
         <port type="P2_DIAL" mask="255" defvalue="128" value="128" keydelta="10" centerdelta="10" sensitivity="100" reverse="no">
         <defseq type="standard">MOUSECODE_1_ANALOG_Y OR JOYCODE_2_ANALOG_Y</defseq>
            <defseq type="decrement">KEYCODE_D OR JOYCODE_2_LEFT</defseq>
            <defseq type="increment">KEYCODE_G OR JOYCODE_2_RIGHT</defseq>
Title: Re: Help with mouse Y axis
Post by: Walkinshaw on March 19, 2005, 08:40:13 pm
Fixed it now.

Just needed MOUSECODE_1_ANALOG_Y