SimpadLib v2.1
Example Usages
from simpad.lib 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 simpad.lib 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.1.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.1.tar.gz.
File metadata
- Download URL: simpadlib-2.0.1.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 |
c2c59b0032cd6197275ab013f62db51648a1740233b169405563bb6f79eb73cb
|
|
| MD5 |
66e52c7c0bf7eb4fb0e9baa5ad5978bb
|
|
| BLAKE2b-256 |
f3e94419ea3a2ee0f112d0da234029db9436da844bc22ff7382886a4f9a4e39b
|
File details
Details for the file simpadlib-2.0.1-py3-none-any.whl.
File metadata
- Download URL: simpadlib-2.0.1-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 |
5fe770ff8baae8a4d3f1e2e3fa75b5a7525feabd2bbf046b797ff241e3752e45
|
|
| MD5 |
0700deda9bc811b8f08b53e374a4f686
|
|
| BLAKE2b-256 |
320bdbdd5cb34a3727084be5f04cf70eb0114bfadd7cb72d171de8e30288da69
|