360 degree control with mecanum wheels

i need help trying to figure out how to code my ftc mec dirve so that is uses the full degree of rotation offered by the controller, any ideas?

One of our FTC kids looked at our code (that only used a square shape of the joystick) and rewrote the code for his bot to use the whole thing. I’m still not sure how he did it though. I’ll have to check his engineering notebook. I gotta study for my final first though.