Skip to main content

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


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.7.tar.gz (86.6 kB view details)

Uploaded Source

Built Distribution

vinput-0.1.7-py3-none-any.whl (86.5 kB view details)

Uploaded Python 3

File details

Details for the file vinput-0.1.7.tar.gz.

File metadata

  • Download URL: vinput-0.1.7.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

Hashes for vinput-0.1.7.tar.gz
Algorithm Hash digest
SHA256 fb0d2645b3349d8328dbbdcd506e66d33acaf250465c74ebe1e9b7ae6ded8d38
MD5 30153763886ed01fcee1a77b1c26e695
BLAKE2b-256 8bce49573bdc544c48c3e29f5dc7f78b45c43406293eb9da9c066efff23b7eb1

See more details on using hashes here.

File details

Details for the file vinput-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: vinput-0.1.7-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

Hashes for vinput-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 91dc3e5600fcc49c86a5a115679aa90cb1a550f5cf2fdd389e99122b78facee7
MD5 7976ee7b1fa8344291987cd2c0d2bd3a
BLAKE2b-256 3a209edace58992b7668dad44ce6eda3a93c2484be0d3858bf81678dddf5e419

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page