Skip to main content

Joystick simple estilo Pygame Zero

Project description

pyzero-joystick

pyzero-joystick is a simple joystick library inspired by Pygame Zero.

It allows beginners to use gamepads easily in Python games without dealing with complex event systems.

Works with the inputs library, making it compatible with Termux and Linux environments.

Example

from pyzero_joystick import joystick

def update(dt):
    if joystick.a:
        print("Jump!")

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

pyzero_joystick-0.1.6.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyzero_joystick-0.1.6-py3-none-any.whl (1.3 kB view details)

Uploaded Python 3

File details

Details for the file pyzero_joystick-0.1.6.tar.gz.

File metadata

  • Download URL: pyzero_joystick-0.1.6.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pyzero_joystick-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cbe0f355a1d0b0997c9414b0786e12498a83fe42b243d3749a7f74fad19889fd
MD5 96c50f97f5c144df044d23c361f41786
BLAKE2b-256 1ccdfcb96b24f0871a5eef7c341a9d5cc16a6be2dcbcb3d60cfd746c4d41f8b5

See more details on using hashes here.

File details

Details for the file pyzero_joystick-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pyzero_joystick-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 24b2d3136518b4dae28b1b7495ecf5d3a947c4eb330b8209b86b78d152aa98ca
MD5 6bc75ba22de8241069af88a7616b2a7d
BLAKE2b-256 0ed72e04c653c4148eb1a120e3a697e115f1b7209ba5d32d42aad3bb4b86bcda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page