mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-22 14:12:18 -05:00
[PR #938] [MERGED] added "keyboard" and "mouse" by @boppreh to "Hardware" #845
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/938
Author: @Enteleform
Created: 9/20/2017
Status: ✅ Merged
Merged: 9/20/2017
Merged by: @vinta
Base:
master← Head:master📝 Commits (1)
6516baaadded "mouse" and "keyboard" by @boppreh to "Hardware"📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
README.md(+2 -0)📄 Description
What is this Python project?
github.com/boppreh/keyboard:
github.com/boppreh/mouse:
What's the difference between this Python project and similar ones?
This set of libraries offers much more functionality than those currently listed on awesome-python. They allow for complete management of all global key & mouse events.
Some features:
global hooks
- push all Key/Mouse events to provided callbacks
- keyboard[KeyboardEvent], mouse[ButtonEvent, MoveEvent, WheelEvent]
global hotkey registration
- push only defined Key events to provided callbacks
- left & right modifier keys are recognized separately
input simulation
- key chords, keypress sequences, mouse click/drag/scroll
- allows custom delay
macro recording & playback
- capture keystrokes in realtime, play them back @ custom speed
waitevent- blocks thread until defined Key/Mouse events are received
While not fully cross-platform (OSX is currently listed as experimental), these are the best choices I've come across for anyone looking for full access to keyboard & mouse functionality on the Windows & Linux platforms.
Both libraries are also very well documented.
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.