fixed structure of the package
added background send thread
added close function for terminating the background thread
This commit is contained in:
Florian Kaiser
2020-11-29 12:49:16 +01:00
parent 78a49d0ee3
commit a55fe59d2b
6 changed files with 95 additions and 79 deletions

View File

@@ -1,2 +1,22 @@
# pydualsense
controll your dualsense through python
control your dualsense through python. using the hid library this module implements the sending report for controlling you new PS5 controller. It creates a background thread to constantly update the controller.
# dependecies
- hid >= 1.0.4
# usage
```python
from pydualsense import pydualsense
ds = pydualsense() # open controller
ds.setColor(255,0,0) # set touchpad color to red
ds.close() # closing the controller
```
# Coming soon
- reading the states of the controller to enable a fully compatibility with python
- add documentation