Skip to main content

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"))

Metadata

Release files for ardor-silverstone 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ardor-silverstone 0.1.1
File Size Uploaded
ardor_silverstone-0.1.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ardor-silverstone 0.1.1
File Interpreter ABI Platform
ardor_silverstone-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / ardor_silverstone-0.1.1.tar.gz

Download URL ardor_silverstone-0.1.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7776d5b00166d84a5b2ce2ee4477c69365b30ce872457f413f4a83775eb4a35b
BLAKE2b-256 checksum
How to use checksums
cdae1f66335bcc930dab7b6bf0a5f6c367fff1ddc40d50769414f30094cbc5a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Windows/11

Release files / ardor_silverstone-0.1.1-py3-none-any.whl

Download URL ardor_silverstone-0.1.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d24ab5b6a0c7633dcf4c7a8c31387df843d72e69fcdbce44947c93b741b7945c
BLAKE2b-256 checksum
How to use checksums
a87094b4e5aa286ce39b7e6fd89dcc916bd72027697acbfcce05a1c43b1fcb30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Windows/11

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page