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: pedals  (Read 1018 times)

0 Members and 1 Guest are viewing this topic.

torgo

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:April 09, 2006, 04:15:49 pm
  • I'm a llama!
pedals
« on: July 17, 2003, 12:53:29 am »
Forgive me if this has been answered a hundred times already. I've searched many forums and FAQs for an answer and have not found one.

When using a pedal (or any other analog pot-style input for that matter) mame sees the axis as two halves of an axis (+ and -). This is great when using joysticks (P1 up = J1_y-, P1 down = J1_y+) but terrible for pedals.

If you assign the input for a pedal to use, say, axis three of your "joystick" (a physical pedal) mame only wants to see half of the pedal's throw (P1 pedal 1 = J1_z-). This means mame will not start reacting to the pedal until you have pressed it half-way. The motion from the half-way point to maximum depression
then works normally.

Do you know of any way to set up mame or analog+ so that the pedal is inactive when it is rocket all the way back and starts ramping up from the moment you begin pressing the pedal? This is how the pedal appears to work in the Game Options Control Panel and it's extremely frustrating that mame sees it differently.

I used to use Optimame (back in the day) to set up my pedals and they worked great. Modern mame, however, is leaving me less than thrilled on this front.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:pedals
« Reply #1 on: July 17, 2003, 08:21:25 am »
Forgive me if this has been answered a hundred times already. I've searched many forums and FAQs for an answer and have not found one.

When using a pedal (or any other analog pot-style input for that matter) mame sees the axis as two halves of an axis (+ and -). This is great when using joysticks (P1 up = J1_y-, P1 down = J1_y+) but terrible for pedals.

If you assign the input for a pedal to use, say, axis three of your "joystick" (a physical pedal) mame only wants to see half of the pedal's throw (P1 pedal 1 = J1_z-). This means mame will not start reacting to the pedal until you have pressed it half-way. The motion from the half-way point to maximum depression
then works normally.

Do you know of any way to set up mame or analog+ so that the pedal is inactive when it is rocket all the way back and starts ramping up from the moment you begin pressing the pedal? This is how the pedal appears to work in the Game Options Control Panel and it's extremely frustrating that mame sees it differently.

I used to use Optimame (back in the day) to set up my pedals and they worked great. Modern mame, however, is leaving me less than thrilled on this front.


I recently set a pedal up similarly to this - but MAME saw the pedal as a 'Slider'.  Anyway, the first time I press the pedal after calibrating in Control Panel, I saw the effect you described, but when I released the pedal, it worked fine (just like a slider in fact).

So, it also worked fine in MAME.  I cannot think of a reason why it would work differently in MAME to Control Panel, unless the game used a digital pedal, in which case the a2d_deadzone could affect at which point the pedal begins to work.  I assume the game you tried does use an analog pedal?