diff --git a/examples/leds.py b/examples/leds.py index b05d42d..0a3597d 100644 --- a/examples/leds.py +++ b/examples/leds.py @@ -8,9 +8,9 @@ dualsense.light.setColorI(255,0,0) # mute microphone dualsense.audio.setMicrophoneState(True) # set all player 1 indicator on -dualsense.light.setPlayerID(PlayerID.player1) +dualsense.light.setPlayerID(PlayerID.PLAYER_1) # sleep a little to see the result on the controller # this is not needed in normal usage import time; time.sleep(2) # terminate the thread for message and close the device -dualsense.close() \ No newline at end of file +dualsense.close()