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.3.0.tar.gz
(91.9 kB
view details)
Built Distribution
vinput-0.3.0-py3-none-any.whl
(91.7 kB
view details)
File details
Details for the file vinput-0.3.0.tar.gz
.
File metadata
- Download URL: vinput-0.3.0.tar.gz
- Upload date:
- Size: 91.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bb81e632e418881c2884179dbb3df69f6da3433b79055e2a9aaa3f41af44aa2 |
|
MD5 | 8b19a78b2ceebc85156e44304e1ab2dd |
|
BLAKE2b-256 | d221ebd01e3e3d32ae0c01718e1c69b7fcb2e4731ccbf1620ab471c3e26ccb29 |
File details
Details for the file vinput-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.3.0-py3-none-any.whl
- Upload date:
- Size: 91.7 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 | b77b28afb472c5e972229c801fadb3c4a4268a9722a79f692ebe8ee1572ef713 |
|
MD5 | d69c7733fb67ba37d51f30931d71b9b0 |
|
BLAKE2b-256 | c871d130c6659f7b4597b46fd6e9060221e504bd7434671861f3f4530b3f6999 |