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.4.0.tar.gz
(60.8 kB
view details)
Built Distribution
vinput-0.4.0-py3-none-any.whl
(60.4 kB
view details)
File details
Details for the file vinput-0.4.0.tar.gz
.
File metadata
- Download URL: vinput-0.4.0.tar.gz
- Upload date:
- Size: 60.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a32518535fa3ad888ec353b491e025716c159223db28b9b9734f85db30b82aa6 |
|
MD5 | 3e4b0d5de2d5f9914c47b69b7ec96191 |
|
BLAKE2b-256 | 39754486d9fdc4538ec55d21b512881bbb68f5914d83dc3b7de8741b3eb9ff2b |
File details
Details for the file vinput-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.4.0-py3-none-any.whl
- Upload date:
- Size: 60.4 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 | f197c170ce42eae6dec09780b7f3a5fb36a24eb20a40a7b90c73c3a81a1b6ff9 |
|
MD5 | c5f7d52e6bb088fe1532296eb99953fe |
|
BLAKE2b-256 | e9b950a0848a22973829bbe656cde2cb32176a90f707156221b01b7c6fd117d7 |