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: MAME XML: What does this input type mean?  (Read 1038 times)

0 Members and 1 Guest are viewing this topic.

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
MAME XML: What does this input type mean?
« on: October 04, 2006, 10:47:12 am »

I have been looking at the output of mame --listxml and I understand lots of it, but have a question about one particular input control type.  One of the lines in question is as follows:

<input players="2" control="stick" buttons="2" coins="4" tilt="yes"/>


The item in question is the control="stick" entry.  Usually I see things like 4way, 8way, etc. here (which all makes sense), but what does "stick" mean?

Thanks!
My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: MAME XML: What does this input type mean?
« Reply #1 on: October 04, 2006, 11:03:58 am »
That's an analog joystick. The XML became a bit clearer in v0.107:

Code: [Select]

<input players="1" buttons="4" coins="2">
<control type="stick" minimum="0" maximum="254" sensitivity="100" keydelta="16"/>
<control type="pedal" minimum="0" maximum="214" sensitivity="100" keydelta="16"/>
</input>

There was only one "control" tag allowed before v0.107.

HTH,
Buddabing
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: MAME XML: What does this input type mean?
« Reply #2 on: October 04, 2006, 01:57:24 pm »

Thanks Buddabing!  I was assuming it was analog, but wasn't sure!
My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™