From 624d17c919ce5d05c643ee2cfefd716f1ae8bf82 Mon Sep 17 00:00:00 2001 From: Flo <37000563+flok@users.noreply.github.com> Date: Thu, 5 Aug 2021 21:55:24 +0200 Subject: [PATCH] Update README.md with Linux instructions --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2203d30..1f3ece4 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,32 @@ # pydualsense control your dualsense through python. using the hid library this package implements the report features for controlling your new PS5 controller. -# install +# Installation + +## Windows Download [hidapi](https://github.com/libusb/hidapi/releases) and place the x64 .dll file into your Workspace. After that install the package from [pypi](https://pypi.org/project/pydualsense/). ```bash pip install pydualsense ``` + +## Linux + +On Linux based system you first need to install the hidapi through your package manager of your system. + +On an Ubuntu system the package ```libhidapi-dev``` is required. + +```bash +sudo apt install libhidapi-dev +``` + +After that install the package from [pypi](https://pypi.org/project/pydualsense/). + +```bash +pip install pydualsense +``` + # usage ```python