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 316B

123456789101112
  1. #ifndef DEBOUNCERINTERFACE_H
  2. #define DEBOUNCERINTERFACE_H
  3. /* DebouncerInterface is an interface class.
  4. debounce() takes rawSignal and returns debounced signal. Signals are bitwise.
  5. */
  6. class DebouncerInterface
  7. {
  8. public:
  9. virtual uint8_t debounce(const uint8_t rawSignal, uint8_t& debounced)=0;
  10. };
  11. #endif