Tylemagne / Gopher360

Gopher360 is a free zero-config app that instantly turns your Xbox 360, Xbox One, or even DualShock controller into a mouse and keyboard. Just download, run, and relax.
GNU General Public License v3.0
916 stars 167 forks source link

Cursor moving #76

Open mjaksa opened 6 years ago

mjaksa commented 6 years ago

Hey,

When i start the exe my cursor keeps moving to 1 direction. It looks like the software thinks that the stick is not in the 0 position. My xbox one controller is brand new, and has no problems in game. Any solution for this?

Tylemagne commented 6 years ago

I bet the games have a higher deadzone than Gopher360's default setting. When my controller was new, I had the same problem. Every controller is always a little bit off center. The best solution is to configure the deadzone in the current build, or wait for the next one to be released (I can't remember if deadzone is only in the new builds).

mjaksa commented 6 years ago

Thanks, i downloaded the source and i realized that the config file has a parameter called DEAD_ZONE, now it is fine as i have set it to higher. Anyway i found DEAD_ZONE in gopher.h too as a const variable which is not used cos when DEAD_ZONE is found to be 0 in the config file(it is not there or 0) then the gather.cpp will set it to 6000, doesn't matter what is the const in the gather.h...

Hangaroid commented 6 years ago

Where have you found this DEAD_ZONE parameter that you are talking about? Because I don't have it in config.ini

keldavale commented 6 years ago

How do I change the dead zone parameter. Only options I have to change are the keybindings. I am very new to programming and don't know how to build the source code or whatever