KrossX / Durazno

XInput wrapper that allows controller customization
MIT License
199 stars 21 forks source link

Deadzone not applying #38

Closed Gfurst closed 6 years ago

Gfurst commented 6 years ago

Help, I can't for the life of me why this is happening, picture shows the left stick with a slight drift forwards, with a deadzone of 90%, it seems to apply to the other stick, and even to the X axis of the left stick, but not the Y axis where the drift actually exists. And as you can see from picture, the drift bad and jittery.

2017-11-21 01_11_18-durazno 2017-11-21 01_13_24-durazno

KrossX commented 6 years ago

I just tested it with "Durazno v0.6-41" and it worked fine. =S

Can you check this test-dll please? It's for 32bit Durazno, just replace the dll in there with this one.

Gfurst commented 6 years ago

I was also using v0.6-41, got this joystick just last week, and am seriously considering returning it.
Anyway, it seems it handles better than before, however it still sort of rests off center like in picture.
Actually further testing right now to get picture showed the exact issue, if the movement is only on the Y axis then the deadzone is not applied, as soon as move sideways it works.

2017-11-21 12_29_11-durazno 2017-11-21 12_32_31-durazno

KrossX commented 6 years ago

Can you attach your INI file please?

#EDIT: Testing might take some time as I cannot, no matter how hard I try, leave the sticks at zero on any axis. =_="

\EDIT2: New test file. TEST

Gfurst commented 6 years ago

Hey you nailed it! Seems to be working as intended now. Thanks!
Can I just use the same dll and rename for the other needs? And do you still want the config file?

2017-11-21 15_32_41-durazno

KrossX commented 6 years ago

No need for the config files anymore. As for the dll, you might reuse it for a lower version but functions will be missing for a higher version dll. I'll try to get some builds later today though.

#EDIT: New builds are up.

Gfurst commented 6 years ago

Thanks, let us know when you release it and close the issue.

Fyi, on the hardware side of things, it seems to have helped quite a lot to use an air blower over the mechanism, and then lubricate it with light machine oil, move it to let it spread and let it rest for a while. You should try that if your sticks are really too bad.

KrossX commented 6 years ago

Roger that, I'll close it then. The new build is "Durazno v0.6-43", please see if works as expected.

As for the controller, it never centered at perfect zero but now it's very loose so it's even harder to keep it around the center. Nothing that some huge deadzone can't fix. =P