resetDebounce

open fun resetDebounce(@NonNull button: Controls)

Call to reset the initial debounce state of getDebounced, allowing further calls to this method to capture the initial state of the button again. For implementations that do not call this method, the getDebounced method will operate as a simple rising edge detector.

Parameters

button

The button to reset the debounce state of