A mouse jiggler program implemented in python.
- Python 3.4x installation.
- An IDE prefered.
- A virtual environment - optional.
- python packages(pip package):
- pyautogui
- random
- time
- keyboard
- asyncio (incase of using the older python version)
Here, pyautogui, keyboard package you need to get from pip install , other packages are readily available with python installation.
- Install python 3.4x or more.
- clone the repository or copy the code.
- create a virtual environment (optional)
- command:
python -m venv <your-virtual-environment-name>
- Activate your virtual environment:
- command(macos/linux) :
source <path-to-your-virtual-env>/bin
- command(windows):
<your-venv>/Scripts/activate.bat
- command(macos/linux) :
- command:
- Install the packages
pip install keyboard pyautogui
- Execute the Script.
- command:
python main.py
- command:
usecase: No usage definition needed. 😉
Optional enhancement: -
- you can further optimise the code and create a os specific executable for the program.
- Currently, the program terminates when you press combination of keys ctrl+shift+q on you keyboard. You can further customize and enhance the program termination logic.
- The program is using python in-build asyncio to run optimized way with co-routines. If any experience programmer want to contribute to the project. they are pull requests are welcomed.