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.

ScannerInterface.h 284B

1234567891011121314
  1. #ifndef SCANNERINTERFACE_H
  2. #define SCANNERINTERFACE_H
  3. #include "config_keybrd.h"
  4. /* scan() retuns state of readPins.
  5. */
  6. class ScannerInterface
  7. {
  8. public:
  9. virtual void init(const uint8_t strobePin)=0;
  10. virtual read_pins_t scan(const uint8_t strobePin)=0;
  11. };
  12. #endif