diff --git a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs index 76dce42..87dc4d1 100644 --- a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs @@ -814,7 +814,10 @@ protected unsafe void ReadInput() // Capture Button //cState.PS = (tempByte & 0x20) != 0; - cState.Capture = (tempByte & 0x20) != 0; + //cState.Capture = (tempByte & 0x20) != 0; + cState.TouchButton = (tempByte & 0x20) != 0; + + cState.OutputTouchButton = cState.TouchButton; tempByte = inputReportBuffer[5]; cState.DpadUp = (tempByte & 0x02) != 0; diff --git a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs index 7782942..74dc1c1 100644 --- a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs @@ -512,10 +512,13 @@ protected unsafe void ReadInput() cState.Share = (tempByte & 0x01) != 0; cState.Options = (tempByte & 0x02) != 0; cState.PS = (tempByte & 0x10) != 0; - cState.Capture = (tempByte & 0x20) != 0; + //cState.Capture = (tempByte & 0x20) != 0; + cState.TouchButton = (tempByte & 0x20) != 0; cState.L3 = (tempByte & 0x08) != 0; cState.R3 = (tempByte & 0x04) != 0; + cState.OutputTouchButton = cState.TouchButton; + tempByte = inputReportBuffer[5]; cState.DpadUp = (tempByte & 0x02) != 0; cState.DpadDown = (tempByte & 0x01) != 0;