# Remote Control Guide

Go to the Python Editor and choose Help--> Examples --> Fusion --> USBGamepad--> usbMixerDrive

![](/files/1KRfQmdTNcpnNtFDo2rI)

Next plug a wireless USB receiver into your Fusion controller like this:

<figure><img src="/files/LfmUEScJAAHXM2D0defI" alt=""><figcaption></figcaption></figure>

Run the program and try to drive your robot around with the left joystick.

You should also try the usbTwoStickDrive example program. This will drve like a tank...the left joystick will control the left wheel and the right joystick will control the right wheel.&#x20;

<figure><img src="/files/92Z3RjNtyMIVX9NvbJbQ" alt=""><figcaption></figcaption></figure>

You may also wish to try the code below. It should drive the robot forward and backward with the y axis of the left stick and make the robot spin with the x-axis of the right stick. Some might call this video game drive.

```python
import Fusion

f = Fusion.driver()
usb = Fusion.usbGamepad(0)

while True:
    y = usb.readAxis(1)
    spin = usb.readAxis(2)
    d = max(abs(y)+abs(spin),100)/100
    f.motorSpeed(f.M0, (y - spin)/d)
    f.motorSpeed(f.M1, (y + spin)/d)

```

### More Details

Official Fusion Documentation Link: <https://modernroboticsinc.com/fusion_docs/Py_usbGamepad/#readbuttonbutton>&#x20;

<figure><img src="/files/eRvzj47pEtriKygizNjO" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.mccaskeyrobotics.org/fusion/remote-control-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
