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.2.0.tar.gz
(91.9 kB
view details)
Built Distribution
vinput-0.2.0-py3-none-any.whl
(91.6 kB
view details)
File details
Details for the file vinput-0.2.0.tar.gz
.
File metadata
- Download URL: vinput-0.2.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 | d0723481865a856a7bf500abe85d97e69afbf7537ec26e1af4f7f50a3faab68a |
|
MD5 | 3adba5f43cea2191ef430365cdaa4804 |
|
BLAKE2b-256 | 9a12a333f39a8d39d8333003f668f45bb57d5c02d2708ee5a2c7088ae4547c59 |
File details
Details for the file vinput-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.2.0-py3-none-any.whl
- Upload date:
- Size: 91.6 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 | ab89721059ff647d5d93a5428f0e2df7fb25bb3df6c249660994118310fe594d |
|
MD5 | 6cd8046ef4750b9cd2704df20b8d6f88 |
|
BLAKE2b-256 | 6cf9429cd77353f678fd6d936541b2260ac5a5afd32550e487dd37fbaa2fbb6e |