Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
keybrd/src/DebouncerInterface.h

15 lines
318 B
C
Raw Normal View History

#ifndef DEBOUNCERINTERFACE_H
#define DEBOUNCERINTERFACE_H
#include <config_keybrd.h>
2016-09-28 20:37:40 +00:00
/*
debounce() takes rawSignal and returns debounced signal. Signals are bit paterns.
*/
class DebouncerInterface
{
public:
virtual read_pins_t debounce(const read_pins_t rawSignal, read_pins_t& debounced)=0;
};
#endif