SimpadLib v2.2
Example Usages
from simpadlib import simpad
sim = simpad.Controller() # Initialize the SimPad class
sim.changeRGB("#FF000", keys=simpad.Keys.both) # Change all keys to color "#FF0000"
sim.changeRGB("#00FF00", keys=simpad.keys.left) # Change the left key's color to "#00FF00"
from simpadlib import simpad
sim = simpad.Controller() # Initialize the SimPad class
sim.changeRGB("#FF000", keys=simpad.Keys.both, brightness="25%") # Change all keys to color "#FF0000", but only with 25% brightness
sim.changeRGB("#00FF00", keys=simpad.keys.left, brightness="50%") # Change the left key's color to "#00FF00", but only with 50% brightness
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simpadlib-2.0.2.tar.gz
(3.9 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 simpadlib-2.0.2.tar.gz.
File metadata
- Download URL: simpadlib-2.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e93780dd7e1f02c7b2ba5c7b6b8fd251ee1f35cf6f081215cda04e5995b61ed
|
|
| MD5 |
7cbc894f334ddb2716bf5684dcfac744
|
|
| BLAKE2b-256 |
670e7455fd8e1ff137513bdb490a72652aea876da99c55c706f5c47c00e7ade5
|
File details
Details for the file simpadlib-2.0.2-py3-none-any.whl.
File metadata
- Download URL: simpadlib-2.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45afab41d8f04a27aef51fa78636adab8cd2b5270d159f125b798b5dd279ff22
|
|
| MD5 |
0d228af43d2d5c2c80c7c6a14e6bf4fa
|
|
| BLAKE2b-256 |
43a59e17b4ea5d60d03b82b31c275724d3dac40d72731dd43a765e8c7a15fd4b
|