Updated. /JL

This commit is contained in:
2025-03-21 19:31:21 +01:00
parent 42df47ae26
commit 876962bfa8
2 changed files with 11 additions and 0 deletions

View File

@@ -15,4 +15,6 @@ dualsense.light.setPlayerID(PlayerID.PLAYER_1)
# this is not needed in normal usage
time.sleep(2)
# terminate the thread for message and close the device
dualsense.light.setColorI(0, 0, 255)
dualsense.close()

9
examples/sounds.py Normal file
View File

@@ -0,0 +1,9 @@
from pydualsense import *
# get dualsense instance
dualsense = pydualsense()
dualsense.init()
print('Trigger Sound demo started')
dualsense.close()