mupen64plus / mupen64plus-input-sdl

Input plugin for Mupen64Plus v2.0 project using SDL. This is derived from the original Mupen64 blight_input plugin.
GNU General Public License v2.0
43 stars 70 forks source link

Feature Request: optional mouse residual decay via config #96

Open qwenger opened 3 years ago

qwenger commented 3 years ago

Currently the mouse residual either decays exponentially each frame or remains constant, see https://github.com/mupen64plus/mupen64plus-input-sdl/blob/master/src/plugin.c#L656.

For FPS like "The World Is Not Enough" where aim is controlled with the stick and in turn with the mouse, this makes aiming highly difficult as the view continues rotating when one stops moving the mouse.

It would be nice to have a configuration setting to reset mousex_residual and mousey_residual to 0 instead of multiplying it by 224/256. Alternatively, the setting could control the integer factor (224 currently).