keybrd library is an open source library for creating custom-keyboard firmware.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

1234567891011121314151617181920212223242526
  1. #ifndef ROW_IOE_H
  2. #define ROW_IOE_H
  3. #include <Row.h>
  4. #include <Scanner_Port.h>
  5. #include <Debouncer_Samples.h>
  6. class PortWrite;
  7. class PortRead;
  8. /* Row_IOE is a row connected to an Input/Output Expander.
  9. Configuration and Instantiation instructions are in keybrd/src/Row_IOE.h
  10. */
  11. class Row_IOE : public Row
  12. {
  13. private:
  14. Scanner_Port scanner;
  15. Debouncer_Samples debouncer;
  16. const uint8_t readPinCount; //number of read pins
  17. public:
  18. Row_IOE(PortWrite& refPortWrite, const uint8_t strobePin,
  19. PortRead& refPortRead, const uint8_t readPinCount, Key *const ptrsKeys[])
  20. : Row(ptrsKeys), scanner(refPortWrite, strobePin, refPortRead),
  21. readPinCount(readPinCount) { }
  22. void process();
  23. };
  24. #endif