P1_PEDAL
P1_PEDAL_EXT
PEDAL is a funky-dunk compared to mame's other analog input types. P1_AD_STICK_X is the negative half of the X axis, and P1_AD_STICK_X_EXT is the postive half like all other analog axes
except for PEDAL. Since a pedal is only "half an axis", mame defines PEDAL_EXT as the "Auto release" setting. Look at the UI input settings of a game with pedal and compare to any other analog axis (DIAL, AD_STICK, or PADDLE) to see what I mean.
As far as I know it no longer uses player 2 inputs. If it does use player 2 then that is silly as mame allows at least 2 axis and 9 buttons for player 1. The steerting wheel would be one axis and the pedals on all arcade machines share an axis via a network of resistors.
Depends on the game. Some arcade games had the gas and brake sharing an axis like you discribe. With these games, pressing on both the brake and the gas (equally) would result in no-gas & no-brake. With the gas pedal down, as you depress the brake, the gas input would decrease, but no brake until the brake was father down than the gas. Almost all PC games (and thus PC pedals) are writen this way, and fake a seperate brake pedal with a "hand brake" button. (see next paragraph on why)
Other arcade games (Pole Position*, HardDrivin', and SF Rush for example) had the gas and brake independent of each other. In these games, pressing the brake would not decrease the gas but would increase the brake. Braking while keeping the engine RPMs up and "power slides" are then possible if the game software was written to do it (SF Rush does, I don't think PolePosition did, not sure about HardDrivin').
(*Some PolePostion cabs had only gas, while others had both gas and brake, so this example only applies to those with both)
Okay, mame. Many games that the arcade had with independent gas & brake are incorrectly emulated like you discribed with the gas and brake sharing an axis (the Y axis).
Oh ya, starting with mame .61, mame now has 3 (used) analog axes: X, Y, and Pedal. A forth is coded in there too, but no drivers are written to use it yet (it's a shared Z / Pedal 2 axis). So some games that now have P1_PEDAL and P2_PEDAL might have P1_PEDAL and P1_PEDAL_2 at some point in the furture, as well as some of those games that incorrectly emulate the gas & brake on a shared (Y) axis may be switched, too.
Also the default mapping of PEDALs in mame are still buttons, but now will correctly handle analog joystick inputs, and with the analog remapping ability also added pedals now work like they should. (hint: use the ctrlr pedal.ini to aplply to all games with PEDAL)