Get rid of input jitter with gamepad

So I am trying to figure out the best method to get rid of input jitter on the joysticks.

if you hold it at any partial position you will see that it is really really really hard to keep the values consistent.

I tried to implement a “padding”, but it made it so certain values would not reach their max/mins.

Maybe a callback on the gamepad oninputchange listeners or whatever they are called would be the solution?