keybrd library is an open source library for creating custom-keyboard firmware.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Dieses Repo ist archiviert. Du kannst Dateien sehen und es klonen, kannst aber nicht pushen oder Issues/Pull-Requests öffnen.

RowScannerInterface.h 455B

123456789101112131415161718
  1. #ifndef ROWSCANNERINTERFACE_H
  2. #define ROWSCANNERINTERFACE_H
  3. /* RowScannerInterface is an interface class.
  4. Sets rowEnd and returns rowState.
  5. rowEnd is bitwise, where 1 bit corrsiponds to place immediatly after last key of row.
  6. rowEnd and rowMask are larger type than portMask so that they can not overflow.
  7. */
  8. #include <Arduino.h>
  9. #include <inttypes.h>
  10. class RowScannerInterface
  11. {
  12. public:
  13. virtual uint8_t scan(uint16_t& rowEnd)=0;
  14. };
  15. #endif