Rosalie241 / RMG

Rosalie's Mupen GUI
GNU General Public License v3.0
573 stars 50 forks source link

Introduce analog stick sensitivity #126

Closed JaxonWasTaken closed 1 year ago

JaxonWasTaken commented 1 year ago

Allow users to set a sensitivity for analog stick input. The range is from 25% to 175% of the actual input. Lower than 100% sensitivity will result in not being able to reach maximum emulated N64 input; i.e. lower than 85 absolute value along the axes. Greater than 100% sensitivity causes the emulated input to reach its max sooner than. When emulated stick input is mapped to a digital input on the real input device, e.g. a keyboard, values under 100% will limit the maximum value similarly to analog mappings, while values above 100% will have no impact on the emulated input.

Rosalie241 commented 1 year ago

while values above 100% will have no impact on the emulated input.

are you certain about this though? when using the controlltest ROM from Sanni (see https://github.com/sanni/controllertest/blob/master/N64-Port/controllertest.v64), it seems that the emulated input isn't capped to 85, while it does seem capped in the configuration GUI.

JaxonWasTaken commented 1 year ago

while values above 100% will have no impact on the emulated input.

are you certain about this though? when using the controlltest ROM from Sanni (see https://github.com/sanni/controllertest/blob/master/N64-Port/controllertest.v64), it seems that the emulated input isn't capped to 85, while it does seem capped in the configuration GUI.

I forgot to check in-game controller input after rebasing, I'll look into this.