Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Libretro] Fix deadzone and sensitivity #19670

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

bslenul
Copy link
Contributor

@bslenul bslenul commented Nov 29, 2024

Looks like the deadzone and sensitivity core options are purely cosmetic and don't actually do anything...
So I grabbed the logic from ControlMapper.cpp's MapAxisValue() (minus the inverted deadzone since there's no core option for it and it defaults to 0) and tested with a buttons tester homebrew, it now works properly AFAICT.

@hrydgard
Copy link
Owner

Just curious, what's the test homebrew? Could add a link to it from the controls troubleshooting page on the website.

@hrydgard hrydgard added this to the v1.19.0 milestone Nov 29, 2024
@hrydgard hrydgard added Libretro Issue on Libretro but not all ports. Input/Controller Input and controller issues labels Nov 29, 2024
@hrydgard hrydgard merged commit b15f7fd into hrydgard:master Nov 29, 2024
19 checks passed
@bslenul
Copy link
Contributor Author

bslenul commented Nov 29, 2024

I used this one: https://wololo.net/talk/viewtopic.php?t=11333
With the Wayback Machine you can still access downloads and sources: https://web.archive.org/web/20190401040132/https://code.google.com/archive/p/keystester/downloads

image

Not the most sexy but it gives the analog range from 0-255 which is all I needed.

@bslenul bslenul deleted the lr-input-fixes branch November 29, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Input/Controller Input and controller issues Libretro Issue on Libretro but not all ports.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants