Perform the following steps to install uInput:
- First, we need to download uInput.
You will need to download the uInput Python library from GitHub (~50 KB) using the following commands:
wget https://github.com/tuomasjjrasanen/python-uinput/archive/master.zip unzip master.zip
The library will unzip to a directory called python-uinput-master.
- Once completed, you can remove the ZIP file using the following command:
rm master.zip
- Install the required packages using the following commands (if you have installed them already, the apt-get command will ignore them):
sudo apt-get install python3-setuptools python3-dev sudo apt-get install libudev-dev
- Compile and install uInput using the following commands:
cd python-uinput-master ...