-
-
Notifications
You must be signed in to change notification settings - Fork 678
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
L2/R2 input threshold adjustment #526
base: main
Are you sure you want to change the base?
Conversation
Looking nice and someone test if that solves the l2/r2 issues? |
Doesn't seem to work in DSR |
Doesn't seem to make any difference on RE4 (2005), and Dark Souls Remastered. Using an Xbox Series controller, if that matters. |
Same for me with DS4, doesn't fix the issue in Dark Souls remastered |
Very curious what's going on if this still doesn't fix it for everyone. Try enabling the logging (maybe change them to LOG_DEBUG or higher so you don't need all the trace stuff compiled in). That should show the range of values then; if it's not going above 150 or below 135 then the thresholds need adjusting. If the messages stop appearing after the first press or if it varies between games then something else is going on. |
Gonna look into it. |
#531 solves l2/r2 issue . Since I don't have a gamepad I dunno if that pr is needed now |
Oh, great! So the axis gets 0 to 255 then? I still recommend a non-zero threshold for the digital buttons in case there are games using that (it seems the above games prefer the analog value?) to deal with axis drift. |
…ove 127. This should fix the "only works once" issue and also avoid glitches. Tested with xbox controller and keyboard. Add TRACE-level logging for this.
Rebased to after #531, updated and tested the thresholds with the corrected scaling. |
Can someone test it ? :) |
|
150 (pressed) 135 (released)>31 <16127slightly above 0