Software Support > controls.dat

controls.xml outdated

<< < (11/18) > >>

u_rebelscum:
Wow, turn my back for the weekend, and look what happens.  :cheers: :)


--- Quote from: headkaze on September 08, 2008, 12:37:18 am ---
--- Quote from: SirPoonga on September 08, 2008, 12:19:38 am ---I am thinking of adding headkaze and urebel as admins to the controls.dat site.  This will give you the power to verify entries.
--- End quote ---

I'm happy to help out, but I don't know jack about Mame controls. All I have is a basic two player, 7 button layout on my cab so I really am not qualified to verify entries, but I'm happy to help out "behind the scenes" with any code or whatever that's needed

--- End quote ---

I'd be glad to help.  I know a little ;) about mame's inputs; I'll just have to review the different controls.dat types again.  Wasn't there info on how the different types matched to mame's types in the web site?

IIRC, there were a few games that used to use, say, buttons 1, 5 & 6, but not 2-4.  Not Sure if these hacks were chopped, as there has been a lot of cleanups in the drivers' inputs recently. :applaud:

headkaze:

--- Quote from: u_rebelscum on September 08, 2008, 07:54:08 pm ---I'd be glad to help.  I know a little ;) about mame's inputs; I'll just have to review the different controls.dat types again.  Wasn't there info on how the different types matched to mame's types in the web site?

IIRC, there were a few games that used to use, say, buttons 1, 5 & 6, but not 2-4.  Not Sure if these hacks were chopped, as there has been a lot of cleanups in the drivers' inputs recently. :applaud:

--- End quote ---

If you download my ControlsDat program in it's Data folder are the files that list all the controls used in the dat file. In the program you can double click on a game in the list and it shows the Mame control name as well as the controls in ControlsDat.

u_rebelscum:

--- Quote from: headkaze on September 08, 2008, 08:40:23 pm ---If you download my ControlsDat program in it's Data folder are the files that list all the controls used in the dat file. In the program you can double click on a game in the list and it shows the Mame control name as well as the controls in ControlsDat.

--- End quote ---

Thanks, headkaze!  Reminds me of a few things. ;)

Mame has five (5) service button types: IPT_SERVICE,    IPT_SERVICE1, IPT_SERVICE2, IPT_SERVICE3, and IPT_SERVICE4.  The first usually is the service mode.  The latter 4 can be lots of stuff, but often are coin related (test coin, etc). 
Mame only reports if the plain service, and I think controls.dat does the same.


SirPoonga, you're probably aware of this: a couple things have changed recently in mame that haven't been matched in control.dat.  New and started to be used mame input ports: positional, positional_v, & pedal3.  They'll need to be added to control.dat as part of the version update, I'd guess.

SirPoonga:

--- Quote from: u_rebelscum on September 09, 2008, 03:53:08 pm ---SirPoonga, you're probably aware of this: a couple things have changed recently in mame that haven't been matched in control.dat.  New and started to be used mame input ports: positional, positional_v, & pedal3.  They'll need to be added to control.dat as part of the version update, I'd guess.

--- End quote ---
what are those?

u_rebelscum:

--- Quote from: SirPoonga on September 10, 2008, 02:56:17 am ---
--- Quote from: u_rebelscum on September 09, 2008, 03:53:08 pm ---SirPoonga, you're probably aware of this: a couple things have changed recently in mame that haven't been matched in control.dat.  New and started to be used mame input ports: positional, positional_v, & pedal3.  They'll need to be added to control.dat as part of the version update, I'd guess.

--- End quote ---
what are those?

--- End quote ---

Pedal3 is easy.  Each player now has 3 pedals: pedal, pedal2 & pedal3, usually gas, brake, & clutch.  Games like Hard Drivin used to use players 1-3 pedal (one), but now use player 1 pedals 1-3.

Positional and Positional (Vertical) are general analog inputs.  It's not feature complete, nor output in listxml yet, but been around for a while now.  It's an input that can act like a dial or an analog stick or something in between depending on what flags it has set.  It's designed, well, to handle non-normal cases like 12-direction rotaries.  One of the extras that hasn't been implemented yet is the abilty to use original hardware directly connected to a PC as 12 switches.  The parts that have been implemented include dial (spinner) and impulse digital (rotary encoders), two inputs that used to need separate hacks.

Some of the rotary joystick games have moved to positional type, some haven't.  It's also used for a few other games.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version