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.3.tar.gz
(15.2 kB
view details)
Built Distribution
vinput-0.1.3-py3-none-any.whl
(15.3 kB
view details)
File details
Details for the file vinput-0.1.3.tar.gz
.
File metadata
- Download URL: vinput-0.1.3.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ee93c505443f685b4808bb0d531ca28ccccf75bc42907636dfa9b2aff6afc48 |
|
MD5 | 8f64fd0d9a5fcbb0cafcea9ebed9fb16 |
|
BLAKE2b-256 | 54c00bcd3af3820ad1e72ef4b429d90f21cdfc090d5b4d53072943b6fd9b91df |
File details
Details for the file vinput-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: vinput-0.1.3-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 | b213d88550418859b604797cb860cb5f7f2fb50340d4926633c98355198eaaa7 |
|
MD5 | dfdf6b94caa8aee59745ee9947c0610f |
|
BLAKE2b-256 | da7a3c350a3392ecba091089582f6d53a9650c8d9b93baea16ae41857985bc91 |