https://github.com/sunithvs/monitor
https://github.com/sunithvs/monitor
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sunithvs/monitor
- Owner: sunithvs
- Created: 2023-07-08T05:40:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-08T05:43:27.000Z (almost 3 years ago)
- Last Synced: 2024-10-18T23:20:46.729Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Here is a sample README file for the keyboard and mouse monitoring application:
# Keyboard and Mouse Monitoring Application
This is a simple Python program that implements a keyboard and mouse monitoring application using sockets. The program has two parts: a server and a client.
## Setup
1. Make sure you have Python 3 installed on your system.
2. Install the `pynput` library by running `pip install pynput` in your command prompt or terminal.
3. Download the `server.py` and `client.py` files from this repository.
## Running the Application
1. Open two command prompts or terminals.
2. In the first one, navigate to the directory where you downloaded the `server.py` file and run `python server.py`.
3. In the second one, navigate to the directory where you downloaded the `client.py` file and run `python client.py`.
4. The server will start listening to all mouse and keyboard events and send them to the client using sockets. The client will listen to the server and print the data sent from the server.
## Sample Output
Here is a sample output of what you might see when running the application:
```
Connected by ('127.0.0.1', 65433)
Mouse moved to (427, 527)
Mouse moved to (427, 528)
Mouse moved to (427, 529)
Mouse moved to (427, 530)
Mouse moved to (427, 531)
Mouse clicked at (427, 531) with Button.left
Mouse released at (427, 531) with Button.left
Key 'a' pressed
Key 'a' released
Key 'b' pressed
Key 'b' released
```
Is there anything else you would like me to add or change in this README file?