Main > Main Forum
Dual-axis games and mame configuration help requested
unclet:
1) I read there were games in Mame which use a dual-axis (ie: two separate potentiometer input allow at the same time) gas/brake pedals. This means you can press the brake and gas at the same time to create car spins, peeling out, etc..
Will you name some of these games so I can ultimately test my new hardware for my Mame driving cabinet?
2) Also, if some of these dual-axis games use a steering wheel via potentiometer, then the input for these games in Mame would involve three potentiometers. I was wondering how Mame is able to be configured for games which use 3 potentiometers (or more). Lets say a game has a steering wheel, gas pedal and brake pedal, all of which are potentiometer hardware controlled and all which can be active at the same time. In the "Input to this game" in the mame settings I notice there are "AD stick" settings. I am assuming I would need to map "AD Stick X", "AD Stick Y", "AD Stick Y2" settings to my 3 potentiometers, but I do not know how. I can obviously map keypresses to certain keyboard keys, but I am unaware of how to map potentiometer input (from my Microsoft Dual Strike gamepads).
- Will someone please explain this?
3) I looked at the individual game settings for "HangOn" and noticed "AD Stick Y2" was listed twice.
- Why are there two settings for the exact same input?
1UP:
--- Quote ---In the "Input to this game" in the mame settings I notice there are "AD stick" settings. I am assuming I would need to map "AD Stick X", "AD Stick Y", "AD Stick Y2" settings to my 3 potentiometers, but I do not know how. I can obviously map keypresses to certain keyboard keys, but I am unaware of how to map potentiometer input (from my Microsoft Dual Strike gamepads).
--- End quote ---
It's done the same way that you map buttons. Move to a value to map, then hit enter and push the stick (or turn the pot) in the direction that you want to map to and release. The mapping is then entered into the proper slot (J1 +Y etc...) Pretty intuitive.
unclet:
I never thought of doing that for pots since I always thought I had to push something to register a key. Pretty darn easy. Thanks again 1UP.
PS: Do you know of any dual-axis games for me to test my hardware against?
u_rebelscum:
--- Quote from: unclet on March 09, 2003, 08:29:10 am ---1) I read there were games in Mame which use a dual-axis (ie: two separate potentiometer input allow at the same time) gas/brake pedals. This means you can press the brake and gas at the same time to create car spins, peeling out, etc..
Will you name some of these games so I can ultimately test my new hardware for my Mame driving cabinet?
--- End quote ---
Driving games by Aaron Giles often have two or three pedals (hard drivin', race drivin).
*edit*
Longer list:
Hard Drivin' ( harddriv )
Race Drivin' ( racedriv )
Crusin' USA ( crusnusa )
Crusin' World ( crusnwld )
Off Road Challenge ( offroadc )
Lucky Wild ( luckywld )
Dirt Fox ( dirtfox )
Pole Position ( polepos )
Pole Positon II ( polepos2 )
F1 Exhaust Note ( f1en )
Rad Mobile ( radm )
Rad Rally ( radr )
A couple more game have them, the they're not working ATM.
--- Quote ---3) I looked at the individual game settings for "HangOn" and noticed "AD Stick Y2" was listed twice.
- Why are there two settings for the exact same input?
--- End quote ---
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.
1UP:
--- 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.