mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-06-22 02:32:08 +02:00
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:
parent
c6908ec846
commit
b93bc90242
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user