Skip to main content

TAP_TIME

Constant TAP_TIME 

Source
pub const TAP_TIME: f32 = 0.25;
Expand description

The longest a press can last and still be a tap, in seconds.

Below HOLD_TIME, so that with both patterns at their defaults a press between the two is neither: the player who let go at the last moment gets nothing rather than whichever of the two the frame rate picked.