Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
876962bfa8 | |||
|
42df47ae26 |
@@ -15,4 +15,6 @@ dualsense.light.setPlayerID(PlayerID.PLAYER_1)
|
|||||||
# this is not needed in normal usage
|
# this is not needed in normal usage
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
# terminate the thread for message and close the device
|
# terminate the thread for message and close the device
|
||||||
|
dualsense.light.setColorI(0, 0, 255)
|
||||||
|
|
||||||
dualsense.close()
|
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