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.
Release files for vinput 0.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vinput-0.6.3.tar.gz | 100.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vinput-0.6.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 200.0 kB
Release files / vinput-0.6.3.tar.gz
| Download URL | vinput-0.6.3.tar.gz |
|---|---|
| Size | 100.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e6b3ffc8d4cfdcf1e7257d7c98d9c982e069020b83906e5b543f50b371d497c
|
|
BLAKE2b-256 checksum How to use checksums |
2f8f0f837b190279051b9ed8d57bafa593350877b192c5292f4268c04d05f300
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / vinput-0.6.3-py3-none-any.whl
| Download URL | vinput-0.6.3-py3-none-any.whl |
|---|---|
| Size | 99.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecdbb366606fab12f3add277c4a1493d8cfd07959236dc73d461262f1adec93f
|
|
BLAKE2b-256 checksum How to use checksums |
1f7846e264f77f7132823315062363d72756de8cd90a6075a91177585859b096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|