libretro / mame2003-plus-libretro

Updated 2018 version of MAME (0.78) for libretro. with added game support plus many fixes and improvements
Other
188 stars 108 forks source link

Put heavy barrel rotary initial value to middle of range in rotary step #1771

Closed zorro2055 closed 3 months ago

zorro2055 commented 3 months ago

Hi @mahoneyt944 ,

This PR is similar to the last one I submitted, https://github.com/libretro/mame2003-plus-libretro/pull/1765 .

For these games that use an X-way rotary joystick (Heavy Barrel, Midnight Resistance, Ikari III, and SAR - Search and Rescue), I changed the following: -Adjust the default (initial) value of the Dial Analog Port for the game DownTown to put it in the middle of the range of the rotary step. This keeps precession from causing the character to lose or gain an extra step for about 30 twists continuously in one direction (for both directions).

FYI, I changed the default value for the Midnight Resistance joystick bootleg version as well which lets a person play without using a Dial device just to be consistent. I tested it, and it works well.

Also, just FYI, other than mame2003 equivalent PR which I will submit, I think I'll just have to submit one more PR after this to add settings for 3 other games I found from searching the PORT_ANALOGX entries that appear to use a X-way rotary joystick. After that, I will most likely be done with all X-way rotary joystick PRs.

Thanks.

Thank you wanting to make a contribution to this project!

Please note that by contributing code or other intellectual to this project you are allowing the project to make unlimited use of your contribution. As with the rest of the project, new contributions will be made available freely under the classic MAME Non-Commercial License.

This license can be viewed at https://raw.githubusercontent.com/libretro/mame2003-plus-libretro/master/LICENSE.md.