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.
This commit is contained in:
Jules Aguillon 2025-01-18 11:41:11 +01:00
parent c6908ec846
commit b93bc90242

View File

@ -312,6 +312,7 @@ public final class Pointers implements Handler.Callback
ptr.value = apply_gesture(ptr, ptr.gesture.get_gesture()); ptr.value = apply_gesture(ptr, ptr.gesture.get_gesture());
restartLongPress(ptr); restartLongPress(ptr);
ptr.flags = 0; // Special behaviors are ignored during a gesture. ptr.flags = 0; // Special behaviors are ignored during a gesture.
_handler.onPointerFlagsChanged(true); // Vibrate
} }
} }
} }