-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Feature Request] Deadzone radius setting for touch analog stick #15022
Comments
Just few random thought about this: Applying the setting will change the default (not by much tho'). We could also have the same setting only for touch but kinda meh. Applying the setting is really easy, what's trickier imho is how to handle the touch stick draw. Currently the stick position peak the PSP data struct, this can't work if we remap the value (it will have to match the pressed position on the screen rather than the value send to the PSP logic, like custom stick) If you move the stick with other mean should it should peek psp data i.e:
Then we should probably inverse remap the PSP data to match the visual, this get a bit trickier as |
@iota97 |
Well, the range is [0, 255] and it's being mapped to [-1, 1]. 128 is central value, because it rounds up, but if we subtracted and divided by 128 it would become impossible to get 1. That said, we could quantize it to 0, since we really want ..., -0.0196, -0.0117, 0, 0.0117, 0.0196. If we rounded to the nearest 0.01 it'd be fine, I suppose.
So if I understand right, the concern here is that the PSP game code is applying a deadzone that requires you go all the way to the edge, and we want to apply the inverse deadzone so you don't have to move it as far. Right? Seems like we might just apply the inverse of the inverse deadzone to the scale in drawing it maybe... -[Unknown] |
Yeah, but not necessarily a game. Even when I use the right analog stick with a custom binding (bound to action keys) the problem still persists (input is only registered when the "stick" crosses the circle, and no input is registered inside the circle) |
Well, I think the right analog's thresholds are hardcoded at 50%. But afaik the left touch analog stick has no natural deadzone, so only the game is applying one there. -[Unknown] |
Currently it's not possible to change the touch analog stick deadzone radius. It is extremely important though. Right now the "central circle" has to be moved to the corner of the outer circle before any input is registered.
I think the "Calibrate analog stick" settings should be applied to the touch ones as well.
The text was updated successfully, but these errors were encountered: