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.

Row.h 675B

123456789101112131415161718192021222324252627282930
  1. #ifndef ROW_H
  2. #define ROW_H
  3. #include <RowBase.h>
  4. //#include <RowScanner_BitManipulation.h>
  5. #include <RowScanner_Arduino.h>
  6. #include <Debouncer_4Samples.h>
  7. /*
  8. Configuration
  9. -------------
  10. define and initilize DELAY_MICROSECONDS in sketch.
  11. const unsigned int RowBase::DELAY_MICROSECONDS = 0;
  12. Instantiation
  13. -------------
  14. todo - see Row_DH
  15. */
  16. class Row : public RowBase
  17. {
  18. private:
  19. //RowScanner_BitManipulation scanner;
  20. RowScanner_Arduino scanner;
  21. Debouncer_4Samples debouncer;
  22. public:
  23. //Row constructor was like Row_DH constructor
  24. Row(Key *const ptrsKeys[]) : RowBase(ptrsKeys) { }
  25. virtual void process();
  26. };
  27. #endif