From 7fd0a419fbf11872bf96c36d354e30a805417be9 Mon Sep 17 00:00:00 2001 From: Tim Schneeberger Date: Sat, 3 Feb 2024 11:37:58 +0000 Subject: [PATCH] Potentially fix inverted touchpad lock issue for Buds2 --- GalaxyBudsClient/Message/Encoder/LockTouchpadEncoder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GalaxyBudsClient/Message/Encoder/LockTouchpadEncoder.cs b/GalaxyBudsClient/Message/Encoder/LockTouchpadEncoder.cs index ad935bff4..d86c7fe6c 100644 --- a/GalaxyBudsClient/Message/Encoder/LockTouchpadEncoder.cs +++ b/GalaxyBudsClient/Message/Encoder/LockTouchpadEncoder.cs @@ -9,7 +9,7 @@ public static SPPMessage Build(bool lockAll, bool tapOn, bool doubleTapOn, bool MemoryStream stream = new MemoryStream(); BinaryWriter writer = new BinaryWriter(stream); - writer.Write(lockAll); + writer.Write(!lockAll); writer.Write(tapOn); writer.Write(doubleTapOn); writer.Write(tripleTapOn); @@ -21,4 +21,4 @@ public static SPPMessage Build(bool lockAll, bool tapOn, bool doubleTapOn, bool return new SPPMessage(SPPMessage.MessageIds.LOCK_TOUCHPAD, SPPMessage.MsgType.Request, data); } } -} \ No newline at end of file +}