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.6.tar.gz
(86.6 kB
view details)
Built Distribution
vinput-0.1.6-py3-none-any.whl
(86.5 kB
view details)
File details
Details for the file vinput-0.1.6.tar.gz
.
File metadata
- Download URL: vinput-0.1.6.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 | 3873b77fc700260581b3b22b377888aef01b77c4776010ea47ac83306670693a |
|
MD5 | a2a1fd6f90b658a059e3d82bf087faca |
|
BLAKE2b-256 | 3985d8fd6f69174288a83a7b9cdd971de8569c2cc1e85702b7e0876ea7836df8 |
File details
Details for the file vinput-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.1.6-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 | 0b1842ef3d2d87ebeed30c4c57186bb4ad86502346c9b720d12596a96f0b8067 |
|
MD5 | 9280d6906ea17d313942f52aa453b289 |
|
BLAKE2b-256 | 4385aaf5d2ba6e0cc30944182cb449f31886eb808533fc755e12a30c6938b619 |