micro-artwork / xi2ds

Utility to control PlayStation Remote Play with XBOX controller instead of DualShock 4 controller.
MIT License
28 stars 3 forks source link

can you remove the deadzone please #7

Open tggachilles opened 1 month ago

tggachilles commented 1 month ago

i really like this app but can you remove the deadzone on versions you upload to github, or add a adjustable setting on the main window for deadzone where you click connect ds4. i ask because 25 deadzone is way to much and i dont think the sticks axis values are scaled properly after the deadzone is applied. if you wanted to add full deadzone settings that include a circular and axial deadzone options sort of like halo and destiny i would be happy to provide code for it.

i would remove it myself but i cannot build the solution because it cannot find the vigem client and something else to do with xinput, and my computer just doesnt agree with with having the vigem client installed as a library as i have tried to use it in a few other projects

micro-artwork commented 1 month ago

The deadzone is intended to be an overall solution to the problem of DS4's input occurring even when there is no thumbstick axis input from XInput. Note that these are the default values provided by the XInput wrapper library. I don't know exactly if these values are optimized or not, but I will consider options that you can adjust.

micro-artwork commented 1 month ago

I'm sharing a version with the deadzone temporarily removed. .NET 6 Desktop Runtime x64 is required. Note that It's not tested properly. XI2DS_x64_NoDeadzone.zip