Updated. /JL
This commit is contained in:
@@ -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
9
examples/sounds.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pydualsense import *
|
||||
|
||||
# get dualsense instance
|
||||
dualsense = pydualsense()
|
||||
dualsense.init()
|
||||
|
||||
print('Trigger Sound demo started')
|
||||
|
||||
dualsense.close()
|
Reference in New Issue
Block a user