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.

123456789101112131415161718192021
  1. #ifndef DEBOUNCER_NOT_H
  2. #define DEBOUNCER_NOT_H
  3. #include <Arduino.h>
  4. #include <inttypes.h>
  5. #include "config_keybrd.h"
  6. #include "DebouncerInterface.h"
  7. /* Debouncer_Not does not debounce.
  8. debounce() returns raw signal, no debouncing is performed.
  9. A keyboard does not need a debouncing if one of the following is true:
  10. * keypad has hardware debouncers
  11. * poling I2C makes scan rate slower than debounce time
  12. * optic switches are used (because they don't bounce)
  13. */
  14. class Debouncer_Not : public DebouncerInterface
  15. {
  16. public:
  17. virtual read_pins_t debounce(const read_pins_t rawSignal, read_pins_t& debounced);
  18. };
  19. #endif