Skip to main content

HOLD_TIME

Constant HOLD_TIME 

Source
pub const HOLD_TIME: f32 = 0.4;
Expand description

How long a press lasts before a hold fires, in seconds.

The Hold(400, …) the input plan’s binding sketch used as its example: long enough that a deliberate tap never becomes a hold.