emukidid / swiss-gc

Swiss - The swiss army knife of GameCube homebrew
GNU General Public License v2.0
1.23k stars 93 forks source link

[Feature request]: Can you add dead zone for the Control Stick and C Stick? #881

Open Anakiev2 opened 2 weeks ago

Anakiev2 commented 2 weeks ago

Describe the feature

Hi thank you for the great project!

My controller has some kind of a momentum issue. If I pull the Control Stick in one direction and release my thumb (to spring back) it goes slightly to the opposite direction and registers two inputs. For example If I pull Left and release - It registers Left then Right or if I pull Up - it's Up then Down. It happens in any direction for both Control Stick and C Stick. I think a dead zone will be a solution. It might be helpful for other users with different issues too.

Thanks.

Add screenshots

No response

Extrems commented 2 weeks ago

I think you need a more elaborate filter than a dead zone.

Anakiev2 commented 2 weeks ago

I've done some experiments and I think you are right. There is quite a lot of oscillation. Dead zone can help when I keep my finger on the stick but won't solve the issue when I quickly release it. It's a Pelican G3 Wireless Controller but I've never seen such an issue with the official controllers. I've thought about it and came up with two ideas:

  1. Some kind of counter weight.
  2. A capacitor like this: I am not sure about the value (probably 10nF or 100nF). cap Do you think the official controllers have such a capacitor or counter weight?