Viewing Issue Advanced Details Jump to Notes ]
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04394 DIP/Input Major Always 2011-06-29 15:03 2011-10-27 05:38
Tester AWJ View Status Public Platform SDLMAME
Assigned To AWJ Resolution Fixed OS Linux
Status [?] Resolved   Driver
Version 0.143 Fixed in Version 0.143u9 Build 64-bit
Summary 04394: All games with paddle inputs: IPT_PADDLE inputs do not center properly when mapped to an analog joystick
Description When you have a MAME paddle input mapped to an analog joystick axis (such as an Xbox or PS3 pad), the paddle position does not return to the center if you release the joystick quickly. It does return to the center, sometimes, if you slowly ease the joystick back to the center position.

Bizarrely, this bug only occurs with IPT_PADDLEs, and not with IPT_AD_STICKs, even though the two should be functionally identical.
Steps To Reproduce 1. Hook up an analog joystick and configure MAME to use it
2. Run outrun, or any other game with a paddle input
3. Start a game
4. Press the analog joystick to one side, then release it quickly
5. Observe that your car continues to turn even after you release the joystick
Additional Information Regression is SVN r12739 (low-level input upgrade)
Flags
Regression Version 0.142u5
Affected Sets / Systems All games with paddle inputs
Attached Files
 


-  Notes
User avatar (07588)
Fujix (Administrator)
2011-06-29 16:32

Confirmed with my PS2 pad in OutRun.
User avatar (07589)
AWJ (Developer)
2011-06-29 16:48

I think I've found what the problem is and why it only affects paddle games and not analog joystick games.

The default input assignment for Paddle Analog is "Mouse X or Joy 1 A0" (mouse is listed first). The default input assignment for Analog Stick X, on the other hand, is "Joy 1 A0 or Mouse X" (joystick is listed first). If I reassign the Paddle Analog input so that the joystick is the first thing listed, the problem goes away.

It looks like somehow the mouse and joystick inputs are fighting each other, even when the mouse is not enabled (mouse is set to 0 in my mame.ini)

Again, this did not happen prior to 12739.