cython_xinput
Installation
pip install cython-xinput
Example
from cython_xinput import XinputButtons, XinputGamepad
xg = XinputGamepad(0)
xg.configure_deadzone(
left_thumb=0.01,
right_thumb=0.01,
trigger=0.01,
)
xg.set_vibration(left=0.00, right=0.2)
while True:
if not xg.update():
continue
print(xg.left_thumbstick())
print(xg.right_trigger())
buttons = xg.buttons()
if XinputButtons.A in buttons:
print("A")
if XinputButtons.DPAD_UP in buttons:
print("DPAD_UP")
Metadata
Release files for cython-xinput 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cython_xinput-0.1.0.tar.gz | 5.9 kB | Without provenance | Details for cython_xinput-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 490.1 kB
Release files / cython_xinput-0.1.0.tar.gz
| Download URL | cython_xinput-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92dff70cb41e8d6744e0e7ab56e83fd202e3f05c15f569f923fc0d989fe1bf01
|
|
BLAKE2b-256 checksum How to use checksums |
23befc9d6a56a60f89b9a39f4d70c5beb3a8a75aae4f323d606a380b12f90772
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp312-cp312-win_amd64.whl
| Download URL | cython_xinput-0.1.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 42.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4cdf4061c29b7005a7f7b74e4e28ea0b208aca9a7285d0b6275e4d394a3466ef
|
|
BLAKE2b-256 checksum How to use checksums |
5d2ee85571e3c7530bf9003b83b2885ae9cf774f692655158bc32540f6fd1467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp312-cp312-win32.whl
| Download URL | cython_xinput-0.1.0-cp312-cp312-win32.whl |
|---|---|
| Size | 37.6 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
82aaef0c92960e36ba19be8c58a876768e0b5c50bb322f6929d204eba13367be
|
|
BLAKE2b-256 checksum How to use checksums |
f3c800859ad7a391a0d261b06c7f333457d48eaba4313dffbde04d655d25dd8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp311-cp311-win_amd64.whl
| Download URL | cython_xinput-0.1.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 42.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
92b320eaafc12d768291957764479ee2594a443a870512e987449af300b1e19b
|
|
BLAKE2b-256 checksum How to use checksums |
10ec655937e34da8662dd4a82de96b8b91ee23b00f10423f3c3976a1fc069633
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp311-cp311-win32.whl
| Download URL | cython_xinput-0.1.0-cp311-cp311-win32.whl |
|---|---|
| Size | 37.4 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
2236c3d62b754fd86eed071c3de7da6e256dbc903bd7415d873c488cd74a1926
|
|
BLAKE2b-256 checksum How to use checksums |
22be2fcf0a005f3b403d59afaa55f0bb8f1773f9a3e530c98abcf47c383699ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp310-cp310-win_amd64.whl
| Download URL | cython_xinput-0.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 42.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ff639c7b8df9ab179bddb673d391675cfe3a2bfac61d9dcd767cf5f91d3a3b6b
|
|
BLAKE2b-256 checksum How to use checksums |
54339b066a8117d236d73e487d3b8939219806f4a2200409a940b8b1558a2bab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp310-cp310-win32.whl
| Download URL | cython_xinput-0.1.0-cp310-cp310-win32.whl |
|---|---|
| Size | 37.4 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
874624f5816ab423c0b6f3306b60c9e9c673f3ccd7c35fd23ce49952e5a62172
|
|
BLAKE2b-256 checksum How to use checksums |
111dbabf0fd46068251062e2a0a31dcfe121fd325d7d87cd0d332198761e5dc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp39-cp39-win_amd64.whl
| Download URL | cython_xinput-0.1.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 43.0 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9a8451c3d434b6f0c39a7ee4c83e304ad45641426b571b4db3cf13d9169e536a
|
|
BLAKE2b-256 checksum How to use checksums |
3d242e44c298cbcc22d0eea7949dad2efdfa280e74c98f5d39bec82391cdc6f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp39-cp39-win32.whl
| Download URL | cython_xinput-0.1.0-cp39-cp39-win32.whl |
|---|---|
| Size | 38.0 kB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
8612e162a178bf84adb1704846a3b5e426db2ac3aeccd242277c133a9b15a5ff
|
|
BLAKE2b-256 checksum How to use checksums |
b85c836b0636be434e832462d11a27a9df6b4e8ce5b2fac1850d259a4cd4b3b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp38-cp38-win_amd64.whl
| Download URL | cython_xinput-0.1.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 43.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2200f0f52c89999af2817b9eed8a4ff0225baac6f37b6893b89dc1385f72e7c2
|
|
BLAKE2b-256 checksum How to use checksums |
fd5fb5369fa464139e32eb2a0d18fddb82f45709b595942effdd6b7da52650c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp38-cp38-win32.whl
| Download URL | cython_xinput-0.1.0-cp38-cp38-win32.whl |
|---|---|
| Size | 38.0 kB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
f2d9dc5c9257c3741ea34eeea51451acdf9da9c09a008919ccfe9178403e54fc
|
|
BLAKE2b-256 checksum How to use checksums |
ce18fd39b2b1d6021d5498fd26ff5db7b4a4ceafc19c236f6397692c5b38eb55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp37-cp37m-win_amd64.whl
| Download URL | cython_xinput-0.1.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 44.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
da665f0596f13d9ca97cce6f48dd621791456dd34c838ffb02b4e3808a771fda
|
|
BLAKE2b-256 checksum How to use checksums |
60b72f9b3fb38d219335b786d8111aee5649385eea03174ffb9e8729e08cc5a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cython_xinput-0.1.0-cp37-cp37m-win32.whl
| Download URL | cython_xinput-0.1.0-cp37-cp37m-win32.whl |
|---|---|
| Size | 38.5 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
e080b7d11009150e8792f51d85bcba2a1207e8e161b4d9627456a72ca685ba28
|
|
BLAKE2b-256 checksum How to use checksums |
1068f37812a122d97358850e8a4ff8357663b5c79117ea38359558e318d1718f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for cython-xinput 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.