Real-Time data acquisition (via USB) resulting in output adjustment

I was planning on using one or two Logitech Attack 3 joysticks plugged into my laptop and using normal usb-b cable to connect my laptop to the arduino.
What I meant was that when I push the joystick forward (increasing/decreasing the pot resistance) I want the arduino to change its analog outputs to the MOSFETS. I have done most of the example code, but I don't understand it works.

Basically: Joystick to Laptop, Laptop interprets and sends data to Arduino, Arduino adjusts pwm outputs based on how the Joystick is moved.