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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vinput-0.6.2.tar.gz.
File metadata
- Download URL: vinput-0.6.2.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 |
9f043f77911255dbfe04674da150207dc6fc2b7f8898ab27e8f7c4827f39b179
|
|
| MD5 |
c7031a5f58202d6e01674fdf4f0edbe9
|
|
| BLAKE2b-256 |
2946c8b77fdcdd7f4a34baf930dbbd8b70a8b0aaf439513c0369201c8d89962a
|
File details
Details for the file vinput-0.6.2-py3-none-any.whl.
File metadata
- Download URL: vinput-0.6.2-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 |
96a662f3a75edac9fa748dc19ddbfa4fcc9164cd5088b734566d5fe2a2c7c98f
|
|
| MD5 |
270e39200c65455d233589be5165749d
|
|
| BLAKE2b-256 |
0201c9464bc0a3f48c6bdc086906049e161cb63ca23f116aadbc02c420fd8337
|