From 8777ca39431c5778d218589a61ef702a0470ea9d Mon Sep 17 00:00:00 2001 From: Jordan <88977034+ja-simpson@users.noreply.github.com> Date: Sun, 7 Jun 2026 14:09:28 +0200 Subject: [PATCH 1/4] change capture button to TouchButton --- DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs index 7782942..b8dd569 100644 --- a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs @@ -512,7 +512,8 @@ 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; From 3cea186f323e864179ad433153df552b52f27e67 Mon Sep 17 00:00:00 2001 From: Jordan <88977034+ja-simpson@users.noreply.github.com> Date: Sun, 7 Jun 2026 14:12:32 +0200 Subject: [PATCH 2/4] change capture button to TouchButton --- DS4Windows/DS4Library/InputDevices/JoyConDevice.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs index 76dce42..2ed9b47 100644 --- a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs @@ -814,7 +814,8 @@ 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; tempByte = inputReportBuffer[5]; cState.DpadUp = (tempByte & 0x02) != 0; From 7e8bde0e17ef27e501d453f2331b49070480d151 Mon Sep 17 00:00:00 2001 From: Jordan <88977034+ja-simpson@users.noreply.github.com> Date: Sun, 7 Jun 2026 15:42:04 +0200 Subject: [PATCH 3/4] add OutputTouchButton set --- DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs index b8dd569..74dc1c1 100644 --- a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs @@ -517,6 +517,8 @@ protected unsafe void ReadInput() 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; From e4e44af7a80b9fd0eb108dca2082cc7ee2981657 Mon Sep 17 00:00:00 2001 From: Jordan <88977034+ja-simpson@users.noreply.github.com> Date: Sun, 7 Jun 2026 15:42:41 +0200 Subject: [PATCH 4/4] add OutputTouchButton set --- DS4Windows/DS4Library/InputDevices/JoyConDevice.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs index 2ed9b47..87dc4d1 100644 --- a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs @@ -817,6 +817,8 @@ protected unsafe void ReadInput() //cState.Capture = (tempByte & 0x20) != 0; cState.TouchButton = (tempByte & 0x20) != 0; + cState.OutputTouchButton = cState.TouchButton; + tempByte = inputReportBuffer[5]; cState.DpadUp = (tempByte & 0x02) != 0; cState.DpadDown = (tempByte & 0x01) != 0;