Update Azoteq_TP.ino

This commit is contained in:
Frank Adams 2021-10-21 16:23:05 -07:00 committed by GitHub
parent 51fe93f7bd
commit 279f1b8161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {