Analog sticks provide low values in the corners

There is no single best way of clipping joystick inputs and mapping them to control values of your motor.

It is a matter of personal preference, but here is what people have been doing in the past:

Also, you could study end of the season code submissions fro the past seasons: