From 4eec63adfa84157893b6f5fbd85535fb25c8bad5 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sat, 17 Feb 2024 22:17:27 +0300 Subject: [PATCH] Add info about input group for joystick usage in building instructions --- docs/build.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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