From 279f1b8161897eb675552150d4928f6ff8b0fe22 Mon Sep 17 00:00:00 2001 From: Frank Adams <33405607+thedalles77@users.noreply.github.com> Date: Thu, 21 Oct 2021 16:23:05 -0700 Subject: [PATCH] Update Azoteq_TP.ino --- Example_Touchpads/Azoteq_TP.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Example_Touchpads/Azoteq_TP.ino b/Example_Touchpads/Azoteq_TP.ino index 454a547..05f3dd3 100644 --- a/Example_Touchpads/Azoteq_TP.ino +++ b/Example_Touchpads/Azoteq_TP.ino @@ -101,7 +101,7 @@ void loop() { xrel_low = 0; // zero out the registers (just in case) yrel_low = 0; } - if (gesture0 && 0x01) { + if ((gesture0 & 0x01) == 0x01) { // test bit 0 left_button = 1; } else {