Update doc-strings and examples

This commit is contained in:
Florian Kaiser
2022-08-14 22:51:02 +02:00
parent 79bf833c9a
commit e8cb5de594
3 changed files with 91 additions and 30 deletions

View File

@@ -16,7 +16,8 @@ dualsense.triggerR.setForce(0, 200)
dualsense.triggerR.setForce(1, 255)
dualsense.triggerR.setForce(2, 175)
import time; time.sleep(3)
# loop until r1 is pressed to feel effect
while not dualsense.state.R1:
...
# terminate the thread for message and close the device
dualsense.close()