> For the complete documentation index, see [llms.txt](https://openhd.gitbook.io/open-hd/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openhd.gitbook.io/open-hd/advanced-setup/joystick.md).

# Joystick

> ⚠️ **This documentation is outdated!** A current version is available at [openhdfpv.org](https://openhdfpv.org)
>
> [📖 **View Updated Version of This Page** →](https://openhdfpv.org)

***

Having a wide range of options is OpenHD hallmar and since we are focusing on introducing all the changes that a pilot would nedd to make during a flight in the sidebar, we are introducing the new Joystick to allow to make the changes without a touchscreen and without the mess that can be a mouse.

![General view of the joystick](/files/W2sK43bWCh6mJh01AHfP)

The sidebar as is designed works like a organigramme so you only need "UP" "DOWN" "RIGHT" and "LEFT" to make all the changes ("ENTER" is there just for the future but now it doesnt do anything) You just need 4 buttons that shorts to ground a GPIO pin each time to make a mouvement.

Here is the pinout:

![RPI\_pinout](/files/crcqkEvyIJPs9suciOFx)

And here is a example of a joystick:

![Interal\_wiring](/files/ScaJtrzUu07X46wY6iIA) ![Inside ground unit](/files/mhe7tX3eFWK27v3meZVM)

In case you need to change any pin in the ground raspberry pi because of a damage in one pin you need to edit the .txt on the ground sbc named config.txt and scroll down to the bottom until you find "Adding joystick"


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://openhd.gitbook.io/open-hd/advanced-setup/joystick.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
