Rosalie241 / RMG

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

Mapping using the triggers of a controller in the latest release will recognize the buttons being pressed even if not pressing them. #64

Closed AkihitoZero5454 closed 1 year ago

AkihitoZero5454 commented 1 year ago

I was playing Castlevania and when I mapped Z on the L2 button on my Dualsense. It'll recognize the button being pressed when I'm not pressing it. Is it a deadzone issue or something else such as a Emulator bug with Axis -4 and Axis -5?

Rosalie241 commented 1 year ago

The issue is a sdl issue and cannot be easily resolved, what you can try is pressing the trigger completely, then clicking the configure Z button and letting go, it should show axis + instead of axis - and then it should work fine.

AkihitoZero5454 commented 1 year ago

The issue is a sdl issue and cannot be easily resolved, what you can try is pressing the trigger completely, then clicking the configure Z button and letting go, it should show axis + instead of axis - and then it should work fine.

Thanks! It works properly

Rosalie241 commented 1 year ago

This commit should help with your problem (it'll be included in the next release): https://github.com/Rosalie241/RMG/commit/b4c42726caf46f231e3d47c477fdcd01c9ebfaca

it adds a new option called 'Invert axes mapped to LRZ` which inverts axis automatically for the left shoulder button, right shoulder button & z button

Gilipheoun commented 1 year ago

Having this issue on steam deck. Suggestion unfortunately does not work for me.
Although I must point out your old controller options I never had this issue, As I was able to use L2 and R2 for Ocarina of Time for lock on and shield and complete the game. Now in majora's link just stands there with his shield out xD.

Rosalie241 commented 1 year ago

The next release should have the fix included, and the other input plugin I used had the same issue, it just came pre-configured somewhat so less users encountered it.

Gilipheoun commented 1 year ago

One idea is to remove any input that recognizes axis input and jutt make it analog. As the only axis the N64 uses is just the joy stick. All other buttons can just be that. Buttons.

^ not sure if comment relevant then.

Thanks and cheers! I await the update (^_^)

Rosalie241 commented 1 year ago

Should be fixed in the latest release (which'll be in the flathub repos in a few hours)