how do analog sticks avoid counting “snapping back” as an input?

656 views

When you let go of an analog stick it snaps back to the center, how is this not counted as an input? Is this an hardware or a software thing?

In: Technology

7 Answers

Anonymous 0 Comments

In most cases I’ve seen, releasing the stick causes the video game character to stop moving, does that count as an input?

Each joystick is made differently but mathematically, you can differentiate pushing on the stick vs releasing using the dr/dt of the analog stick position per frame. You can program your game to ignore whichever one based on that.

You are viewing 1 out of 7 answers, click here to view all answers.