# Key Bindings

FlytBase enables operators to manually control the drone through the Dashboard during missions or emergencies. In manual mode, the drone can be operated using a keyboard and mouse, or specialized controllers such as a gamepad or joystick. The **Key Bindings** tab on the Dashboard allows you to manage and customize these controls:

* **Customize Key Bindings**: Adjust the key bindings for the keyboard and mouse to suit your preferences.
* **Review Default Bindings**: View the pre-set key bindings for controllers, including the joystick and gamepad.
* **Test Controller**: Use the gamepad simulator to test the functionality of the gamepad.

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2F1o85SC5FQFnJetSb7y2s%2FKey%20Bindings.gif?alt=media&#x26;token=eda782cf-c9a6-47c8-a067-024b0bba6468" alt=""><figcaption><p>Navigating to <strong>Key Binding</strong> Settings</p></figcaption></figure>

{% tabs %}
{% tab title="Keyboard Bindings" %}

### Keyboard Bindings

To access/change keyboard bindings, follow these steps:

* Go to **Key Bindings** -> **Keyboard**
* Click on the required command, and assign a key as per your preference.
* To revert to the original keyboard bindings, click on the **Reset to defaults** button.

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2F64CYWra0L1YZuzle9IFK%2FScreenshot%202024-10-16%20002830.png?alt=media&#x26;token=645d324c-f275-49b6-ac02-71d73c215f64" alt=""><figcaption><p>Key Bindings: Keyboard tab (Red) and Reset to defaults (Yellow)</p></figcaption></figure>

{% hint style="warning" %}
As of October 15, 2024, the default key bindings for Throttle **Up/Down** have changed from **Space/Shift** to **R/F**, and any custom bindings have been reset. Please verify your key bindings before manually controlling the drone.
{% endhint %}

#### Default Keyboard Commands: Payload Control

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2Fy6rMXfpkwalJV2m2B0wc%2Fimage.png?alt=media&#x26;token=27ebeb98-9978-4c8d-88f6-3e2f4a85aa14" alt=""><figcaption><p>Default Payload Control commands using Keyboard and Mouse</p></figcaption></figure>
{% endtab %}

{% tab title="Controller Bindings" %}

### Controller Bindings

* Navigate to **Key Bindings** -> **Controller**

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2FbxYaQ1Iov4lUP7HFwuLW%2FController%20Bindings.gif?alt=media&#x26;token=b6692878-1907-479f-8ad9-8ef8231a1c56" alt=""><figcaption><p>Controller Bindings</p></figcaption></figure>

FlytBase currently supports the following Controllers for the Manual flight of the drone:

1. Thrustmaster T.16000M FCS Joystick
2. Xbox 360 Gamepad (Wired)&#x20;

{% hint style="info" %}
Currently, FlytBase does not support custom key bindings for the supported Controllers.
{% endhint %}

### Thrustmaster T.16000M FCS: Key Bindings and Actions

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2FKqUt22lUF36w9VEu1YDU%2Fcapture_20240419192645624.bmp?alt=media&#x26;token=c55533a2-d6bc-487f-b080-eed142e72bea" alt=""><figcaption><p>Thrustmaster Key Bindings</p></figcaption></figure>

<div><figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2FwHNUb8T5O4eOHqpZW28A%2Fimage.png?alt=media&#x26;token=72742e39-ea65-4ee4-9e18-f4665f9df39c" alt="" width="498"><figcaption></figcaption></figure> <figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2Fl2erTb4zCGu20tMHLgQR%2FScreenshot%202023-11-24%20181632.png?alt=media&#x26;token=199559db-b4d0-4bec-9625-cee90a057db1" alt="" width="470"><figcaption><p>Thrustmaster Controls</p></figcaption></figure> <figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2FNPhVx0ae3hNR2L8GVJ3y%2FThrustmaster%203.png?alt=media&#x26;token=7f5e1c69-4308-4fc4-b079-f2c18995a9a9" alt="" width="563"><figcaption></figcaption></figure></div>

### Xbox 360 Gamepad: Key Bindings and Actions

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2FrNW8JmzIeUo1uZUGMzGq%2Fimage.png?alt=media&#x26;token=49546846-1835-48fc-846b-4d20926cbdf1" alt=""><figcaption><p>Xbox 360 Commands</p></figcaption></figure>

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2Ft6D2l0ZES288ARwru6dl%2Fimage.png?alt=media&#x26;token=374eb0df-3819-45c8-8161-4ed67153f47c" alt=""><figcaption><p>Xbox 360 Commands</p></figcaption></figure>

The controls of the Xbox 360 Gamepad can be tested using the Gamepad Simulator.

{% hint style="info" %}
Currently, the Simulator is only available for the Xbox 360 Gamepad.
{% endhint %}
{% endtab %}

{% tab title="Gamepad Simulator" %}

### Gamepad Simulator

To test the console keys for the Xbox 360 Gamepad, go to **Key Bindings** -> **Controller** -> **Gamepad**, and click on the **Simulator** button.

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2FHY2aBGhM0gNtKDv4avh2%2Fcapture_20240419192700686.bmp?alt=media&#x26;token=748862e3-6223-4c9c-938d-0cfbb41c33ee" alt=""><figcaption><p>Key Bindings: Gamepad tab (Red) and link to Gamepad Simulator (yellow)</p></figcaption></figure>

Once done, connect your Xbox 360 joystick and press the keys to test whether the commands are being received appropriately.

{% hint style="warning" %}
Only a **wired** **Xbox 360 Gamepad** is supported on FlytBase.
{% endhint %}

<figure><img src="https://1675645432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTfYUUwVnoRyxqEi8UiRV%2Fuploads%2FwqDBwfxbkMDTTqOqZjuF%2Fcapture_20240419192710006.bmp?alt=media&#x26;token=9eb3078d-b771-4cd0-99e1-89ca2a09f09b" alt=""><figcaption><p>Gamepad Simulator</p></figcaption></figure>
{% endtab %}
{% endtabs %}

To learn about how to take **Manual Control** of the drone, refer to the following documentation:

{% content-ref url="../../in-flight-modules/how-to-manage-your-flight-operations/how-to-control-your-drone/manual-drone-controls" %}
[manual-drone-controls](https://docs.flytbase.com/in-flight-modules/how-to-manage-your-flight-operations/how-to-control-your-drone/manual-drone-controls)
{% endcontent-ref %}

To learn about **Manual Payload Control**, refer to the following documentation:

{% content-ref url="../../in-flight-modules/how-to-manage-your-flight-operations/payload-controls/manual-payload-controls" %}
[manual-payload-controls](https://docs.flytbase.com/in-flight-modules/how-to-manage-your-flight-operations/payload-controls/manual-payload-controls)
{% endcontent-ref %}
