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

1234567891011121314151617181920212223242526272829
  1. #ifndef ROWIOE_H
  2. #define ROWIOE_H
  3. #include <RowBase.h>
  4. #include <RowScanner_PinsBitwise.h>
  5. #include <Debouncer_4Samples.h>
  6. /*
  7. Simlar to Row but using RowScanner_PinsBitwise.
  8. Configuration
  9. -------------
  10. Instantiation
  11. -------------
  12. */
  13. class Row_IOE : public RowBase
  14. {
  15. private:
  16. RowScanner_PinsBitwise scanner;
  17. Debouncer_4Samples debouncer;
  18. public:
  19. Row_IOE( RowPort& refRowPort, const uint8_t strobePin,
  20. ColPort& refColPort, Key *const ptrsKeys[])
  21. : RowBase(ptrsKeys), scanner(refRowPort, strobePin, refColPort) { }
  22. uint8_t scan(uint16_t& rowEnd);
  23. uint8_t debounce(const uint8_t rowState, uint8_t& debounced);
  24. };
  25. #endif