Name | ardor-silverstone JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | Ardor Silverstone PC racing wheel library |
upload_time | 2024-04-23 15:01:00 |
maintainer | None |
docs_url | None |
author | Kirill Zhosul |
requires_python | <4.0,>=3.12 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
### Simple _adapter_ for **Ardor Silverstone** racing wheel
Provides simple abstraction layer on top of hid / controller buttons for making some callbacks / simple applications
```python
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"))
```
Raw data
{
"_id": null,
"home_page": null,
"name": "ardor-silverstone",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.12",
"maintainer_email": null,
"keywords": null,
"author": "Kirill Zhosul",
"author_email": "kirillzhosul@yandex.com",
"download_url": "https://files.pythonhosted.org/packages/cd/ae/1f66335bcc930dab7b6bf0a5f6c367fff1ddc40d50769414f30094cbc5a2/ardor_silverstone-0.1.1.tar.gz",
"platform": null,
"description": "### Simple _adapter_ for **Ardor Silverstone** racing wheel\n\nProvides simple abstraction layer on top of hid / controller buttons for making some callbacks / simple applications\n\n```python\nfrom ardor_silverstone.controller import ControllerAdapter\n\ncontroller = ControllerAdapter(900) # 900 -> wheel steering angle\n\n# Will block running loop, and display information like gear / wheel\ncontroller.read_blocking_display()\n\n# Generator for working with events in loop\nfor _ in controller.read_blocking_generator():\n ...\n\n# Will launch a thread, so be careful!\ncontroller.read_nonblocking(callback=lambda _: print(\"callback\"))\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Ardor Silverstone PC racing wheel library",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a87094b4e5aa286ce39b7e6fd89dcc916bd72027697acbfcce05a1c43b1fcb30",
"md5": "0e304272abeca66630729d861a8b6fb8",
"sha256": "d24ab5b6a0c7633dcf4c7a8c31387df843d72e69fcdbce44947c93b741b7945c"
},
"downloads": -1,
"filename": "ardor_silverstone-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0e304272abeca66630729d861a8b6fb8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 3987,
"upload_time": "2024-04-23T15:00:59",
"upload_time_iso_8601": "2024-04-23T15:00:59.178042Z",
"url": "https://files.pythonhosted.org/packages/a8/70/94b4e5aa286ce39b7e6fd89dcc916bd72027697acbfcce05a1c43b1fcb30/ardor_silverstone-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cdae1f66335bcc930dab7b6bf0a5f6c367fff1ddc40d50769414f30094cbc5a2",
"md5": "93f1aacb4fdea834b1a5442166427830",
"sha256": "7776d5b00166d84a5b2ce2ee4477c69365b30ce872457f413f4a83775eb4a35b"
},
"downloads": -1,
"filename": "ardor_silverstone-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "93f1aacb4fdea834b1a5442166427830",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 2757,
"upload_time": "2024-04-23T15:01:00",
"upload_time_iso_8601": "2024-04-23T15:01:00.359750Z",
"url": "https://files.pythonhosted.org/packages/cd/ae/1f66335bcc930dab7b6bf0a5f6c367fff1ddc40d50769414f30094cbc5a2/ardor_silverstone-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-23 15:01:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ardor-silverstone"
}