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.10.tar.gz
(91.9 kB
view details)
Built Distribution
vinput-0.1.10-py3-none-any.whl
(91.6 kB
view details)
File details
Details for the file vinput-0.1.10.tar.gz
.
File metadata
- Download URL: vinput-0.1.10.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 | f2957d7ba9029e359226fb63d59e3163d8dcd53046a7227946ff7e0e6542a295 |
|
MD5 | 884a2a533e00f44965ee9759b9df15b2 |
|
BLAKE2b-256 | b8914ebc845356b76df076102ff30fbcb3eaf05933b25a776d39a34d4a72e540 |
File details
Details for the file vinput-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.1.10-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 | f915e96ec173246045062c0b15e37cf41285962dde1af9195887ab9cd465e5e7 |
|
MD5 | c69670b8a070ccf69aa4021e3df9272d |
|
BLAKE2b-256 | e05eeeb4bcad93d5889f46533dda2869ab3ab8739682bf9d2fba6362c6dd291e |