keybrd library is an open source library for creating custom-keyboard firmware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

DebouncerInterface.h 318B

1234567891011121314
  1. #ifndef DEBOUNCERINTERFACE_H
  2. #define DEBOUNCERINTERFACE_H
  3. #include "config_keybrd.h"
  4. /*
  5. debounce() takes rawSignal and returns debounced signal. Signals are bit paterns.
  6. */
  7. class DebouncerInterface
  8. {
  9. public:
  10. virtual read_pins_t debounce(const read_pins_t rawSignal, read_pins_t& debounced)=0;
  11. };
  12. #endif