Drivetrain controlled by xbox controller?

Hello,
I was wondering which RobotDrive would I use if I wanted to control the robot in a way such that:
The left stick on the xbox controller would give y-values that would control the forward and backward movement of the robot

And the right stick on the controller would give x-values that would control the rotation of the robot (for example if the right stick was pushed to the right, the robot would rotate to the right)

It’s probably really simple, but I’ve been stuck for a while

Thanks in advance! :]

I would suggest arcade drive.

Would public void arcadeDrive(double moveValue, double rotateValue) work?

Absolutely.