Class DebouncedDigitalInputDevice

All Implemented Interfaces:
DeviceInterface, DigitalInputDeviceInterface, DeviceEventConsumer<DigitalInputEvent>, AutoCloseable, Consumer<DigitalInputEvent>

public class DebouncedDigitalInputDevice
extends DigitalInputDevice
Digital input device with debounce logic. The goal of this debounce implementation is to only detect level changes that are held for the specified debounce time. All other level changes that are shorter than that duration will be ignored.