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.
123456789101112131415161718 |
- #ifndef ROWSCANNERINTERFACE_H
- #define ROWSCANNERINTERFACE_H
-
- /* RowScannerInterface is an interface class.
- Sets rowEnd and returns rowState.
- rowEnd is bitwise, where 1 bit corrsiponds to place immediatly after last key of row.
- rowEnd and rowMask are larger type than portMask so that they can not overflow.
- */
- #include <Arduino.h>
- #include <inttypes.h>
-
- class RowScannerInterface
- {
- public:
- virtual uint8_t scan(uint16_t& rowEnd, const bool activeHigh)=0;
- };
- #endif
|