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

Uploaded Source

Built Distribution

vinput-0.1.9-py3-none-any.whl (87.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vinput-0.1.9.tar.gz
  • Upload date:
  • Size: 87.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.9.tar.gz
Algorithm Hash digest
SHA256 74b69fc8dfc2f70684676ae69ea7f10ebd9fa868cccad4cb213139b6c353b48b
MD5 808e365e4ba40d8e37e88572dad615b7
BLAKE2b-256 2a04f63b9ccf4a664deb52e0c0ba48aec5806bcd5e52c38668fa1221075b4326

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vinput-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 87.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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f603c2a9d36c78e8b3eb12a83bb7d9ec14a0b3f65bc2ed9753a5097deb42101c
MD5 b1749a2c849cc6216429fb27a054f77b
BLAKE2b-256 7627e18ee25ae923cec8f636f6aba4a84b8f2e9f865b84c5233da07dd007574c

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