abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorJules Aguillon2025-01-18 11:41:11 +0100
committerJules Aguillon2025-01-18 11:45:13 +0100
commitb93bc9024205561f4e4021ec66a2526ed17ad8cd (patch)
treed5e1e101e41b1ed4eb6a21633eb6e474c0d759e7
parentc6908ec846875907786393656d3a92e46e27b994 (diff)
downloadunexpected-keyboard-b93bc9024205561f4e4021ec66a2526ed17ad8cd.tar.gz
unexpected-keyboard-b93bc9024205561f4e4021ec66a2526ed17ad8cd.zip
Vibrate when a circle gesture ends
This is especially useful when discovering the circle gestures and to feel when a gesture has been entered by accident.
-rw-r--r--srcs/juloo.keyboard2/Pointers.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Pointers.java b/srcs/juloo.keyboard2/Pointers.java
index bc24443..12482a5 100644
--- a/srcs/juloo.keyboard2/Pointers.java
+++ b/srcs/juloo.keyboard2/Pointers.java
@@ -312,6 +312,7 @@ public final class Pointers implements Handler.Callback
ptr.value = apply_gesture(ptr, ptr.gesture.get_gesture());
restartLongPress(ptr);
ptr.flags = 0; // Special behaviors are ignored during a gesture.
+ _handler.onPointerFlagsChanged(true); // Vibrate
}
}
}