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.4.tar.gz
(15.1 kB
view details)
Built Distribution
vinput-0.1.4-py3-none-any.whl
(15.3 kB
view details)
File details
Details for the file vinput-0.1.4.tar.gz
.
File metadata
- Download URL: vinput-0.1.4.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9f106a061d46a78fabbc527d8f72a09b87debc0237fa4f811c122cf31f2e2ff |
|
MD5 | 9873e14008f98b45fa77c1a8b75f8ffe |
|
BLAKE2b-256 | 53e4c298c397449b5daaf5d8800a34c9f48e238ce2da697d6b8b034db0412e93 |
File details
Details for the file vinput-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.1.4-py3-none-any.whl
- Upload date:
- Size: 15.3 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 | 7b5de8d5392cc9616223ce113b564110877011385a48125eb51ba78a76e183bb |
|
MD5 | caf10ff1b4a109b03cfbb6f44c52cf5a |
|
BLAKE2b-256 | 4fa4f9f4b35814ff2af567e18c158d1b186931957c0ed126dc162627839a7c25 |