Ardor Silverstone PC racing wheel library
Project description
Simple adapter for Ardor Silverstone racing wheel
Provides simple abstraction layer on top of hid / controller buttons for making some callbacks / simple applications
from ardor_silverstone.controller import ControllerAdapter
controller = ControllerAdapter(900) # 900 -> wheel steering angle
# Will block running loop, and display information like gear / wheel
controller.read_blocking_display()
# Generator for working with events in loop
for _ in controller.read_blocking_generator():
...
# Will launch a thread, so be careful!
controller.read_nonblocking(callback=lambda _: print("callback"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ardor_silverstone-0.1.0.tar.gz
.
File metadata
- Download URL: ardor_silverstone-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1638116c792f588d07ac403d1b623b68a951e6e8a8f62dec5df9997a73a1ad3 |
|
MD5 | d3b254684f7ffa2e48e4623149f11d14 |
|
BLAKE2b-256 | 81faeac10c97edbcac1f7543c432d45c836d5e76960c724a5de6ec0672781b8f |
File details
Details for the file ardor_silverstone-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ardor_silverstone-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cc7111c79d0e21ee6ffa39956fcf58d47365bf5e5e325d2297bdd8d0972154d |
|
MD5 | c3769fafcc13c9745014d1c7dc6caec1 |
|
BLAKE2b-256 | a28f3ea1772c2f59156022c633a351b5d7f78dd23f3d7cbe86ebdff2e26d861b |