Simple wrapper around vgamepad for easier controller inputs
Project description
simplevgpad
A Python helper library for simplified Xbox controller input using vgamepad.
Defines 2 classes which inherit the vgamepad.VX360Gamepad class, and adds methods to slightly simplify controller input simulation for simple projects.
Installation
pip install simplevgpad
Examples
controller
from simplevgpad import controller
game = controller()
game.press_a()
game.hold_left_trigger(2)
controller_async
from simplevgpad import controller_async
import asyncio
async def main():
game = controller_async()
await game.press_a()
asyncio.run(main())
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
simplevgpad-0.1.1.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simplevgpad-0.1.1.tar.gz.
File metadata
- Download URL: simplevgpad-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fa72671b01c2da6537e537ad53e20d45ba8ec76941aaf7edd2dff94ff0b4b47
|
|
| MD5 |
97eb2dfeb1f06fa3d396a30d31519e2a
|
|
| BLAKE2b-256 |
26821c4af23f96ce70a6abdf0ea4da5426c09d7edfbe74e7fc0a703a8b56bd2c
|
File details
Details for the file simplevgpad-0.1.1-py3-none-any.whl.
File metadata
- Download URL: simplevgpad-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c7382673b53a2593731777164fc9aee95121b68406128acc28e652ed4014eba
|
|
| MD5 |
b05ca256f4fca2ced934780917849238
|
|
| BLAKE2b-256 |
06aeb1da490e2db53f1b15fe30f0546692518448c370c24a50c5d7d94de53fbc
|