Update 0.5.2

- Added Microphone mute
- changed MicrphoneLED function to boolean instead of int parameter
- using diffrent hidapi library for interacting with c library to get length of reports from device for bt support later
This commit is contained in:
Florian Kaiser
2021-03-07 21:21:01 +01:00
parent 98b13798cd
commit b3ff9fd375
6 changed files with 40 additions and 14 deletions

View File

@@ -5,8 +5,8 @@ dualsense = pydualsense()
dualsense.init()
# set color around touchpad to red
dualsense.light.setColorI(255,0,0)
# enable microphone indicator
dualsense.audio.setMicrophoneLED(1)
# mute microphone
dualsense.audio.setMicrophoneMute(True)
# set all player 1 indicator on
dualsense.light.setPlayerID(PlayerID.player1)
# sleep a little to see the result on the controller