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

Uploaded Source

Built Distribution

vinput-0.5.0-py3-none-any.whl (79.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vinput-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1eeaef33b357e3ab4cf9a44e524a0322b8f3011f2f7f6b3e5d83f84ee936a602
MD5 91ea3543ebd06770045e0cf445df8db1
BLAKE2b-256 c280a74dbbf8799c29ffacec37acc044d4a8fc03e81d0b50c6ba2d43a04b31db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vinput-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 79.9 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19929affa264da847905adc2317887f0e3bf296e12291962b3ad9c1880447b00
MD5 eadfbfdda8d163d1d73c575a9ead52e3
BLAKE2b-256 fb3e8909444d227b6f1edbdd5a69527748335cbd50912b9fb5c5b926a59c14ff

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