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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vinput-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 433c475386f7f4dfa0ce332f77913e2464f35b2fccc9fc92ac863281e85bfa81
MD5 e554aeb7e4c944954c7835078301e233
BLAKE2b-256 4c4e0f582e831223854e625a85db113dabdee04ac3faa0c419c37abf68a9d86e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vinput-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b42ce3f88046beb9a01b64a6368230e579659fb29ac0618bd8ff254a6eabedd
MD5 6bad18f0671a3dcd73b34616911588cd
BLAKE2b-256 57a6cb45317142691a966a671eaeec49727a406a1026889bc6039fab8f24c3c1

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