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: Analog v Digital confusion  (Read 1191 times)

0 Members and 1 Guest are viewing this topic.

Boz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 371
  • Last login:March 23, 2025, 03:55:29 pm
    • Battle Chasers Upright Cabinet
Analog v Digital confusion
« on: July 07, 2006, 06:03:51 am »
I'm confused as to how much I need to know about analog and digital controller communication where Mame is concerned. I'm ordering lots of parts now and almost all of them talk, to some degree, about analog / digital.

Is my preference something that I need to determine before ordering parts?
How does this effect the front-end that I end up using?


I link to a previous post or one that points outside is fine if you have it.

Thanks

ArcadEd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 276
  • Last login:March 04, 2012, 01:25:15 am
  • Arcade-In-A-Box , Relive Your Childhood
    • Arcade-In-A-Box
Re: Analog v Digital confusion
« Reply #1 on: July 07, 2006, 02:52:04 pm »
I think you are referring to how a controller can be analog or digital.

Take for example and Xbox or playstation 2 controller.  There are Analog sticks, and a d-pad.

The D-pad is digital in this case.  Meaning you press right, you get full open right.  Digital is either On or Off, Open or Closed.  No inbetween.

On the analog stick. pushing all the way to the right would be full open right.  However, you can also move the stick halfway and it is half open, half throttle or however you want to phrase it.

Not sure I explained it very well :).

Mario

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:March 29, 2021, 08:55:12 pm
  • Mmmmm.....arcades!
    • Mario's Arcade Page
Re: Analog v Digital confusion
« Reply #2 on: July 07, 2006, 05:00:38 pm »
Regarding your specific inquiry to how it pertains to MAME, I think the main area where you need to be concerned is with respect to steering and pedals in driving games, and games which use a trackball or a spinner.

Using driving games as an example, some driving games used an analog gas pedal, where the harder you press the pedal, the faster your car would go. The game would support a range of speeds depending upon how much the pedal is depressed. If a game used a digital pedal, the gas is either on or off; the game wouldn't support variations in how much the pedal is depressed.

Similarly for steering, many games support analog steering, where you can turn the wheel a little or a lot depending upon how hard you want to steer. But a game supporting digital steering would only support a turn or no turn.

Most joystick games used a digital joystick where, for example, the game either detects a move in a direction or it doesn't. There are some games that used an analog joystick where the game can detect variations in how far a joystick is moved. If you tried to play an analog game with a digital joystick, your controls would be detected as either off, or full movement (as ArcadEd explained).

So, while playing the game is possible, you wouldn't be able to achieve the level of control that the game may require. If you played Super Mario 64, you'll know that you can change Mario's pace from a walk to a run. Think about how well you'd do if you could only either stand still or run. Or, try playing Centipede on your PC using a digital joystick and see how well  you can control your shooter.

What you should be concerned with is if a game which you desire to play will require a specific controller type that you need to install on to your MAME cab. If you want to play racing games, then you'll need an analog steering wheel  (which I would expect most to be). Trackball and spinner games are designed for use with analog controls. I think it's safe to say that almost every joystick game before the late 90s used digital joysticks (I have no idea if I'm way off as I never really checked), so I think you can easily get by with digital joysticks except possibly if you're main concern is very recent games.

Hope this helps.

Mario