Skip to content

Cornelius allows you to control mouse and keyboard inputs in a simple way.

License

Notifications You must be signed in to change notification settings

manucabral/cornelius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cornelius

Cornelius allows you to control mouse and keyboard inputs in a simple way.

Currently only supports Windows.

See full documentation here

Usage

Install the PyPI package

pip install cornelius

or clone the repository

git clone https://github.com/manucabral/cornelius.git

Example

Using cursor module

from cornelius import Cursor

mouse = Cursor()
mouse.set(500, 500)
mouse.left_click()

Using keyboard module

from cornelius import Keyboard

keyboard = Keyboard()
keyboard.send('a')

You can see more examples here

Planned features

  • Mouse scrolling
  • Detect multiple clicks
  • Wait for a key/mouse input
  • Keyboard hotkeys