Math Help - Regarding Controller Stick Magnitude

I am afraid we are running in circles here. Or maybe I can’t see what your problem is, sorry about that. I would recommend you to sit down with paper and pencil, draw your axis/keys and try to figure out what the expected outcome should be for each combination (angle and magnitude). Once you have done that, I am sure you will “see” the solution. Re-read what I wrote above about using ATAN2 or the Boolean OR function, it that may still help you.