Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

Add info about input group for joystick usage in building instructions

Oleg Kalachev4eec63adfa84
diff --git a/docs/build.md b/docs/build.md
index 4a5caf9..ad46ab2 100644
--- a/docs/build.md
+++ b/docs/build.md
@@ -36,7 +36,13 @@ cd flix
sudo apt-get update && sudo apt-get install build-essential libsdl2-dev
```
-4. Run the simulation:
+4. Add your user to the `input` group to enable joystick support (you need to re-login after this command):
+
+ ```bash
+ sudo usermod -a -G input $USER
+ ```
+
+5. Run the simulation:
```bash
make simulator