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

Uploaded Source

Built Distribution

vinput-0.1.8-py3-none-any.whl (91.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vinput-0.1.8.tar.gz
  • Upload date:
  • Size: 91.2 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.8.tar.gz
Algorithm Hash digest
SHA256 6bed78ef86bb1a6fe2fcbd1e406d7b3718f70761831e7302f6826ab414fec593
MD5 5fef9248a9980c2d39551b425c23fc8b
BLAKE2b-256 bdc7f7bf389a6a8b2ce4de4faa222c25a295923d392bcec29aa99af53c65f6dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vinput-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 91.0 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9d12659567e910b9b7925c468d228d9b9b619779688c7370f5523e684d13ce9f
MD5 b4447292084c7a4b36411ce8d7d11b8b
BLAKE2b-256 5d93c95dd90076dda8c985f27a00a9ea17b0816ef7d66c891a3c70da6ca94646

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