15 lines
356 B
C++
15 lines
356 B
C++
#ifndef DEBOUNCERINTERFACE_H
|
|
#define DEBOUNCERINTERFACE_H
|
|
|
|
#include <config_keybrd.h>
|
|
|
|
/* DebouncerInterface is an interface class.
|
|
debounce() takes rawSignal and returns debounced signal. Signals are bitwise.
|
|
*/
|
|
class DebouncerInterface
|
|
{
|
|
public:
|
|
virtual read_pins_t debounce(const read_pins_t rawSignal, read_pins_t& debounced)=0;
|
|
};
|
|
#endif
|