MERLev / reVita

GNU General Public License v3.0
74 stars 8 forks source link

'R' Stick issue. #8

Open KronoTrigger opened 3 years ago

KronoTrigger commented 3 years ago

I've noticed some issues with the 'R' Stick shifting far when I slightly move it, my deadzone is high and my anti-deadzone is balanced out. My gyro is enabled for my R Stick as well, it appears to only do it when I have Gyro enabled for the Right Stick.

Just my suggestion, can there be a way to set the speed of how fast something goes, kind of like how it was in reMap, my R Stick is quick to move, even with my deadzone set to max.

• Thank you!

MERLev commented 3 years ago

When you enable gyro>analog remap rule, deadzone for that analog is force-enabled automatically (acts as if you enabled deadzone under Profile>Analog sticks. You can reduce this deadzone on Profile>Analog sticks submenu. \ Why this was done? Because app deadzone is applied after reVita will add its emulated values. Lets assume your stick is a bit junky (it is) and even when you do not touch it, it is detected as its tilted 5 points to the right (When ideally it should be at 0). All Vita apps have some deadzone (lets assume 10 here), so they will ignore those small values(5 < 10) and read it as 0 - everything works just fine. But now you have added gyro>analog remap, and tilted your vita very fast to the left. reVita will see this fast tilt, and will set your analog as maximally tilted to the left (-127), but, as we have also native junky analog here (+5), they will be summed up (-127 +5 = -122). So, you cannot actually reach maximum value here with you gyro - no matter how fast you tilt it. That's why we need to apply deadzones to them separately, before summing them up.