Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04394 DIP/Input Major Always Jun 29, 2011, 15:03 Oct 27, 2011, 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
Fixed in Git Commit Github Pull Request #
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)
Github Commit
Flags
Regression Version 0.142u5
Affected Sets / Systems All games with paddle inputs
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.07588
Fujix
Administrator
Jun 29, 2011, 16:32
Confirmed with my PS2 pad in OutRun.
User avatar
No.07589
AWJ
Developer
Jun 29, 2011, 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.