keybrd library is an open source library for creating custom-keyboard firmware.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Repozitorijs ir arhivēts. Tam var aplūkot failus un to var klonēt, bet nevar iesūtīt jaunas izmaiņas, kā arī atvērt jaunas problēmas/izmaiņu pieprasījumus.

Row_IOE.cpp 506B

12345678910111213
  1. #include "Row_IOE.h"
  2. void Row_IOE::process()
  3. {
  4. //these variables are all bitwise, one bit per key
  5. read_pins_t rowState; //1 means pressed, 0 means released
  6. read_pins_mask_t rowEnd; //1 bit marks positioned after last key of row
  7. read_pins_t debouncedChanged; //1 means debounced changed
  8. rowState = scanner.scan(rowEnd);
  9. debouncedChanged = debouncer.debounce(rowState, debounced);
  10. pressRelease(rowEnd, debouncedChanged);
  11. }