Main > Main Forum

Dual-axis games and mame configuration help requested

Pages: << < (2/3) > >>

u_rebelscum:


--- Quote from: 1UP on March 09, 2003, 08:34:45 pm ---
--- Quote from: u_rebelscum on March 09, 2003, 08:18:06 pm --- All analog inputs except "Pedal" list two right next to each other.  The first is for up (or left if X axis), the second for down (or right).  This is due to analog joysticks really operating per axis (X, Y) with pots, unlike digital joysticks operating per direction (up, down, left, right) with switches.  For compatablity reasons, mame lists two inputs per analog axis so keyboards, 8way, and dpads can be used.

--- End quote ---

In other words, this has to do with positive and negative feedback on each axis, so you set the first AD Stick X by pushing left on your analog stick, set the other AD Stick X by pushing right, same for up/down etc.
--- End quote ---

Yes + & - directions on that axis (or to list in proper order, - & +).
If are using an analog stick, you don't need to set the second one, but it's good idea for user readablity to do both.  The second one is only looked at for digital inputs, but it does look funny to have the first one say "R or J2_UP" and the other just "F", even though J2_down will effect down also (if joystick 2 is analog).  Also, mame can read only one analog input axis per analog game axis; the rest of the inputs are treated as if they were digital inputs.  Analog and digital can have "unlimited" digital inputs per game port (axis, button, etc).

BTW, split dual axel games have the pedals listed as "Pedal", not "AD Stick Y".  Pedals are only half an axis to mame, so you can map J2_UP to "Pedal" [1], and J2_DOWN to "Pedal 2" and be fine.  (ie: one analog input axis to two game axes is okay, two analog linput axes to one game axis is not.)

unclet:

1) Are all of the games you listed dual-axis games....meaning I can press the gas and brake at the same time and Mame will intepret them?  I did not think PolePosition was like this.....

2) I have 2 sets of gas/brake pedal assemblies.  I was going to wire one set to be a single-axis set (wired as shown in the "Wiring Single-Axis Throttle/Brake" diagram located at http://www.gunpowder.freeserve.co.uk/wheels/wiring.htm) which basically would just be seen as only one potentiometer.  The other gas/brake set I was going to wire for dual-axis games which would be seen as two separate potentiometers (one for gas and one for brake).   However, now that I understand I can map which potentiometer Mame should be using in a game, then it seems I might only need one gas/brake pedal assembly wired as two separate pots (one for gas and one for brake) and then simply map Mame accordingly.   Do you agree?   Maybe there is something special about single-axis games which I do not understand yet which makes the need for me to keep a single-axis set.  Anyway, just curious what you thought...I could always wire both sets up and find out eventually.  

UncleT

1UP:


--- Quote from: unclet on March 09, 2003, 11:39:11 pm ---1) Are all of the games you listed dual-axis games....meaning I can press the gas and brake at the same time and Mame will intepret them?  I did not think PolePosition was like this.....

2) I have 2 sets of gas/brake pedal assemblies.  I was going to wire one set to be a single-axis set (wired as shown in the "Wiring Single-Axis Throttle/Brake" diagram located at http://www.gunpowder.freeserve.co.uk/wheels/wiring.htm) which basically would just be seen as only one potentiometer.  The other gas/brake set I was going to wire for dual-axis games which would be seen as two separate potentiometers (one for gas and one for brake).   However, now that I understand I can map which potentiometer Mame should be using in a game, then it seems I might only need one gas/brake pedal assembly wired as two separate pots (one for gas and one for brake) and then simply map Mame accordingly.   Do you agree?   Maybe there is something special about single-axis games which I do not understand yet which makes the need for me to keep a single-axis set.  Anyway, just curious what you thought...I could always wire both sets up and find out eventually.  

UncleT

--- End quote ---

I don't think single or dual axis matters.  Whatever is easiest for you.

u_rebelscum:


--- Quote from: unclet on March 09, 2003, 11:39:11 pm ---1) Are all of the games you listed dual-axis games....meaning I can press the gas and brake at the same time and Mame will intepret them?  I did not think PolePosition was like this.....
--- End quote ---

Yes.  Umm, if that version/clone supports it.  All the games I listed have at least one version with at least dual axes (Hard/Race Drivin' have three).


--- Quote ---2) I have 2 sets of gas/brake pedal assemblies.  I was going to wire one set to be a single-axis set (wired as shown in the "Wiring Single-Axis Throttle/Brake" diagram located at http://www.gunpowder.freeserve.co.uk/wheels/wiring.htm) which basically would just be seen as only one potentiometer.  The other gas/brake set I was going to wire for dual-axis games which would be seen as two separate potentiometers (one for gas and one for brake).   However, now that I understand I can map which potentiometer Mame should be using in a game, then it seems I might only need one gas/brake pedal assembly wired as two separate pots (one for gas and one for brake) and then simply map Mame accordingly.   Do you agree?   Maybe there is something special about single-axis games which I do not understand yet which makes the need for me to keep a single-axis set.  Anyway, just curious what you thought...I could always wire both sets up and find out eventually.
--- End quote ---

You can't do that for mame's single axis games.  [frown]

Mame's input is limited in that it can only have one analog input device assigned to each analog game axis.  So trying to assign dual axis pedals to the same game axis will not work (two analog input axes to one analog game axis).  Remember, single axis games use AD Stick as the input, and mame only looks at the first listed for which analog axis to read, the second is only for digital inputs.
There is a similar limit for retail PC games, so all retail dual axis pedal sets can switch (usually through the driver) between single and dual axis.

You can do the opposite, however: map a set of single-axis pedals to a dual axis game in mame.  (This is also common in retail PC games.)  But then you can't brake and gas at the same time.

Not sure of your setup, but you might look into having 3 pedals 3 2 1 left to right.  1 & 2 share an axis, so assign 1 as gas & 2 as brake in single-axis games.  3 is another axis, so assign 2 as gas and 3 as brake. ??

BTW, I've been thinking of trying to enable more than one input per axis to the analog side (mame already has this on the digital side), but....  Imagine having two analog joysticks mapped to term2 player 1 gun.  The first is a hacked real term2 gun for long episodes of playing with friends, but it's hard to lug the real thing onto and off of the computer desk.  So the second is a gamepad for quick play & testing.  
Now, what should happen if both guns are used at the same time?  Gun1 over-ride gun2 input?  Average the two guns inputs?  Should they be averaged even if one is pointed dead center (0,0 input, same as not used)?   How about a dual axis set on a single axis game? (ATM, averaging all the time is best for mapping a dual axis set of pedals to a single axis game in mame, but sucks $#%$ for term2 and other AD Stick and Lightgun games.)

1UP:


--- Quote from: u_rebelscum on March 11, 2003, 12:39:39 am ---You can do the opposite, however: map a set of single-axis pedals to a dual axis game in mame.  (This is also common in retail PC games.)  But then you can't brake and gas at the same time.
--- End quote ---

I keep wondering, why would you WANT to use the brake and gas at the same time?  Is this really an advantage in any of these games?  Even in the real world, you'd never do this, as you'd either stall the engine, or burn out the brakes....  ::)

Pages: << < (2/3) > >>

Go to full version