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: Configuring MAME so a button is active when unpressed ?  (Read 1766 times)

0 Members and 1 Guest are viewing this topic.

brianoneill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:January 27, 2017, 04:44:59 pm
  • I want my own arcade controls!
Configuring MAME so a button is active when unpressed ?
« on: February 08, 2015, 12:50:22 pm »
Guys. I've tried and failed to get my Steering wheel pedals working in MAME. I give up ! :)

But the steering wheel kinda works well on Outrun and the like. Problem is the accelerator needs a button to be pressed by hand. I can use the buttons on the wheel (old Logitech MOMO) but it gets tiring holding a button during the game.

Is there a way I can configure MAME(per game) so that a button is active when not pressed ? So in Outrun it would accelerate when I don't have the button pressed and ease off the gas when I do press it ? Weird I know but it's the best i got :)

brianoneill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:January 27, 2017, 04:44:59 pm
  • I want my own arcade controls!
Re: Configuring MAME so a button is active when unpressed ?
« Reply #1 on: February 08, 2015, 02:16:07 pm »
I just figured it out. I turned on P1 Pedal 1 Reversed in Outrun.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Configuring MAME so a button is active when unpressed ?
« Reply #2 on: February 09, 2015, 08:54:31 am »
See the driving cab info thread stickied in the driving cab subforum for pointers on configuring the analog controls in MAME.

Quote
For 270° wheels, set the joystick deadzone to .05 in the mame.ini file;
                 the default .3 means that you have to turn the wheel fairly far before it does anything.
                 Joystick saturation narrows the operating range of your wheel, i.e. you only have to
                 turn it halfway before MAME sees it as being turned all the way.  Set it to 1.
                 Controls are mapped in the same way as any other input in MAME (press TAB in game)
                 In the MAME menu under analogue settings, adjust the sensitivity to suit each game.
                 Most 270° wheel games require sensitivity set to the 100-200 range.
                 Digital settings adjust how key presses respond when substituted for analogue controls.
                 They do not affect analogue controls.  It also may be necessary to invert the axis in this menu
                 if MAME registers a pedal as depressed when it is all the way up and vice versa.
                 Do not map the pedals to PEDAL INC and PEDAL DEC!
                     Do not map the wheel to DIAL INC and DIAL DEC! 
                 Those are reserved for key presses being substituted for analogue input.

I guess I should do a more thorough guide mentioning inverting axis and calibrating the controls in the game's original service menu.