Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Help with mouse Y axis  (Read 889 times)

0 Members and 1 Guest are viewing this topic.

Walkinshaw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 44
  • Last login:April 14, 2009, 12:02:57 am
  • I'm a llama!
Help with mouse Y axis
« 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

Walkinshaw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 44
  • Last login:April 14, 2009, 12:02:57 am
  • I'm a llama!
Re: Help with mouse Y axis
« Reply #1 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>

Walkinshaw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 44
  • Last login:April 14, 2009, 12:02:57 am
  • I'm a llama!
Re: Help with mouse Y axis
« Reply #2 on: March 19, 2005, 08:40:13 pm »
Fixed it now.

Just needed MOUSECODE_1_ANALOG_Y