Python bindings for the libvinput library
Project description
Python bindings for libvinput
Installation
You can install the bindings this way:
$ python3 -m pip install vinput
Please note on Linux, you need libxdo installed.
Example
The simplest program is the following:
import vinput
l = vinput.EventListener(True)
l.start(print)
You can log mouse buttons and movements too:
import vinput
l = vinput.EventListener(True, True, True)
l.start(print, print, print)
Donating
If you feel this library has been helpful, please consider supporting me by donating through my Ko-Fi. Thank you!
License
This software is licensed under the AGPLv3 license, more info in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vinput-0.6.0.tar.gz
(80.3 kB
view details)
Built Distribution
vinput-0.6.0-py3-none-any.whl
(80.0 kB
view details)
File details
Details for the file vinput-0.6.0.tar.gz
.
File metadata
- Download URL: vinput-0.6.0.tar.gz
- Upload date:
- Size: 80.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b8602a8017ac09ce15ddb2406a4310493a787f9f1fa960c0db1db4c89c12d8 |
|
MD5 | a46bd3390e537ee12c9688d7058bc1bf |
|
BLAKE2b-256 | 0b5966ec13f55c5a9f3323e27577207cdf5a964950d3baac971a1155c854012c |
File details
Details for the file vinput-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.6.0-py3-none-any.whl
- Upload date:
- Size: 80.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfbdfb6ad5444defa3c228eee751c3e17c23783b633f84931605d006869b84ad |
|
MD5 | 1e298a243bb6daa2cee8d883987b9d70 |
|
BLAKE2b-256 | e9f9970aefbc842d71900cfcea903c0289e06c40a6132d83184bfaa96d05fbda |