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: Optipac - works in windows, not in mame?  (Read 1392 times)

0 Members and 1 Guest are viewing this topic.

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Optipac - works in windows, not in mame?
« on: November 30, 2004, 09:38:36 pm »
First off, I think this is a simple config question - but I can't seem to track it down.

I noticed that menace posted with the exact same problem back in July, but no one came forward with the solution.

Basically I have a spinner hooked up to my USB optipac. It works fine in windows - mouse pointer moves up and down (x axis hooked up) or left to right (y axis). Also seems fine in either P1 rotary or P1 trackball. I have nothing else plugged into the optipac.

As soon as I start a game in mame, I can't get the spinner to register. I've been testing with ikari warriors. I've tried Mame 0.89 and (Analogmame 0.83 and 76...)

In mame.ini I have:
mouse

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: Optipac - works in windows, not in mame?
« Reply #1 on: November 30, 2004, 10:07:26 pm »
Ok I've made some progress I think - it looks like it DOES work in mame, but it just won't detect it for selection?

 For example if I use my PS2 mouse to set the axis (eg mouse 1 Yaxis) for the dial in ikari, I can then use my spinner plugged into the Yaxis on the optipac to rotate the gun in gameplay(with some heft analogue control adjustments). However, with no ps2 mouse in I can not select this axis as mame will not detect it.

I can only presume this is a sensitivity issue, as in windows my spinner is much less sensitive than the mouse. Anyone shed some light on how mame detects movement?


u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Optipac - works in windows, not in mame?
« Reply #2 on: December 01, 2004, 07:21:36 pm »
I can only presume this is a sensitivity issue, as in windows my spinner is much less sensitive than the mouse. Anyone shed some light on how mame detects movement?
I'm not exactly sure why mame has problems with the mouse axes, but it's partially based on that analog remapping needs a large value.  As you say, with your spinner slower than your mouse, it's probably that mame isn't getting a big enough delta.  However, if you spin a mouse/trackball/spinner too fast, mame doesn't "see" it correctly, either.  :(

As I said, don't know why.  Not much help, I know...  [shrug]

FWIW, it's easier to remap mice through a ctrlr file ATM.
Robin
Knowledge is Power

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: Optipac - works in windows, not in mame?
« Reply #3 on: December 01, 2004, 07:36:42 pm »
it's probably that mame isn't getting a big enough delta.

Ah - I figured it might be this. The 'spinner' is more like a rotary joystick in that it spins with a series of 'clicks' (24 in 360 degress) but kicks out a 2 channel with phase dfference output (just like spinners/trackballs optical output). I can make the windows mouse cursor fly up and down the screen, but with a large series of tiny pauses (the clicks), and I'm guessing these pauses are what is stopping mame from detecting it.

FWIW, it's easier to remap mice through a ctrlr file ATM.

Thanks - this will avoid the problem for me nicely.