You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comprehensive solution for handling touch and gesture inputs in Godot Engine using C#. The `InputEventGestureHandler` class provides high-level gesture detection and emits events for various touch gestures such as taps, swipes, pinches, twists, and more.
4
6
5
7
## Table of Contents
@@ -87,11 +89,29 @@ The `InputEventGestureHandler` emits the following C# events:
87
89
The `InputEventGestureHandler` includes configurable constants to adjust gesture detection sensitivity and thresholds:
88
90
89
91
```csharp
92
+
privateconstboolDEFAULT_BINDINGS=true;
93
+
privateconstboolDEBUG=false;
94
+
95
+
// Time threshold to consider a drag gesture.
96
+
privateconstfloatDRAG_STARTUP_TIME=0.02f;
97
+
98
+
// Finger size used to define thresholds in gesture calculations.
99
+
privateconstfloatFINGER_SIZE=100.0f;
100
+
101
+
// Time threshold to detect multi-finger release gestures.
0 commit comments