Simple Python SDK for the SteelSeries GameSense API
Project description
steelseries
A simple wrapper for the SteelSeries GameSense API in Python.
Features
- Register games and events with SteelSeries Engine
- Send live event data (0–100) to control RGB devices
- Built-in auto-sanitization of names
Example
# import
import steelseries as ss
# register game
ss.register_game("TESTING", "NEO", "TESTING DEMO", 1)
# register event
ss.register_event("TESTING", "HEALTH")
# animate the lighting - bounce in from 0 to 100 in 1 second
ss.send_event_data_interpolated("TESTING", "HEALTH", 0, 100, 1, 0.01, "bounce_in", True)
# send in background to not halt app - will flicker if more than 1 command is run at the same time
ss.send_event_data_interpolated_async("TESTING", "HEALTH", 100, 50, 0.5, 0.01, "ease-in", True)
ss.send_event_data_interpolated("TESTING", "HEALTH", 100, 0, 0.5, 0.01, "ease-in", True)
# send single value, 50%
ss.send_event_data("TESTING", "HEALTH", 50, True) # wait until done to put 50%
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
steelseries-0.3.0.tar.gz
(8.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 steelseries-0.3.0.tar.gz.
File metadata
- Download URL: steelseries-0.3.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
105518c7fe6db6692426d0392e5f05a5d7b0606b9ead23bcceb19affe3a963b8
|
|
| MD5 |
8d8c1adf2278fabfa2b801857807a70f
|
|
| BLAKE2b-256 |
8e4c497228e5f10f55d30b0fde7f3270f717d75f399dfbfa074b36170f8bfa80
|
File details
Details for the file steelseries-0.3.0-py3-none-any.whl.
File metadata
- Download URL: steelseries-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4002823a302aee49075cab9acc808b50034f8636439addf8d2945dc64678023f
|
|
| MD5 |
84493d74cbff7ebce1bdca6e0df0df11
|
|
| BLAKE2b-256 |
8b42e4e496f3b99519b1106be380fa8b76da7597d7a4b6c4e131e178ef077bbf
|