Basically, if I do :
if gamepad axis X > 0 -> 8 directions simulate right
if gamepad axis Y > 0 -> 8 directions simulate down
The movement will go right AND down even if my stick is 100X and only 1 Y, which is not really nice if I want only go left.
So I made larger "areas" between X and Y to allow the player moving in only one direction even if the stick is a bit in another direction. I'm not fluent in english and I may be hard to undersand <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">
That said, I made this :
https://i.imgur.com/YTlfIjo.png
Now my character will go to the right or left only even the stick points a bit to up or down (and the same if you invert X and Y).
Is there any better way to do this?