https://github.com/manucabral/cornelius
Cornelius allows you to control mouse and keyboard inputs in a simple way.
https://github.com/manucabral/cornelius
automation input inputs interactions keyboard mouse python win32 windows
Last synced: 8 months ago
JSON representation
Cornelius allows you to control mouse and keyboard inputs in a simple way.
- Host: GitHub
- URL: https://github.com/manucabral/cornelius
- Owner: manucabral
- License: gpl-3.0
- Created: 2022-06-05T04:44:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-08T18:41:33.000Z (over 3 years ago)
- Last Synced: 2024-10-14T07:53:17.540Z (over 1 year ago)
- Topics: automation, input, inputs, interactions, keyboard, mouse, python, win32, windows
- Language: Python
- Homepage:
- Size: 794 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cornelius
Cornelius allows you to control mouse and keyboard inputs in a simple way.
Currently only supports **Windows**.
See full documentation [here](https://github.com/manucabral/cornelius/wiki)
## Usage
Install the [PyPI package](https://pypi.org/project/cornelius/)
```bash
pip install cornelius
```
or clone the repository
```bash
git clone https://github.com/manucabral/cornelius.git
```
## Example
Using cursor module
```py
from cornelius import Cursor
mouse = Cursor()
mouse.set(500, 500)
mouse.left_click()
```
Using keyboard module
```py
from cornelius import Keyboard
keyboard = Keyboard()
keyboard.send('a')
```
You can see more examples [here](https://github.com/manucabral/cornelius/tree/main/examples)
## Planned features
- Mouse scrolling
- Detect multiple clicks
- Wait for a key/mouse input
- Keyboard hotkeys