ButtonHandler

constructor(doubleTapThreshold: Double = 300.0, debounceThreshold: Double = 50.0)

Parameters

doubleTapThreshold

the maximum time (ms) between two presses to count as a double tap

debounceThreshold

the minimum time (ms) between state changes to prevent bouncing