pub const GESTURE_SWIPE_DEADZONE: i32 = 40;
Maximum cross-axis travel allowed at the threshold, so only a reasonably straight swipe commits. Grows with the dominant axis (max(deadzone, 35%)).
max(deadzone, 35%)