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)
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.1.5.tar.gz
(86.6 kB
view details)
Built Distribution
vinput-0.1.5-py3-none-any.whl
(86.5 kB
view details)
File details
Details for the file vinput-0.1.5.tar.gz
.
File metadata
- Download URL: vinput-0.1.5.tar.gz
- Upload date:
- Size: 86.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdfd8781d30ace59fb06d5f97f234b02884b6acbd4a63b8ef5daa3a1de2aef7d |
|
MD5 | fe22a75a6db1deb0164bae8381aba630 |
|
BLAKE2b-256 | 5142a242c3c7a678b5826ae9e989a382868afbe60dda074a92bb2dea052d2508 |
File details
Details for the file vinput-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.1.5-py3-none-any.whl
- Upload date:
- Size: 86.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9fdbeca8caf82cc717e4d4d52cae10a58ce5cb7e5af5897a4271adba9410c59 |
|
MD5 | f102f3b7e13f47474b9f868cc30b8302 |
|
BLAKE2b-256 | e58c686e5648de50c77702d45b85b605e843eeb529e625ec4fd74e456461d19c |