Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06759 DIP/Input Minor Always Nov 9, 2017, 11:29 Nov 13, 2017, 23:40
Tester haynor666 View Status Public Platform MAME (Official Binary)
Assigned To AJR Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver
Version 0.191 Fixed in Version 0.192 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 06759: calibr50: Speed difference when rotating player
Description When rotating player using mouse (default mame configuration) or Ultimarc U360 rotary stick I noticed that rotating player with constant mouse speed cause rotary clockwise much slower. This is very noticable when You move mouse slowly or when You set analog sensivity lower values. Setting sensivity to 1 cause rotary mostly works only anti clockwise, clockwise is only possible with very rapid mouse movement.
Steps To Reproduce Just set mouse 1 in mame.ini and run game. Play a little moving mouse fast for some time in both directions, then try the same moving mouse slower. Finally set sesivity in analog controls to 1 and repeat procedure. Now repeat tests in mame 185.

In version 185 speed was the same when rotating clockwise and anti clockwise. Also after 186 anticlockwise speed is much higher.
Additional Information It was fine in version 185.

This has probably nothing to do with bug 6154 which was fixed for version 191.

Caused by https://github.com/mamedev/mame/commit/6ee9c864a867a388ba6b7cf7040673becb4dc34d#diff-aec199c354762322aab0caf89366e2ec ???
Github Commit
Flags
Regression Version 186
Affected Sets / Systems calibr50
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.14434
hap
Developer
Nov 13, 2017, 21:30
The cause is in emu/ioport.cpp, something goes wrong with analog wrapping in combination with less-than-100% analog sensitivity. IIRC, MAME core analog wrapping (eg. in this case going from 0x0 to 0xfff) has always been buggy.

As workaround, change dial sensitivity (TAB menu -> Analog Controls) from 15 to 100. The bug won't happen then, but as expected mouse controls will be too sensitive.
User avatar
No.14435
AJR
Developer
Nov 13, 2017, 23:40
Fixed in dcfdab2735a60c03e2e34cd7a076a3f14b631b49.