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)

Donating

If you feel this library has been helpful, please consider supporting me by donating through my Ko-Fi. Thank you!

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

Uploaded Source

Built Distribution

vinput-0.6.1-py3-none-any.whl (80.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vinput-0.6.1.tar.gz
  • Upload date:
  • Size: 80.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for vinput-0.6.1.tar.gz
Algorithm Hash digest
SHA256 9c77231db320f91460f5842ccd6544ff6b207369060e03f6f6a56b584a63683e
MD5 55e62998710f2e50570c6d1e1fa6cb3a
BLAKE2b-256 e0ce7178fc724dc236bc9241befdc435b99e54b118f96e155f21cfd5f15611bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vinput-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 80.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for vinput-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 678096344593830c59074ce2625ee52a90cabe0da61a308e0e651b29664c7e92
MD5 693cc652e82f375770b61064d1f697cb
BLAKE2b-256 74b3c79974aa29fdd1fda20a29a0851ebf45ffa8105ed432f53be5db9fe6bed8

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